(12.8ms) DROP TABLE "users"  (17.3ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) PG::UndefinedTable: ERROR: relation "prosperity_dashboard_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboard_gra... ^ : 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 = '"prosperity_dashboard_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.036985"], ["updated_at", "2014-11-19 22:52:13.052195"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.037136"], ["updated_at", "2014-11-19 22:52:13.056737"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.037179"], ["updated_at", "2014-11-19 22:52:13.058290"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.059109"], ["updated_at", "2014-11-19 22:52:13.059420"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:52:13.060512"], ["updated_at", "2014-11-19 22:52:13.060512"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:52:13.061709"], ["updated_at", "2014-11-19 22:52:13.061709"], ["value", 3]]  (0.3ms) COMMIT  (3.5ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.070327"], ["updated_at", "2014-11-19 22:52:13.070788"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.070405"], ["updated_at", "2014-11-19 22:52:13.071842"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.070443"], ["updated_at", "2014-11-19 22:52:13.072714"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.073368"], ["updated_at", "2014-11-19 22:52:13.073607"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:52:13.074455"], ["updated_at", "2014-11-19 22:52:13.074455"], ["value", 1]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:52:13.075376"], ["updated_at", "2014-11-19 22:52:13.075376"], ["value", 3]]  (0.2ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.080626"], ["updated_at", "2014-11-19 22:52:13.081093"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.080697"], ["updated_at", "2014-11-19 22:52:13.082093"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.080735"], ["updated_at", "2014-11-19 22:52:13.082961"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.083612"], ["updated_at", "2014-11-19 22:52:13.083878"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:52:13.084867"], ["updated_at", "2014-11-19 22:52:13.084867"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:52:13.085805"], ["updated_at", "2014-11-19 22:52:13.085805"], ["value", 3]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.089045"], ["updated_at", "2014-11-19 22:52:13.089528"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.089111"], ["updated_at", "2014-11-19 22:52:13.090574"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.089149"], ["updated_at", "2014-11-19 22:52:13.091497"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.092210"], ["updated_at", "2014-11-19 22:52:13.092529"]]  (0.2ms) COMMIT  (0.4ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.096218"], ["updated_at", "2014-11-19 22:52:13.096643"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.096305"], ["updated_at", "2014-11-19 22:52:13.097639"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.096344"], ["updated_at", "2014-11-19 22:52:13.098511"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.099174"], ["updated_at", "2014-11-19 22:52:13.099448"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.102954"], ["updated_at", "2014-11-19 22:52:13.103368"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.103020"], ["updated_at", "2014-11-19 22:52:13.104401"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.103057"], ["updated_at", "2014-11-19 22:52:13.105362"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.106054"], ["updated_at", "2014-11-19 22:52:13.106327"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.109970"], ["updated_at", "2014-11-19 22:52:13.110449"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.110032"], ["updated_at", "2014-11-19 22:52:13.111543"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.110072"], ["updated_at", "2014-11-19 22:52:13.112547"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.113312"], ["updated_at", "2014-11-19 22:52:13.113582"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.117130"], ["updated_at", "2014-11-19 22:52:13.117551"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.117192"], ["updated_at", "2014-11-19 22:52:13.118555"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.117230"], ["updated_at", "2014-11-19 22:52:13.119433"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.120100"], ["updated_at", "2014-11-19 22:52:13.120374"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.124239"], ["updated_at", "2014-11-19 22:52:13.124638"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.124299"], ["updated_at", "2014-11-19 22:52:13.125603"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.124338"], ["updated_at", "2014-11-19 22:52:13.126495"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.127213"], ["updated_at", "2014-11-19 22:52:13.127491"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.129697"], ["updated_at", "2014-11-19 22:52:13.130127"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.129765"], ["updated_at", "2014-11-19 22:52:13.131107"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.129805"], ["updated_at", "2014-11-19 22:52:13.132018"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.132735"], ["updated_at", "2014-11-19 22:52:13.133027"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.136696"], ["updated_at", "2014-11-19 22:52:13.137150"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.136766"], ["updated_at", "2014-11-19 22:52:13.138199"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.136805"], ["updated_at", "2014-11-19 22:52:13.139156"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.139931"], ["updated_at", "2014-11-19 22:52:13.140225"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.144073"], ["updated_at", "2014-11-19 22:52:13.144473"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.144136"], ["updated_at", "2014-11-19 22:52:13.145450"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.144175"], ["updated_at", "2014-11-19 22:52:13.146496"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.147212"], ["updated_at", "2014-11-19 22:52:13.147493"]]  (0.3ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.152274"], ["updated_at", "2014-11-19 22:52:13.152670"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.152339"], ["updated_at", "2014-11-19 22:52:13.153661"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.152377"], ["updated_at", "2014-11-19 22:52:13.154547"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.155351"], ["updated_at", "2014-11-19 22:52:13.155710"]]  (0.3ms) COMMIT  (0.6ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.159980"], ["updated_at", "2014-11-19 22:52:13.160399"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.160047"], ["updated_at", "2014-11-19 22:52:13.161361"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.160085"], ["updated_at", "2014-11-19 22:52:13.162259"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.163033"], ["updated_at", "2014-11-19 22:52:13.163305"]]  (0.2ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.169198"], ["updated_at", "2014-11-19 22:52:13.169691"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.169257"], ["updated_at", "2014-11-19 22:52:13.170887"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.169304"], ["updated_at", "2014-11-19 22:52:13.171852"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.172596"], ["updated_at", "2014-11-19 22:52:13.172849"]]  (0.3ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.177453"], ["updated_at", "2014-11-19 22:52:13.177862"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.177512"], ["updated_at", "2014-11-19 22:52:13.178929"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.177549"], ["updated_at", "2014-11-19 22:52:13.179910"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.180634"], ["updated_at", "2014-11-19 22:52:13.180910"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.184410"], ["updated_at", "2014-11-19 22:52:13.184833"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.184494"], ["updated_at", "2014-11-19 22:52:13.185867"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.184533"], ["updated_at", "2014-11-19 22:52:13.186728"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.187562"], ["updated_at", "2014-11-19 22:52:13.187904"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.191618"], ["updated_at", "2014-11-19 22:52:13.192047"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.191681"], ["updated_at", "2014-11-19 22:52:13.193130"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.191720"], ["updated_at", "2014-11-19 22:52:13.194065"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.194708"], ["updated_at", "2014-11-19 22:52:13.194970"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.198777"], ["updated_at", "2014-11-19 22:52:13.199176"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.198851"], ["updated_at", "2014-11-19 22:52:13.200135"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.198891"], ["updated_at", "2014-11-19 22:52:13.201019"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.201688"], ["updated_at", "2014-11-19 22:52:13.201948"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.205422"], ["updated_at", "2014-11-19 22:52:13.205869"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.205506"], ["updated_at", "2014-11-19 22:52:13.206905"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.205548"], ["updated_at", "2014-11-19 22:52:13.207892"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.208572"], ["updated_at", "2014-11-19 22:52:13.208866"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.215814"], ["updated_at", "2014-11-19 22:52:13.216300"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.215884"], ["updated_at", "2014-11-19 22:52:13.217440"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.215925"], ["updated_at", "2014-11-19 22:52:13.218562"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.219407"], ["updated_at", "2014-11-19 22:52:13.219730"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.226717"], ["updated_at", "2014-11-19 22:52:13.227261"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.226800"], ["updated_at", "2014-11-19 22:52:13.228693"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.226840"], ["updated_at", "2014-11-19 22:52:13.229929"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.230800"], ["updated_at", "2014-11-19 22:52:13.231138"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.233900"], ["updated_at", "2014-11-19 22:52:13.234345"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.233970"], ["updated_at", "2014-11-19 22:52:13.235374"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.234010"], ["updated_at", "2014-11-19 22:52:13.236303"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.237006"], ["updated_at", "2014-11-19 22:52:13.237277"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.240120"], ["updated_at", "2014-11-19 22:52:13.240559"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.240194"], ["updated_at", "2014-11-19 22:52:13.241851"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.240248"], ["updated_at", "2014-11-19 22:52:13.242904"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.243770"], ["updated_at", "2014-11-19 22:52:13.244132"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (8.8ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.256839"], ["updated_at", "2014-11-19 22:52:13.257777"]]  (3.9ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.257032"], ["updated_at", "2014-11-19 22:52:13.262985"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.257146"], ["updated_at", "2014-11-19 22:52:13.264201"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:13.265085"], ["updated_at", "2014-11-19 22:52:13.265471"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms Processing by Prosperity::GraphsController#new as HTML PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 0ms PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.321976"], ["updated_at", "2014-11-19 22:52:13.322579"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.322077"], ["updated_at", "2014-11-19 22:52:13.323788"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.322136"], ["updated_at", "2014-11-19 22:52:13.324752"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.327578"], ["updated_at", "2014-11-19 22:52:13.328069"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.327684"], ["updated_at", "2014-11-19 22:52:13.329157"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.327725"], ["updated_at", "2014-11-19 22:52:13.330169"]]  (0.2ms) COMMIT  (0.5ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.340321"], ["updated_at", "2014-11-19 22:52:13.340823"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.340397"], ["updated_at", "2014-11-19 22:52:13.342068"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.340439"], ["updated_at", "2014-11-19 22:52:13.343138"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.349720"], ["updated_at", "2014-11-19 22:52:13.350218"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.349800"], ["updated_at", "2014-11-19 22:52:13.351310"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.349842"], ["updated_at", "2014-11-19 22:52:13.352333"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.358167"], ["updated_at", "2014-11-19 22:52:13.358601"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.358228"], ["updated_at", "2014-11-19 22:52:13.359597"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.358268"], ["updated_at", "2014-11-19 22:52:13.360612"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.368885"], ["updated_at", "2014-11-19 22:52:13.369379"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.368957"], ["updated_at", "2014-11-19 22:52:13.370451"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.368998"], ["updated_at", "2014-11-19 22:52:13.371334"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.373656"], ["updated_at", "2014-11-19 22:52:13.374080"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.373720"], ["updated_at", "2014-11-19 22:52:13.375063"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.373760"], ["updated_at", "2014-11-19 22:52:13.375940"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.382298"], ["updated_at", "2014-11-19 22:52:13.383125"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.382467"], ["updated_at", "2014-11-19 22:52:13.384857"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.382544"], ["updated_at", "2014-11-19 22:52:13.386229"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.397309"], ["updated_at", "2014-11-19 22:52:13.397797"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.397381"], ["updated_at", "2014-11-19 22:52:13.399170"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.397424"], ["updated_at", "2014-11-19 22:52:13.400403"]]  (0.3ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (1.5ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.412117"], ["updated_at", "2014-11-19 22:52:13.412797"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.412262"], ["updated_at", "2014-11-19 22:52:13.414106"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.412326"], ["updated_at", "2014-11-19 22:52:13.415177"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.421236"], ["updated_at", "2014-11-19 22:52:13.421784"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.421333"], ["updated_at", "2014-11-19 22:52:13.423479"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.421371"], ["updated_at", "2014-11-19 22:52:13.424579"]]  (0.2ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.433074"], ["updated_at", "2014-11-19 22:52:13.433607"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.433149"], ["updated_at", "2014-11-19 22:52:13.434762"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.433189"], ["updated_at", "2014-11-19 22:52:13.435746"]]  (0.2ms) COMMIT  (0.4ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.444339"], ["updated_at", "2014-11-19 22:52:13.444811"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.444407"], ["updated_at", "2014-11-19 22:52:13.445930"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.444445"], ["updated_at", "2014-11-19 22:52:13.446879"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.452795"], ["updated_at", "2014-11-19 22:52:13.453266"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.452872"], ["updated_at", "2014-11-19 22:52:13.454379"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.452913"], ["updated_at", "2014-11-19 22:52:13.455258"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.460655"], ["updated_at", "2014-11-19 22:52:13.461032"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.460712"], ["updated_at", "2014-11-19 22:52:13.461939"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.460749"], ["updated_at", "2014-11-19 22:52:13.463067"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.468597"], ["updated_at", "2014-11-19 22:52:13.469052"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.468665"], ["updated_at", "2014-11-19 22:52:13.470102"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.468704"], ["updated_at", "2014-11-19 22:52:13.471085"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.476551"], ["updated_at", "2014-11-19 22:52:13.476954"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.476606"], ["updated_at", "2014-11-19 22:52:13.477883"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.476670"], ["updated_at", "2014-11-19 22:52:13.478775"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.487590"], ["updated_at", "2014-11-19 22:52:13.488249"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.487734"], ["updated_at", "2014-11-19 22:52:13.489423"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.487795"], ["updated_at", "2014-11-19 22:52:13.490689"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.520673"], ["updated_at", "2014-11-19 22:52:13.521339"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.520773"], ["updated_at", "2014-11-19 22:52:13.522680"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.520819"], ["updated_at", "2014-11-19 22:52:13.523681"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.520859"], ["updated_at", "2014-11-19 22:52:13.524615"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.540307"], ["updated_at", "2014-11-19 22:52:13.541101"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.540405"], ["updated_at", "2014-11-19 22:52:13.542510"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.540468"], ["updated_at", "2014-11-19 22:52:13.543540"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.540525"], ["updated_at", "2014-11-19 22:52:13.544496"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.560333"], ["updated_at", "2014-11-19 22:52:13.560851"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.560399"], ["updated_at", "2014-11-19 22:52:13.561964"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.560438"], ["updated_at", "2014-11-19 22:52:13.562907"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.560500"], ["updated_at", "2014-11-19 22:52:13.563919"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.573366"], ["updated_at", "2014-11-19 22:52:13.573959"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.573459"], ["updated_at", "2014-11-19 22:52:13.575109"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.573523"], ["updated_at", "2014-11-19 22:52:13.576084"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.573574"], ["updated_at", "2014-11-19 22:52:13.577038"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.585941"], ["updated_at", "2014-11-19 22:52:13.586414"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.585998"], ["updated_at", "2014-11-19 22:52:13.587443"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.586035"], ["updated_at", "2014-11-19 22:52:13.588418"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.586098"], ["updated_at", "2014-11-19 22:52:13.589399"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.603626"], ["updated_at", "2014-11-19 22:52:13.604167"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.603706"], ["updated_at", "2014-11-19 22:52:13.605364"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.603755"], ["updated_at", "2014-11-19 22:52:13.606353"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.603810"], ["updated_at", "2014-11-19 22:52:13.607357"]]  (0.3ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.609736"], ["updated_at", "2014-11-19 22:52:13.610192"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.609798"], ["updated_at", "2014-11-19 22:52:13.611484"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.609846"], ["updated_at", "2014-11-19 22:52:13.612637"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.609901"], ["updated_at", "2014-11-19 22:52:13.613605"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.623856"], ["updated_at", "2014-11-19 22:52:13.624358"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.623924"], ["updated_at", "2014-11-19 22:52:13.625420"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.623981"], ["updated_at", "2014-11-19 22:52:13.626472"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.624017"], ["updated_at", "2014-11-19 22:52:13.627637"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.649909"], ["updated_at", "2014-11-19 22:52:13.650448"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.649981"], ["updated_at", "2014-11-19 22:52:13.651563"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.650071"], ["updated_at", "2014-11-19 22:52:13.652493"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.650110"], ["updated_at", "2014-11-19 22:52:13.653393"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.669464"], ["updated_at", "2014-11-19 22:52:13.669952"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.669525"], ["updated_at", "2014-11-19 22:52:13.671006"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.669564"], ["updated_at", "2014-11-19 22:52:13.671951"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.669600"], ["updated_at", "2014-11-19 22:52:13.672883"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.682369"], ["updated_at", "2014-11-19 22:52:13.683117"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.682459"], ["updated_at", "2014-11-19 22:52:13.684596"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.682541"], ["updated_at", "2014-11-19 22:52:13.685643"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.682599"], ["updated_at", "2014-11-19 22:52:13.686632"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.700735"], ["updated_at", "2014-11-19 22:52:13.701277"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.700799"], ["updated_at", "2014-11-19 22:52:13.702363"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.700877"], ["updated_at", "2014-11-19 22:52:13.703417"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.700915"], ["updated_at", "2014-11-19 22:52:13.704399"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.717578"], ["updated_at", "2014-11-19 22:52:13.718135"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.717692"], ["updated_at", "2014-11-19 22:52:13.719251"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.717736"], ["updated_at", "2014-11-19 22:52:13.720304"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.717773"], ["updated_at", "2014-11-19 22:52:13.721256"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.729792"], ["updated_at", "2014-11-19 22:52:13.730292"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.729858"], ["updated_at", "2014-11-19 22:52:13.731426"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.729898"], ["updated_at", "2014-11-19 22:52:13.732509"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.729935"], ["updated_at", "2014-11-19 22:52:13.733425"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.742270"], ["updated_at", "2014-11-19 22:52:13.742732"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.742329"], ["updated_at", "2014-11-19 22:52:13.743753"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.742367"], ["updated_at", "2014-11-19 22:52:13.744646"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.742404"], ["updated_at", "2014-11-19 22:52:13.745544"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.754148"], ["updated_at", "2014-11-19 22:52:13.754597"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.754207"], ["updated_at", "2014-11-19 22:52:13.755668"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.754245"], ["updated_at", "2014-11-19 22:52:13.756560"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.754282"], ["updated_at", "2014-11-19 22:52:13.757460"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:13.766625"], ["updated_at", "2014-11-19 22:52:13.767134"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:13.766691"], ["updated_at", "2014-11-19 22:52:13.768248"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:13.766756"], ["updated_at", "2014-11-19 22:52:13.769247"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:13.766794"], ["updated_at", "2014-11-19 22:52:13.770168"]]  (0.2ms) COMMIT Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.7ms) Completed 200 OK in 160ms (Views: 160.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (8.5ms) DROP TABLE "users"  (6.5ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:30.994230"], ["updated_at", "2014-11-19 22:52:31.003225"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:30.994452"], ["updated_at", "2014-11-19 22:52:31.006812"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:30.994549"], ["updated_at", "2014-11-19 22:52:31.008002"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:30.994589"], ["updated_at", "2014-11-19 22:52:31.008860"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.018613"], ["updated_at", "2014-11-19 22:52:31.019188"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.018694"], ["updated_at", "2014-11-19 22:52:31.020273"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.018735"], ["updated_at", "2014-11-19 22:52:31.021335"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.018783"], ["updated_at", "2014-11-19 22:52:31.022401"]]  (0.2ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.039128"], ["updated_at", "2014-11-19 22:52:31.039706"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.039203"], ["updated_at", "2014-11-19 22:52:31.040846"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.039268"], ["updated_at", "2014-11-19 22:52:31.041836"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.039318"], ["updated_at", "2014-11-19 22:52:31.042902"]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.045596"], ["updated_at", "2014-11-19 22:52:31.046361"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.045688"], ["updated_at", "2014-11-19 22:52:31.047522"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.045774"], ["updated_at", "2014-11-19 22:52:31.048440"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.045830"], ["updated_at", "2014-11-19 22:52:31.049323"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.060257"], ["updated_at", "2014-11-19 22:52:31.060815"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.060340"], ["updated_at", "2014-11-19 22:52:31.062054"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.060384"], ["updated_at", "2014-11-19 22:52:31.063093"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.060425"], ["updated_at", "2014-11-19 22:52:31.064089"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.081027"], ["updated_at", "2014-11-19 22:52:31.081524"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.081091"], ["updated_at", "2014-11-19 22:52:31.082754"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.081131"], ["updated_at", "2014-11-19 22:52:31.083797"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.081177"], ["updated_at", "2014-11-19 22:52:31.084912"]]  (0.2ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.099926"], ["updated_at", "2014-11-19 22:52:31.100477"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.099987"], ["updated_at", "2014-11-19 22:52:31.101628"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.100026"], ["updated_at", "2014-11-19 22:52:31.102609"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.100064"], ["updated_at", "2014-11-19 22:52:31.103602"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.113619"], ["updated_at", "2014-11-19 22:52:31.114107"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.113684"], ["updated_at", "2014-11-19 22:52:31.115238"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.113723"], ["updated_at", "2014-11-19 22:52:31.116223"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.113760"], ["updated_at", "2014-11-19 22:52:31.117148"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.125826"], ["updated_at", "2014-11-19 22:52:31.126279"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.125886"], ["updated_at", "2014-11-19 22:52:31.127272"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.125925"], ["updated_at", "2014-11-19 22:52:31.128165"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.125961"], ["updated_at", "2014-11-19 22:52:31.129050"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.138619"], ["updated_at", "2014-11-19 22:52:31.139085"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.138677"], ["updated_at", "2014-11-19 22:52:31.140213"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.138716"], ["updated_at", "2014-11-19 22:52:31.141209"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.138754"], ["updated_at", "2014-11-19 22:52:31.142125"]]  (0.2ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.157500"], ["updated_at", "2014-11-19 22:52:31.158025"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.157562"], ["updated_at", "2014-11-19 22:52:31.159178"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.157601"], ["updated_at", "2014-11-19 22:52:31.160190"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.157639"], ["updated_at", "2014-11-19 22:52:31.161062"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.175726"], ["updated_at", "2014-11-19 22:52:31.176267"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.175807"], ["updated_at", "2014-11-19 22:52:31.177397"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.175848"], ["updated_at", "2014-11-19 22:52:31.178430"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.175885"], ["updated_at", "2014-11-19 22:52:31.179502"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.188242"], ["updated_at", "2014-11-19 22:52:31.188705"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.188314"], ["updated_at", "2014-11-19 22:52:31.189760"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.188352"], ["updated_at", "2014-11-19 22:52:31.190830"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.188400"], ["updated_at", "2014-11-19 22:52:31.191774"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.201153"], ["updated_at", "2014-11-19 22:52:31.201631"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.201215"], ["updated_at", "2014-11-19 22:52:31.202641"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.201258"], ["updated_at", "2014-11-19 22:52:31.203547"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.201299"], ["updated_at", "2014-11-19 22:52:31.204503"]]  (0.3ms) COMMIT  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.213423"], ["updated_at", "2014-11-19 22:52:31.213899"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.213492"], ["updated_at", "2014-11-19 22:52:31.215121"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.213530"], ["updated_at", "2014-11-19 22:52:31.216268"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.213566"], ["updated_at", "2014-11-19 22:52:31.217241"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.233067"], ["updated_at", "2014-11-19 22:52:31.233640"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.233142"], ["updated_at", "2014-11-19 22:52:31.234951"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.233189"], ["updated_at", "2014-11-19 22:52:31.235979"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.233230"], ["updated_at", "2014-11-19 22:52:31.236963"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.278883"], ["updated_at", "2014-11-19 22:52:31.279572"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:52:31.278967"], ["updated_at", "2014-11-19 22:52:31.280933"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.279017"], ["updated_at", "2014-11-19 22:52:31.282063"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.279102"], ["updated_at", "2014-11-19 22:52:31.283148"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.287512"], ["updated_at", "2014-11-19 22:52:31.288022"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.287583"], ["updated_at", "2014-11-19 22:52:31.289113"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.287623"], ["updated_at", "2014-11-19 22:52:31.290077"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.290858"], ["updated_at", "2014-11-19 22:52:31.291169"]]  (0.2ms) COMMIT  (1.5ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.296316"], ["updated_at", "2014-11-19 22:52:31.296854"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.296383"], ["updated_at", "2014-11-19 22:52:31.297969"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.296423"], ["updated_at", "2014-11-19 22:52:31.298948"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.299639"], ["updated_at", "2014-11-19 22:52:31.299911"]]  (0.2ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.304946"], ["updated_at", "2014-11-19 22:52:31.305429"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.305011"], ["updated_at", "2014-11-19 22:52:31.306507"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.305060"], ["updated_at", "2014-11-19 22:52:31.307463"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.308192"], ["updated_at", "2014-11-19 22:52:31.308464"]]  (0.3ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.310772"], ["updated_at", "2014-11-19 22:52:31.311194"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.310833"], ["updated_at", "2014-11-19 22:52:31.312222"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.310872"], ["updated_at", "2014-11-19 22:52:31.313213"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.313913"], ["updated_at", "2014-11-19 22:52:31.314182"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.317832"], ["updated_at", "2014-11-19 22:52:31.318241"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.317893"], ["updated_at", "2014-11-19 22:52:31.319293"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.317932"], ["updated_at", "2014-11-19 22:52:31.320301"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.321106"], ["updated_at", "2014-11-19 22:52:31.321395"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.325338"], ["updated_at", "2014-11-19 22:52:31.325771"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.325401"], ["updated_at", "2014-11-19 22:52:31.326810"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.325441"], ["updated_at", "2014-11-19 22:52:31.327739"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.328409"], ["updated_at", "2014-11-19 22:52:31.328686"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.332606"], ["updated_at", "2014-11-19 22:52:31.333030"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.332678"], ["updated_at", "2014-11-19 22:52:31.334210"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.332716"], ["updated_at", "2014-11-19 22:52:31.335189"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.335855"], ["updated_at", "2014-11-19 22:52:31.336114"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.339472"], ["updated_at", "2014-11-19 22:52:31.339874"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.339540"], ["updated_at", "2014-11-19 22:52:31.340816"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.339579"], ["updated_at", "2014-11-19 22:52:31.341664"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.342328"], ["updated_at", "2014-11-19 22:52:31.342578"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.345981"], ["updated_at", "2014-11-19 22:52:31.346387"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.346040"], ["updated_at", "2014-11-19 22:52:31.347378"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.346080"], ["updated_at", "2014-11-19 22:52:31.348318"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.348967"], ["updated_at", "2014-11-19 22:52:31.349219"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.352877"], ["updated_at", "2014-11-19 22:52:31.353341"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.352942"], ["updated_at", "2014-11-19 22:52:31.354341"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.352982"], ["updated_at", "2014-11-19 22:52:31.355325"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.356051"], ["updated_at", "2014-11-19 22:52:31.356337"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.360487"], ["updated_at", "2014-11-19 22:52:31.361021"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.360563"], ["updated_at", "2014-11-19 22:52:31.362216"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.360607"], ["updated_at", "2014-11-19 22:52:31.363236"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.363929"], ["updated_at", "2014-11-19 22:52:31.364225"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.368253"], ["updated_at", "2014-11-19 22:52:31.368661"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.368313"], ["updated_at", "2014-11-19 22:52:31.369686"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.368352"], ["updated_at", "2014-11-19 22:52:31.370731"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.371454"], ["updated_at", "2014-11-19 22:52:31.371757"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.375310"], ["updated_at", "2014-11-19 22:52:31.375716"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.375372"], ["updated_at", "2014-11-19 22:52:31.376793"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.375412"], ["updated_at", "2014-11-19 22:52:31.377793"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.378543"], ["updated_at", "2014-11-19 22:52:31.378863"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.382282"], ["updated_at", "2014-11-19 22:52:31.382771"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.382350"], ["updated_at", "2014-11-19 22:52:31.383877"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.382392"], ["updated_at", "2014-11-19 22:52:31.384872"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.385619"], ["updated_at", "2014-11-19 22:52:31.385879"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.389401"], ["updated_at", "2014-11-19 22:52:31.389859"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.389462"], ["updated_at", "2014-11-19 22:52:31.390911"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.389501"], ["updated_at", "2014-11-19 22:52:31.391832"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.392546"], ["updated_at", "2014-11-19 22:52:31.392841"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.400036"], ["updated_at", "2014-11-19 22:52:31.400498"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.400099"], ["updated_at", "2014-11-19 22:52:31.401564"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.400140"], ["updated_at", "2014-11-19 22:52:31.402575"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.403286"], ["updated_at", "2014-11-19 22:52:31.403582"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.409983"], ["updated_at", "2014-11-19 22:52:31.410445"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.410042"], ["updated_at", "2014-11-19 22:52:31.411487"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.410082"], ["updated_at", "2014-11-19 22:52:31.412409"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.413163"], ["updated_at", "2014-11-19 22:52:31.413467"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.416108"], ["updated_at", "2014-11-19 22:52:31.416488"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.416167"], ["updated_at", "2014-11-19 22:52:31.417431"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.416205"], ["updated_at", "2014-11-19 22:52:31.418526"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.419203"], ["updated_at", "2014-11-19 22:52:31.419488"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.422279"], ["updated_at", "2014-11-19 22:52:31.422666"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.422338"], ["updated_at", "2014-11-19 22:52:31.423588"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.422377"], ["updated_at", "2014-11-19 22:52:31.424466"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.425341"], ["updated_at", "2014-11-19 22:52:31.425680"]]  (0.2ms) COMMIT  (0.5ms) WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.429145"], ["updated_at", "2014-11-19 22:52:31.429577"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.429204"], ["updated_at", "2014-11-19 22:52:31.430708"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.429267"], ["updated_at", "2014-11-19 22:52:31.431759"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.432496"], ["updated_at", "2014-11-19 22:52:31.432778"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.436252"], ["updated_at", "2014-11-19 22:52:31.436686"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.436315"], ["updated_at", "2014-11-19 22:52:31.437668"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.436355"], ["updated_at", "2014-11-19 22:52:31.438550"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.439214"], ["updated_at", "2014-11-19 22:52:31.439518"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.443233"], ["updated_at", "2014-11-19 22:52:31.443651"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.443291"], ["updated_at", "2014-11-19 22:52:31.444687"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.443329"], ["updated_at", "2014-11-19 22:52:31.445651"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.446343"], ["updated_at", "2014-11-19 22:52:31.446598"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.450605"], ["updated_at", "2014-11-19 22:52:31.451008"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.450668"], ["updated_at", "2014-11-19 22:52:31.452035"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.450708"], ["updated_at", "2014-11-19 22:52:31.452940"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.453621"], ["updated_at", "2014-11-19 22:52:31.453872"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:52:31.454848"], ["updated_at", "2014-11-19 22:52:31.454848"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:52:31.455988"], ["updated_at", "2014-11-19 22:52:31.455988"], ["value", 3]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.460345"], ["updated_at", "2014-11-19 22:52:31.460809"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.460410"], ["updated_at", "2014-11-19 22:52:31.461826"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.460452"], ["updated_at", "2014-11-19 22:52:31.462799"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.463548"], ["updated_at", "2014-11-19 22:52:31.463817"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:52:31.464725"], ["updated_at", "2014-11-19 22:52:31.464725"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:52:31.465710"], ["updated_at", "2014-11-19 22:52:31.465710"], ["value", 3]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket   (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.469705"], ["updated_at", "2014-11-19 22:52:31.470150"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.469766"], ["updated_at", "2014-11-19 22:52:31.471270"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.469807"], ["updated_at", "2014-11-19 22:52:31.472216"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:52:31.472910"], ["updated_at", "2014-11-19 22:52:31.473170"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:52:31.474128"], ["updated_at", "2014-11-19 22:52:31.474128"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:52:31.475112"], ["updated_at", "2014-11-19 22:52:31.475112"], ["value", 3]]  (0.2ms) COMMIT PG::UndefinedTable: ERROR: relation "prosperity_dashboard_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboard_gra... ^ : 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 = '"prosperity_dashboard_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 25ms (Views: 23.5ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.8ms) Completed 200 OK in 10ms (Views: 10.0ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms) Processing by Prosperity::GraphsController#new as HTML PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 0ms PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_dashboards" does not exist LINE 5: WHERE a.attrelid = '"prosperity_dashboards"':... ^ : 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 = '"prosperity_dashboards"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum PG::UndefinedTable: ERROR: relation "prosperity_graphs" does not exist LINE 5: WHERE a.attrelid = '"prosperity_graphs"'::reg... ^ : 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 = '"prosperity_graphs"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.604565"], ["updated_at", "2014-11-19 22:52:31.605142"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.604650"], ["updated_at", "2014-11-19 22:52:31.606360"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.604696"], ["updated_at", "2014-11-19 22:52:31.607398"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.613064"], ["updated_at", "2014-11-19 22:52:31.613582"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.613159"], ["updated_at", "2014-11-19 22:52:31.614779"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.613201"], ["updated_at", "2014-11-19 22:52:31.615808"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.624341"], ["updated_at", "2014-11-19 22:52:31.624842"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.624406"], ["updated_at", "2014-11-19 22:52:31.625934"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.624446"], ["updated_at", "2014-11-19 22:52:31.626945"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.629261"], ["updated_at", "2014-11-19 22:52:31.629703"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.629322"], ["updated_at", "2014-11-19 22:52:31.630700"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.629362"], ["updated_at", "2014-11-19 22:52:31.631604"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.637493"], ["updated_at", "2014-11-19 22:52:31.637988"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.637561"], ["updated_at", "2014-11-19 22:52:31.639030"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.637649"], ["updated_at", "2014-11-19 22:52:31.639984"]]  (0.2ms) COMMIT  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.648211"], ["updated_at", "2014-11-19 22:52:31.648680"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.648275"], ["updated_at", "2014-11-19 22:52:31.649751"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.648317"], ["updated_at", "2014-11-19 22:52:31.650710"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.659042"], ["updated_at", "2014-11-19 22:52:31.659489"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.659101"], ["updated_at", "2014-11-19 22:52:31.660557"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.659174"], ["updated_at", "2014-11-19 22:52:31.661570"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.667839"], ["updated_at", "2014-11-19 22:52:31.668314"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.667932"], ["updated_at", "2014-11-19 22:52:31.669464"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.667973"], ["updated_at", "2014-11-19 22:52:31.670507"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.676004"], ["updated_at", "2014-11-19 22:52:31.676467"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.676067"], ["updated_at", "2014-11-19 22:52:31.677710"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.676150"], ["updated_at", "2014-11-19 22:52:31.678819"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.684904"], ["updated_at", "2014-11-19 22:52:31.685374"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.684965"], ["updated_at", "2014-11-19 22:52:31.686417"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.685044"], ["updated_at", "2014-11-19 22:52:31.687313"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.695577"], ["updated_at", "2014-11-19 22:52:31.696036"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.695637"], ["updated_at", "2014-11-19 22:52:31.697065"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.695677"], ["updated_at", "2014-11-19 22:52:31.697974"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.706360"], ["updated_at", "2014-11-19 22:52:31.706854"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.706431"], ["updated_at", "2014-11-19 22:52:31.707992"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.706473"], ["updated_at", "2014-11-19 22:52:31.709005"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.714795"], ["updated_at", "2014-11-19 22:52:31.715206"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.714854"], ["updated_at", "2014-11-19 22:52:31.716404"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.714892"], ["updated_at", "2014-11-19 22:52:31.717524"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.723036"], ["updated_at", "2014-11-19 22:52:31.723475"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.723094"], ["updated_at", "2014-11-19 22:52:31.724484"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.723133"], ["updated_at", "2014-11-19 22:52:31.725425"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.731192"], ["updated_at", "2014-11-19 22:52:31.731606"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.731253"], ["updated_at", "2014-11-19 22:52:31.732772"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.731292"], ["updated_at", "2014-11-19 22:52:31.733810"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.743143"], ["updated_at", "2014-11-19 22:52:31.743592"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.743202"], ["updated_at", "2014-11-19 22:52:31.744748"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.743241"], ["updated_at", "2014-11-19 22:52:31.745760"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.753928"], ["updated_at", "2014-11-19 22:52:31.754634"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.754006"], ["updated_at", "2014-11-19 22:52:31.756238"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.754056"], ["updated_at", "2014-11-19 22:52:31.757405"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:52:31.768867"], ["updated_at", "2014-11-19 22:52:31.769448"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:52:31.768957"], ["updated_at", "2014-11-19 22:52:31.770812"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:52:31.769008"], ["updated_at", "2014-11-19 22:52:31.772185"]]  (0.3ms) COMMIT  (7.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20131026214807)  (0.1ms) BEGIN  (2.4ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "created_at" timestamp, "updated_at" timestamp)  PG::DuplicateTable: ERROR: relation "users" already exists : CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "created_at" timestamp, "updated_at" timestamp)  (0.1ms) ROLLBACK  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20131026214807)  (0.1ms) BEGIN  (3.3ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "created_at" timestamp, "updated_at" timestamp)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131026214807"]]  (0.5ms) COMMIT Migrating to Dashboards (20131127042251)  (0.1ms) BEGIN  (1.9ms) CREATE TABLE "prosperity_dashboards" ("id" serial primary key, "title" character varying(255) NOT NULL, "default" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (2.4ms) CREATE TABLE "prosperity_graph_lines" ("id" serial primary key, "graph_id" integer NOT NULL, "option" character varying(255) NOT NULL, "metric" character varying(255) NOT NULL, "extractor" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (2.3ms) CREATE TABLE "prosperity_graphs" ("id" serial primary key, "title" character varying(255) NOT NULL, "period" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (2.0ms) CREATE TABLE "prosperity_dashboard_graphs" ("id" serial primary key, "graph_id" integer NOT NULL, "dashboard_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.8ms) CREATE UNIQUE INDEX "index_prosperity_dashboard_graphs_on_graph_id_and_dashboard_id" ON "prosperity_dashboard_graphs" ("graph_id", "dashboard_id")  (0.6ms) CREATE INDEX "index_prosperity_dashboard_graphs_on_dashboard_id" ON "prosperity_dashboard_graphs" ("dashboard_id")  (0.6ms) CREATE INDEX "index_prosperity_graph_lines_on_graph_id" ON "prosperity_graph_lines" ("graph_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131127042251"]]  (0.7ms) COMMIT Migrating to AddValueToUsers (20140217005117)  (0.3ms) BEGIN  (0.5ms) ALTER TABLE "users" ADD COLUMN "value" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140217005117"]]  (0.2ms) COMMIT Migrating to AddGraphTypeToGraphs (20140516222642)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "prosperity_graphs" ADD COLUMN "graph_type" character varying(255)  (0.3ms) UPDATE prosperity_graphs SET graph_type='line'  (0.2ms) ALTER TABLE "prosperity_graphs" ALTER COLUMN "graph_type" TYPE character varying(255)  (0.1ms) ALTER TABLE "prosperity_graphs" ALTER "graph_type" SET NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140516222642"]]  (0.3ms) COMMIT Migrating to CreateTransactions (20140606175543)  (0.1ms) BEGIN  (1.7ms) CREATE TABLE "transactions" ("id" serial primary key, "date" timestamp NOT NULL, "amount_in_cents" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140606175543"]]  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.1ms) DROP TABLE "users"  (4.0ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.058921"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:53:23.058921"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.062638"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.062638"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"1", "graph_id"=>"1"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 1]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 1]] Prosperity::DashboardGraph Load (0.5ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 1 AND "prosperity_dashboard_graphs"."dashboard_id" = 1 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 8ms  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.077047"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.077047"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.078684"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:53:23.078684"]]  (0.3ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 2 AND "prosperity_dashboard_graphs"."graph_id" = 2) LIMIT 1 SQL (0.5ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.093261"], ["dashboard_id", 2], ["graph_id", 2], ["updated_at", "2014-11-19 22:53:23.093261"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"2", "graph_id"=>"2"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 2]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 2]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 2 AND "prosperity_dashboard_graphs"."dashboard_id" = 2 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 1]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/2/edit Completed 302 Found in 3ms (ActiveRecord: 1.1ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.103366"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:53:23.103366"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.105400"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.105400"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"3", "graph_id"=>"3"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 3]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 3]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 3 AND "prosperity_dashboard_graphs"."graph_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.110176"], ["dashboard_id", 3], ["graph_id", 3], ["updated_at", "2014-11-19 22:53:23.110176"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/3/edit Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"3", "graph_id"=>"3"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 3]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 3]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 3 AND "prosperity_dashboard_graphs"."graph_id" = 3) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/3/edit Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.118205"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:53:23.118205"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.119761"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.119761"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"4", "graph_id"=>"4"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 4]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 4 AND "prosperity_dashboard_graphs"."graph_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.124087"], ["dashboard_id", 4], ["graph_id", 4], ["updated_at", "2014-11-19 22:53:23.124087"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/4/edit Completed 302 Found in 4ms (ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 4]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 4]] SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.130690"], ["updated_at", "2014-11-19 22:53:23.135509"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.130833"], ["updated_at", "2014-11-19 22:53:23.137243"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.130877"], ["updated_at", "2014-11-19 22:53:23.138275"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.130915"], ["updated_at", "2014-11-19 22:53:23.139199"]]  (0.3ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.142515"], ["updated_at", "2014-11-19 22:53:23.143042"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.142608"], ["updated_at", "2014-11-19 22:53:23.144249"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.142662"], ["updated_at", "2014-11-19 22:53:23.145363"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.142698"], ["updated_at", "2014-11-19 22:53:23.146425"]]  (0.3ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.161751"], ["updated_at", "2014-11-19 22:53:23.162260"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.161824"], ["updated_at", "2014-11-19 22:53:23.163395"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.161869"], ["updated_at", "2014-11-19 22:53:23.164310"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.161905"], ["updated_at", "2014-11-19 22:53:23.165246"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.181132"], ["updated_at", "2014-11-19 22:53:23.181655"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.181199"], ["updated_at", "2014-11-19 22:53:23.182783"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.181254"], ["updated_at", "2014-11-19 22:53:23.183777"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.181290"], ["updated_at", "2014-11-19 22:53:23.184731"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.194837"], ["updated_at", "2014-11-19 22:53:23.195405"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.194926"], ["updated_at", "2014-11-19 22:53:23.196600"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.194973"], ["updated_at", "2014-11-19 22:53:23.197699"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.195026"], ["updated_at", "2014-11-19 22:53:23.198774"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.208244"], ["updated_at", "2014-11-19 22:53:23.208774"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.208322"], ["updated_at", "2014-11-19 22:53:23.210272"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.208362"], ["updated_at", "2014-11-19 22:53:23.211506"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.208410"], ["updated_at", "2014-11-19 22:53:23.212574"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.223312"], ["updated_at", "2014-11-19 22:53:23.223945"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.223401"], ["updated_at", "2014-11-19 22:53:23.225174"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.223444"], ["updated_at", "2014-11-19 22:53:23.226189"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.223489"], ["updated_at", "2014-11-19 22:53:23.227140"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.237494"], ["updated_at", "2014-11-19 22:53:23.238035"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.237570"], ["updated_at", "2014-11-19 22:53:23.239208"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.237624"], ["updated_at", "2014-11-19 22:53:23.240283"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.237662"], ["updated_at", "2014-11-19 22:53:23.241352"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.251566"], ["updated_at", "2014-11-19 22:53:23.252348"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.251698"], ["updated_at", "2014-11-19 22:53:23.253686"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.251774"], ["updated_at", "2014-11-19 22:53:23.254874"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.251858"], ["updated_at", "2014-11-19 22:53:23.256149"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.291473"], ["updated_at", "2014-11-19 22:53:23.291988"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.291537"], ["updated_at", "2014-11-19 22:53:23.293084"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.291576"], ["updated_at", "2014-11-19 22:53:23.294100"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.291636"], ["updated_at", "2014-11-19 22:53:23.294955"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.309054"], ["updated_at", "2014-11-19 22:53:23.309597"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.309127"], ["updated_at", "2014-11-19 22:53:23.310705"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.309192"], ["updated_at", "2014-11-19 22:53:23.311905"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.309228"], ["updated_at", "2014-11-19 22:53:23.312850"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.327984"], ["updated_at", "2014-11-19 22:53:23.328514"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.328063"], ["updated_at", "2014-11-19 22:53:23.329681"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.328105"], ["updated_at", "2014-11-19 22:53:23.330761"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.328142"], ["updated_at", "2014-11-19 22:53:23.331854"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.347623"], ["updated_at", "2014-11-19 22:53:23.348202"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.347693"], ["updated_at", "2014-11-19 22:53:23.349380"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.347734"], ["updated_at", "2014-11-19 22:53:23.350418"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.347772"], ["updated_at", "2014-11-19 22:53:23.351464"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.360912"], ["updated_at", "2014-11-19 22:53:23.361469"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.360979"], ["updated_at", "2014-11-19 22:53:23.362595"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.361019"], ["updated_at", "2014-11-19 22:53:23.363646"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.361056"], ["updated_at", "2014-11-19 22:53:23.364638"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.379289"], ["updated_at", "2014-11-19 22:53:23.379802"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.379355"], ["updated_at", "2014-11-19 22:53:23.380956"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.379423"], ["updated_at", "2014-11-19 22:53:23.381935"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.379459"], ["updated_at", "2014-11-19 22:53:23.382829"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.4ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.398141"], ["updated_at", "2014-11-19 22:53:23.398760"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.398209"], ["updated_at", "2014-11-19 22:53:23.400073"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.398250"], ["updated_at", "2014-11-19 22:53:23.401204"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.398318"], ["updated_at", "2014-11-19 22:53:23.402348"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.411858"], ["updated_at", "2014-11-19 22:53:23.412369"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:53:23.411926"], ["updated_at", "2014-11-19 22:53:23.413715"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.411964"], ["updated_at", "2014-11-19 22:53:23.414890"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.412001"], ["updated_at", "2014-11-19 22:53:23.416049"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.429333"], ["updated_at", "2014-11-19 22:53:23.429933"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.429442"], ["updated_at", "2014-11-19 22:53:23.431350"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.429493"], ["updated_at", "2014-11-19 22:53:23.432565"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.439509"], ["updated_at", "2014-11-19 22:53:23.440047"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.439616"], ["updated_at", "2014-11-19 22:53:23.441198"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.439663"], ["updated_at", "2014-11-19 22:53:23.442231"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.448369"], ["updated_at", "2014-11-19 22:53:23.448824"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.448430"], ["updated_at", "2014-11-19 22:53:23.449920"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.448470"], ["updated_at", "2014-11-19 22:53:23.451105"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.457263"], ["updated_at", "2014-11-19 22:53:23.457737"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.457328"], ["updated_at", "2014-11-19 22:53:23.458958"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.457367"], ["updated_at", "2014-11-19 22:53:23.459941"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.465484"], ["updated_at", "2014-11-19 22:53:23.465893"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.465547"], ["updated_at", "2014-11-19 22:53:23.466938"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.465587"], ["updated_at", "2014-11-19 22:53:23.467952"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.476260"], ["updated_at", "2014-11-19 22:53:23.476715"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.476321"], ["updated_at", "2014-11-19 22:53:23.477858"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.476360"], ["updated_at", "2014-11-19 22:53:23.478855"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.487784"], ["updated_at", "2014-11-19 22:53:23.488335"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.487853"], ["updated_at", "2014-11-19 22:53:23.489587"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.487930"], ["updated_at", "2014-11-19 22:53:23.490708"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.499421"], ["updated_at", "2014-11-19 22:53:23.499907"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.499522"], ["updated_at", "2014-11-19 22:53:23.501047"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.499563"], ["updated_at", "2014-11-19 22:53:23.502128"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.508867"], ["updated_at", "2014-11-19 22:53:23.509353"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.508929"], ["updated_at", "2014-11-19 22:53:23.510663"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.508971"], ["updated_at", "2014-11-19 22:53:23.511758"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.521723"], ["updated_at", "2014-11-19 22:53:23.522206"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.521820"], ["updated_at", "2014-11-19 22:53:23.523344"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.521859"], ["updated_at", "2014-11-19 22:53:23.524328"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.532906"], ["updated_at", "2014-11-19 22:53:23.533333"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.532969"], ["updated_at", "2014-11-19 22:53:23.534390"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.533009"], ["updated_at", "2014-11-19 22:53:23.535386"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.541055"], ["updated_at", "2014-11-19 22:53:23.541485"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.541119"], ["updated_at", "2014-11-19 22:53:23.542564"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.541172"], ["updated_at", "2014-11-19 22:53:23.543526"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.545928"], ["updated_at", "2014-11-19 22:53:23.546358"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.545987"], ["updated_at", "2014-11-19 22:53:23.547407"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.546051"], ["updated_at", "2014-11-19 22:53:23.548620"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.557501"], ["updated_at", "2014-11-19 22:53:23.557961"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.557570"], ["updated_at", "2014-11-19 22:53:23.559098"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.557610"], ["updated_at", "2014-11-19 22:53:23.560123"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.568908"], ["updated_at", "2014-11-19 22:53:23.569469"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.569002"], ["updated_at", "2014-11-19 22:53:23.570707"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.569043"], ["updated_at", "2014-11-19 22:53:23.571811"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.577679"], ["updated_at", "2014-11-19 22:53:23.578141"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.577755"], ["updated_at", "2014-11-19 22:53:23.579282"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.577808"], ["updated_at", "2014-11-19 22:53:23.580316"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.586704"], ["updated_at", "2014-11-19 22:53:23.587295"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.586793"], ["updated_at", "2014-11-19 22:53:23.588527"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.586853"], ["updated_at", "2014-11-19 22:53:23.589594"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.592431"], ["updated_at", "2014-11-19 22:53:23.592943"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.592513"], ["updated_at", "2014-11-19 22:53:23.594134"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.592607"], ["updated_at", "2014-11-19 22:53:23.595200"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.606042"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:53:23.606042"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 33ms (Views: 32.2ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.643619"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:53:23.643619"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"6"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 6]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.8ms) Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 6]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 6]] Completed 200 OK in 19ms (Views: 18.1ms | ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.667024"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:53:23.667024"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"7"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 7]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 7]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.6ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.679124"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:53:23.679124"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.693220"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:53:23.693220"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.696376"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-19 22:53:23.696376"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/10/edit Completed 302 Found in 2ms (ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.699934"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:53:23.699934"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:53:23.706340"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:53:23.706340"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"12"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 12]]  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 12]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.6ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 12 LIMIT 1 Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (2.9ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.724003"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.724003"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"5"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 5]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.5ms) Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 5]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Completed 200 OK in 22ms (Views: 11.5ms | ActiveRecord: 1.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.751208"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.751208"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"6"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 6]] Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.759687"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.759687"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"7"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 7]] Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.765711"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.765711"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"8"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 8]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 1ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.773755"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.773755"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 22:53:23.776738"], ["extractor", "count"], ["graph_id", 9], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 22:53:23.776738"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"9"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 9]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 9]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.783212"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.783212"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"10"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 10]] Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 10]] Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.788322"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.788322"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 22:53:23.790337"], ["extractor", "count"], ["graph_id", 11], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 22:53:23.790337"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"2"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"11"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 11]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (2) [["graph_id", 11]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 2 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-19 22:53:23.796467"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/11/edit Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 2]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 11]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 11]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.802150"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.802150"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 22:53:23.804111"], ["extractor", "count"], ["graph_id", 12], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 22:53:23.804111"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 12]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"3", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"12"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 12]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (3) [["graph_id", 12]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 3 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-19 22:53:23.809553"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/12/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 12]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 12]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.813665"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.813665"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 22:53:23.815535"], ["extractor", "count"], ["graph_id", 13], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 22:53:23.815535"]]  (0.2ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 13]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"4", "_destroy"=>true}}}, "id"=>"13"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 13]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (4) [["graph_id", 13]] SQL (0.1ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 4]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/13/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 4 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.824432"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.824432"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"14"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 14]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 22:53:23.828644"], ["extractor", "count"], ["graph_id", 14], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 22:53:23.828644"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/14/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 14]]  (0.3ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 14]] Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.7ms) Completed 200 OK in 9ms (Views: 5.0ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:53:23.847275"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:53:23.847275"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/15/edit Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (2.0ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 2.2ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.899017"], ["updated_at", "2014-11-19 22:53:23.907596"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.899117"], ["updated_at", "2014-11-19 22:53:23.909124"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.899162"], ["updated_at", "2014-11-19 22:53:23.910057"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:23.910873"], ["updated_at", "2014-11-19 22:53:23.911176"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.915198"], ["updated_at", "2014-11-19 22:53:23.915641"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.915263"], ["updated_at", "2014-11-19 22:53:23.916763"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.915302"], ["updated_at", "2014-11-19 22:53:23.917749"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:23.918452"], ["updated_at", "2014-11-19 22:53:23.918725"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.922506"], ["updated_at", "2014-11-19 22:53:23.922946"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.922588"], ["updated_at", "2014-11-19 22:53:23.924046"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.922627"], ["updated_at", "2014-11-19 22:53:23.925004"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:23.925765"], ["updated_at", "2014-11-19 22:53:23.926069"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.929531"], ["updated_at", "2014-11-19 22:53:23.929938"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.929591"], ["updated_at", "2014-11-19 22:53:23.931066"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.929629"], ["updated_at", "2014-11-19 22:53:23.932015"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:23.932765"], ["updated_at", "2014-11-19 22:53:23.933106"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.936845"], ["updated_at", "2014-11-19 22:53:23.937309"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.936913"], ["updated_at", "2014-11-19 22:53:23.938530"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.936952"], ["updated_at", "2014-11-19 22:53:23.939636"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:23.940403"], ["updated_at", "2014-11-19 22:53:23.940715"]]  (0.2ms) COMMIT  (0.5ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.944977"], ["updated_at", "2014-11-19 22:53:23.945394"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.945050"], ["updated_at", "2014-11-19 22:53:23.946525"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.945087"], ["updated_at", "2014-11-19 22:53:23.947633"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:23.948369"], ["updated_at", "2014-11-19 22:53:23.948668"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.952570"], ["updated_at", "2014-11-19 22:53:23.953042"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.952646"], ["updated_at", "2014-11-19 22:53:23.954256"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.952684"], ["updated_at", "2014-11-19 22:53:23.955205"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:23.955901"], ["updated_at", "2014-11-19 22:53:23.956164"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.960148"], ["updated_at", "2014-11-19 22:53:23.960551"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.960206"], ["updated_at", "2014-11-19 22:53:23.961668"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.960243"], ["updated_at", "2014-11-19 22:53:23.962615"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:23.963478"], ["updated_at", "2014-11-19 22:53:23.963904"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.967948"], ["updated_at", "2014-11-19 22:53:23.968446"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.968053"], ["updated_at", "2014-11-19 22:53:23.969635"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.968094"], ["updated_at", "2014-11-19 22:53:23.970755"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:23.971595"], ["updated_at", "2014-11-19 22:53:23.971888"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.976172"], ["updated_at", "2014-11-19 22:53:23.976590"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.976234"], ["updated_at", "2014-11-19 22:53:23.977736"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.976271"], ["updated_at", "2014-11-19 22:53:23.978697"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:23.979449"], ["updated_at", "2014-11-19 22:53:23.979700"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.983620"], ["updated_at", "2014-11-19 22:53:23.984079"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.983722"], ["updated_at", "2014-11-19 22:53:23.985274"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.983763"], ["updated_at", "2014-11-19 22:53:23.986309"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:23.987100"], ["updated_at", "2014-11-19 22:53:23.987429"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.991024"], ["updated_at", "2014-11-19 22:53:23.991438"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.991086"], ["updated_at", "2014-11-19 22:53:23.992443"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.991123"], ["updated_at", "2014-11-19 22:53:23.993559"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:23.994348"], ["updated_at", "2014-11-19 22:53:23.994659"]]  (0.2ms) COMMIT SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:23.996863"], ["updated_at", "2014-11-19 22:53:23.997276"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:23.996923"], ["updated_at", "2014-11-19 22:53:23.998325"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:23.996961"], ["updated_at", "2014-11-19 22:53:23.999244"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:23.999967"], ["updated_at", "2014-11-19 22:53:24.000236"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:24.003904"], ["updated_at", "2014-11-19 22:53:24.004340"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:24.003962"], ["updated_at", "2014-11-19 22:53:24.005410"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:24.004000"], ["updated_at", "2014-11-19 22:53:24.006494"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:24.007315"], ["updated_at", "2014-11-19 22:53:24.007620"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:24.011773"], ["updated_at", "2014-11-19 22:53:24.012198"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:24.011833"], ["updated_at", "2014-11-19 22:53:24.013391"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:24.011871"], ["updated_at", "2014-11-19 22:53:24.014344"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:24.015042"], ["updated_at", "2014-11-19 22:53:24.015294"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:24.017856"], ["updated_at", "2014-11-19 22:53:24.018279"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:24.017923"], ["updated_at", "2014-11-19 22:53:24.019364"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:24.017961"], ["updated_at", "2014-11-19 22:53:24.020477"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:24.021512"], ["updated_at", "2014-11-19 22:53:24.021916"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:24.026080"], ["updated_at", "2014-11-19 22:53:24.026819"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:24.026185"], ["updated_at", "2014-11-19 22:53:24.028400"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:24.026243"], ["updated_at", "2014-11-19 22:53:24.029824"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:24.030631"], ["updated_at", "2014-11-19 22:53:24.030997"]]  (0.2ms) COMMIT  (0.4ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:24.037824"], ["updated_at", "2014-11-19 22:53:24.038320"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:24.037887"], ["updated_at", "2014-11-19 22:53:24.039508"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:24.037925"], ["updated_at", "2014-11-19 22:53:24.040607"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:24.041396"], ["updated_at", "2014-11-19 22:53:24.041665"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:24.048102"], ["updated_at", "2014-11-19 22:53:24.048495"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:24.048162"], ["updated_at", "2014-11-19 22:53:24.049615"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:24.048200"], ["updated_at", "2014-11-19 22:53:24.050628"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:24.051370"], ["updated_at", "2014-11-19 22:53:24.051693"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:24.055096"], ["updated_at", "2014-11-19 22:53:24.055534"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:24.055164"], ["updated_at", "2014-11-19 22:53:24.056703"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:24.055203"], ["updated_at", "2014-11-19 22:53:24.057826"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:24.058678"], ["updated_at", "2014-11-19 22:53:24.058962"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:24.062674"], ["updated_at", "2014-11-19 22:53:24.063177"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:24.062738"], ["updated_at", "2014-11-19 22:53:24.064201"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:24.062832"], ["updated_at", "2014-11-19 22:53:24.065286"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:24.066147"], ["updated_at", "2014-11-19 22:53:24.066420"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:53:24.067358"], ["updated_at", "2014-11-19 22:53:24.067358"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:53:24.068561"], ["updated_at", "2014-11-19 22:53:24.068561"], ["value", 3]]  (0.2ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:24.073336"], ["updated_at", "2014-11-19 22:53:24.073788"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:24.073400"], ["updated_at", "2014-11-19 22:53:24.074986"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:24.073439"], ["updated_at", "2014-11-19 22:53:24.076103"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:24.076950"], ["updated_at", "2014-11-19 22:53:24.077258"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:53:24.078206"], ["updated_at", "2014-11-19 22:53:24.078206"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:53:24.079333"], ["updated_at", "2014-11-19 22:53:24.079333"], ["value", 3]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket   (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:24.083412"], ["updated_at", "2014-11-19 22:53:24.083973"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:24.083488"], ["updated_at", "2014-11-19 22:53:24.085100"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:24.083532"], ["updated_at", "2014-11-19 22:53:24.086134"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:24.086924"], ["updated_at", "2014-11-19 22:53:24.087316"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:53:24.088376"], ["updated_at", "2014-11-19 22:53:24.088376"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:53:24.089386"], ["updated_at", "2014-11-19 22:53:24.089386"], ["value", 3]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:24.092564"], ["updated_at", "2014-11-19 22:53:24.092987"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:24.092629"], ["updated_at", "2014-11-19 22:53:24.093993"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:24.092669"], ["updated_at", "2014-11-19 22:53:24.095060"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:24.095904"], ["updated_at", "2014-11-19 22:53:24.096164"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:53:24.099584"], ["updated_at", "2014-11-19 22:53:24.100023"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:53:24.099675"], ["updated_at", "2014-11-19 22:53:24.101185"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:53:24.099717"], ["updated_at", "2014-11-19 22:53:24.102235"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:53:24.103060"], ["updated_at", "2014-11-19 22:53:24.103309"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket   (1.9ms) DROP TABLE "users"  (3.9ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.621967"], ["updated_at", "2014-11-19 22:54:09.631551"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.622110"], ["updated_at", "2014-11-19 22:54:09.635068"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.622152"], ["updated_at", "2014-11-19 22:54:09.636091"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.636790"], ["updated_at", "2014-11-19 22:54:09.637130"]]  (0.2ms) COMMIT  (1.5ms) WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.641896"], ["updated_at", "2014-11-19 22:54:09.642315"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.641955"], ["updated_at", "2014-11-19 22:54:09.643362"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.641997"], ["updated_at", "2014-11-19 22:54:09.644371"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.645095"], ["updated_at", "2014-11-19 22:54:09.645444"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.649177"], ["updated_at", "2014-11-19 22:54:09.649617"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.649268"], ["updated_at", "2014-11-19 22:54:09.650547"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.649306"], ["updated_at", "2014-11-19 22:54:09.651381"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.651983"], ["updated_at", "2014-11-19 22:54:09.652262"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.657490"], ["updated_at", "2014-11-19 22:54:09.658050"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.657580"], ["updated_at", "2014-11-19 22:54:09.659270"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.657620"], ["updated_at", "2014-11-19 22:54:09.660215"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.661038"], ["updated_at", "2014-11-19 22:54:09.661315"]]  (0.3ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.666299"], ["updated_at", "2014-11-19 22:54:09.666777"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.666361"], ["updated_at", "2014-11-19 22:54:09.667821"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.666408"], ["updated_at", "2014-11-19 22:54:09.668744"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.669429"], ["updated_at", "2014-11-19 22:54:09.669666"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.673049"], ["updated_at", "2014-11-19 22:54:09.673479"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.673113"], ["updated_at", "2014-11-19 22:54:09.674590"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.673151"], ["updated_at", "2014-11-19 22:54:09.675596"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.676379"], ["updated_at", "2014-11-19 22:54:09.676623"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.680228"], ["updated_at", "2014-11-19 22:54:09.680616"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.680287"], ["updated_at", "2014-11-19 22:54:09.681755"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.680325"], ["updated_at", "2014-11-19 22:54:09.682819"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.683579"], ["updated_at", "2014-11-19 22:54:09.683842"]]  (0.3ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.688492"], ["updated_at", "2014-11-19 22:54:09.688923"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.688549"], ["updated_at", "2014-11-19 22:54:09.690152"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.688587"], ["updated_at", "2014-11-19 22:54:09.691104"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.691937"], ["updated_at", "2014-11-19 22:54:09.692195"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.696021"], ["updated_at", "2014-11-19 22:54:09.696469"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.696081"], ["updated_at", "2014-11-19 22:54:09.697582"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.696120"], ["updated_at", "2014-11-19 22:54:09.698539"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.699259"], ["updated_at", "2014-11-19 22:54:09.699536"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.703930"], ["updated_at", "2014-11-19 22:54:09.704374"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.703995"], ["updated_at", "2014-11-19 22:54:09.705375"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.704034"], ["updated_at", "2014-11-19 22:54:09.706352"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.707239"], ["updated_at", "2014-11-19 22:54:09.707511"]]  (0.3ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.712408"], ["updated_at", "2014-11-19 22:54:09.712874"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.712467"], ["updated_at", "2014-11-19 22:54:09.713976"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.712505"], ["updated_at", "2014-11-19 22:54:09.714890"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.715595"], ["updated_at", "2014-11-19 22:54:09.715840"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.719387"], ["updated_at", "2014-11-19 22:54:09.719767"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.719448"], ["updated_at", "2014-11-19 22:54:09.720723"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.719485"], ["updated_at", "2014-11-19 22:54:09.721713"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.722459"], ["updated_at", "2014-11-19 22:54:09.722716"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.726542"], ["updated_at", "2014-11-19 22:54:09.726999"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.726635"], ["updated_at", "2014-11-19 22:54:09.728103"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.726675"], ["updated_at", "2014-11-19 22:54:09.729199"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.729942"], ["updated_at", "2014-11-19 22:54:09.730235"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.733632"], ["updated_at", "2014-11-19 22:54:09.734054"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.733693"], ["updated_at", "2014-11-19 22:54:09.735127"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.733731"], ["updated_at", "2014-11-19 22:54:09.736056"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.736763"], ["updated_at", "2014-11-19 22:54:09.737002"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.739440"], ["updated_at", "2014-11-19 22:54:09.739823"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.739518"], ["updated_at", "2014-11-19 22:54:09.740818"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.739556"], ["updated_at", "2014-11-19 22:54:09.741743"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.742571"], ["updated_at", "2014-11-19 22:54:09.742855"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.746771"], ["updated_at", "2014-11-19 22:54:09.747199"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.746827"], ["updated_at", "2014-11-19 22:54:09.748258"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.746892"], ["updated_at", "2014-11-19 22:54:09.749454"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.750209"], ["updated_at", "2014-11-19 22:54:09.750535"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.754108"], ["updated_at", "2014-11-19 22:54:09.754563"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.754168"], ["updated_at", "2014-11-19 22:54:09.755625"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.754207"], ["updated_at", "2014-11-19 22:54:09.756563"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.757378"], ["updated_at", "2014-11-19 22:54:09.757673"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.764614"], ["updated_at", "2014-11-19 22:54:09.765293"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.764704"], ["updated_at", "2014-11-19 22:54:09.766473"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.764772"], ["updated_at", "2014-11-19 22:54:09.767773"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.769087"], ["updated_at", "2014-11-19 22:54:09.769528"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.777989"], ["updated_at", "2014-11-19 22:54:09.778553"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.778070"], ["updated_at", "2014-11-19 22:54:09.779889"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.778155"], ["updated_at", "2014-11-19 22:54:09.781058"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.781900"], ["updated_at", "2014-11-19 22:54:09.782188"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.784912"], ["updated_at", "2014-11-19 22:54:09.785341"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.784974"], ["updated_at", "2014-11-19 22:54:09.786459"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.785030"], ["updated_at", "2014-11-19 22:54:09.787508"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.788209"], ["updated_at", "2014-11-19 22:54:09.788468"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.791214"], ["updated_at", "2014-11-19 22:54:09.791675"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.791285"], ["updated_at", "2014-11-19 22:54:09.792734"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.791335"], ["updated_at", "2014-11-19 22:54:09.793741"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.794412"], ["updated_at", "2014-11-19 22:54:09.794677"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.799028"], ["updated_at", "2014-11-19 22:54:09.799432"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.799084"], ["updated_at", "2014-11-19 22:54:09.800546"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.799122"], ["updated_at", "2014-11-19 22:54:09.801525"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.802390"], ["updated_at", "2014-11-19 22:54:09.802670"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.806790"], ["updated_at", "2014-11-19 22:54:09.807265"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.806856"], ["updated_at", "2014-11-19 22:54:09.808457"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.806906"], ["updated_at", "2014-11-19 22:54:09.809531"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.810343"], ["updated_at", "2014-11-19 22:54:09.810627"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:54:09.811700"], ["updated_at", "2014-11-19 22:54:09.811700"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:54:09.812988"], ["updated_at", "2014-11-19 22:54:09.812988"], ["value", 3]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.816306"], ["updated_at", "2014-11-19 22:54:09.816717"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.816373"], ["updated_at", "2014-11-19 22:54:09.818165"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.816423"], ["updated_at", "2014-11-19 22:54:09.819229"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.819960"], ["updated_at", "2014-11-19 22:54:09.820296"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:54:09.821230"], ["updated_at", "2014-11-19 22:54:09.821230"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:54:09.822256"], ["updated_at", "2014-11-19 22:54:09.822256"], ["value", 3]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:09.826669"], ["updated_at", "2014-11-19 22:54:09.827117"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:09.826740"], ["updated_at", "2014-11-19 22:54:09.828185"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:09.826780"], ["updated_at", "2014-11-19 22:54:09.829112"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:54:09.829892"], ["updated_at", "2014-11-19 22:54:09.830199"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:54:09.831207"], ["updated_at", "2014-11-19 22:54:09.831207"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 22:54:09.832167"], ["updated_at", "2014-11-19 22:54:09.832167"], ["value", 3]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.7ms) Completed 200 OK in 24ms (Views: 24.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:09.969683"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:54:09.969683"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 9ms (Views: 9.0ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:09.984087"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:54:09.984087"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:09.999856"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:54:09.999856"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"15"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 15]] Prosperity::Graph Exists (0.4ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 15]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 30ms (Views: 26.3ms | ActiveRecord: 1.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:10.033260"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:54:10.033260"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"16"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 16]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.4ms) Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 16]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 16]] Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.6ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:10.043923"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:54:10.043923"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"17"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 17]]  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 17]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.6ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 17 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:10.052829"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:54:10.052829"]]  (0.4ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:10.056838"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-19 22:54:10.056838"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/19/edit Completed 302 Found in 2ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:10.059978"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:54:10.059978"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.068433"], ["updated_at", "2014-11-19 22:54:10.069092"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.068547"], ["updated_at", "2014-11-19 22:54:10.070297"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.068587"], ["updated_at", "2014-11-19 22:54:10.071312"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.080810"], ["updated_at", "2014-11-19 22:54:10.081304"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.080872"], ["updated_at", "2014-11-19 22:54:10.082506"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.080925"], ["updated_at", "2014-11-19 22:54:10.083605"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.092247"], ["updated_at", "2014-11-19 22:54:10.092716"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.092313"], ["updated_at", "2014-11-19 22:54:10.093837"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.092352"], ["updated_at", "2014-11-19 22:54:10.094790"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.102938"], ["updated_at", "2014-11-19 22:54:10.103363"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.103009"], ["updated_at", "2014-11-19 22:54:10.104550"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.103047"], ["updated_at", "2014-11-19 22:54:10.105568"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.111652"], ["updated_at", "2014-11-19 22:54:10.112147"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.111715"], ["updated_at", "2014-11-19 22:54:10.113339"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.111759"], ["updated_at", "2014-11-19 22:54:10.114298"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.119744"], ["updated_at", "2014-11-19 22:54:10.120172"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.119810"], ["updated_at", "2014-11-19 22:54:10.121133"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.119863"], ["updated_at", "2014-11-19 22:54:10.122049"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.139363"], ["updated_at", "2014-11-19 22:54:10.139893"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.139436"], ["updated_at", "2014-11-19 22:54:10.141055"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.139508"], ["updated_at", "2014-11-19 22:54:10.142087"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.147632"], ["updated_at", "2014-11-19 22:54:10.148061"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.147690"], ["updated_at", "2014-11-19 22:54:10.149065"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.147730"], ["updated_at", "2014-11-19 22:54:10.149981"]]  (0.2ms) COMMIT  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.158387"], ["updated_at", "2014-11-19 22:54:10.158863"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.158452"], ["updated_at", "2014-11-19 22:54:10.159992"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.158491"], ["updated_at", "2014-11-19 22:54:10.161061"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.168919"], ["updated_at", "2014-11-19 22:54:10.169349"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.168977"], ["updated_at", "2014-11-19 22:54:10.170380"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.169016"], ["updated_at", "2014-11-19 22:54:10.171272"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.177382"], ["updated_at", "2014-11-19 22:54:10.177860"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.177447"], ["updated_at", "2014-11-19 22:54:10.179052"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.177487"], ["updated_at", "2014-11-19 22:54:10.180072"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.186242"], ["updated_at", "2014-11-19 22:54:10.186701"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.186304"], ["updated_at", "2014-11-19 22:54:10.187836"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.186343"], ["updated_at", "2014-11-19 22:54:10.188860"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.194807"], ["updated_at", "2014-11-19 22:54:10.195275"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.194869"], ["updated_at", "2014-11-19 22:54:10.196290"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.194909"], ["updated_at", "2014-11-19 22:54:10.197311"]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.201063"], ["updated_at", "2014-11-19 22:54:10.201441"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.201122"], ["updated_at", "2014-11-19 22:54:10.202401"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.201159"], ["updated_at", "2014-11-19 22:54:10.203409"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.208690"], ["updated_at", "2014-11-19 22:54:10.209207"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.208751"], ["updated_at", "2014-11-19 22:54:10.210245"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.208792"], ["updated_at", "2014-11-19 22:54:10.211209"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.216882"], ["updated_at", "2014-11-19 22:54:10.217276"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.216941"], ["updated_at", "2014-11-19 22:54:10.218246"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.216980"], ["updated_at", "2014-11-19 22:54:10.219217"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.228027"], ["updated_at", "2014-11-19 22:54:10.228506"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.228088"], ["updated_at", "2014-11-19 22:54:10.229796"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.228156"], ["updated_at", "2014-11-19 22:54:10.230798"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.239352"], ["updated_at", "2014-11-19 22:54:10.239768"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.239414"], ["updated_at", "2014-11-19 22:54:10.240864"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.239455"], ["updated_at", "2014-11-19 22:54:10.241828"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.245054"], ["updated_at", "2014-11-19 22:54:10.245583"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.245118"], ["updated_at", "2014-11-19 22:54:10.246787"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.245157"], ["updated_at", "2014-11-19 22:54:10.247768"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.245193"], ["updated_at", "2014-11-19 22:54:10.248761"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.257113"], ["updated_at", "2014-11-19 22:54:10.257555"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.257198"], ["updated_at", "2014-11-19 22:54:10.258670"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.257235"], ["updated_at", "2014-11-19 22:54:10.259662"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.257271"], ["updated_at", "2014-11-19 22:54:10.260670"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.269271"], ["updated_at", "2014-11-19 22:54:10.269727"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.269327"], ["updated_at", "2014-11-19 22:54:10.270729"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.269364"], ["updated_at", "2014-11-19 22:54:10.271618"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.269399"], ["updated_at", "2014-11-19 22:54:10.272516"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.286775"], ["updated_at", "2014-11-19 22:54:10.287514"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.286832"], ["updated_at", "2014-11-19 22:54:10.289030"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.286870"], ["updated_at", "2014-11-19 22:54:10.290031"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.286906"], ["updated_at", "2014-11-19 22:54:10.290958"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.305668"], ["updated_at", "2014-11-19 22:54:10.306180"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.305730"], ["updated_at", "2014-11-19 22:54:10.307367"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.305770"], ["updated_at", "2014-11-19 22:54:10.308489"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.305860"], ["updated_at", "2014-11-19 22:54:10.309608"]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.312989"], ["updated_at", "2014-11-19 22:54:10.313534"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.313107"], ["updated_at", "2014-11-19 22:54:10.314604"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.313146"], ["updated_at", "2014-11-19 22:54:10.315617"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.313182"], ["updated_at", "2014-11-19 22:54:10.316612"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.331431"], ["updated_at", "2014-11-19 22:54:10.331913"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.331513"], ["updated_at", "2014-11-19 22:54:10.332969"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.331551"], ["updated_at", "2014-11-19 22:54:10.333940"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.331587"], ["updated_at", "2014-11-19 22:54:10.334904"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.349161"], ["updated_at", "2014-11-19 22:54:10.349629"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.349226"], ["updated_at", "2014-11-19 22:54:10.350775"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.349265"], ["updated_at", "2014-11-19 22:54:10.351801"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.349302"], ["updated_at", "2014-11-19 22:54:10.352798"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.362288"], ["updated_at", "2014-11-19 22:54:10.362776"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.362345"], ["updated_at", "2014-11-19 22:54:10.363923"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.362383"], ["updated_at", "2014-11-19 22:54:10.364983"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.362420"], ["updated_at", "2014-11-19 22:54:10.365903"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.376378"], ["updated_at", "2014-11-19 22:54:10.376859"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.376456"], ["updated_at", "2014-11-19 22:54:10.377992"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.376494"], ["updated_at", "2014-11-19 22:54:10.379064"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.376529"], ["updated_at", "2014-11-19 22:54:10.380139"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.394086"], ["updated_at", "2014-11-19 22:54:10.394619"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.394177"], ["updated_at", "2014-11-19 22:54:10.395683"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.394218"], ["updated_at", "2014-11-19 22:54:10.396693"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.394255"], ["updated_at", "2014-11-19 22:54:10.397751"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.406364"], ["updated_at", "2014-11-19 22:54:10.406906"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.406428"], ["updated_at", "2014-11-19 22:54:10.408087"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.406470"], ["updated_at", "2014-11-19 22:54:10.409169"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.406525"], ["updated_at", "2014-11-19 22:54:10.410221"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.424149"], ["updated_at", "2014-11-19 22:54:10.424654"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.424223"], ["updated_at", "2014-11-19 22:54:10.425736"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.424263"], ["updated_at", "2014-11-19 22:54:10.426803"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.424301"], ["updated_at", "2014-11-19 22:54:10.427783"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.441383"], ["updated_at", "2014-11-19 22:54:10.441905"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.441458"], ["updated_at", "2014-11-19 22:54:10.443022"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.441505"], ["updated_at", "2014-11-19 22:54:10.444086"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.441551"], ["updated_at", "2014-11-19 22:54:10.445396"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.460300"], ["updated_at", "2014-11-19 22:54:10.460866"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.460367"], ["updated_at", "2014-11-19 22:54:10.461975"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.460406"], ["updated_at", "2014-11-19 22:54:10.463103"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.460443"], ["updated_at", "2014-11-19 22:54:10.464149"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.473033"], ["updated_at", "2014-11-19 22:54:10.473537"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.473103"], ["updated_at", "2014-11-19 22:54:10.474821"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.473163"], ["updated_at", "2014-11-19 22:54:10.475864"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.473202"], ["updated_at", "2014-11-19 22:54:10.476950"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:54:10.485908"], ["updated_at", "2014-11-19 22:54:10.486366"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 22:54:10.485963"], ["updated_at", "2014-11-19 22:54:10.487497"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:54:10.486016"], ["updated_at", "2014-11-19 22:54:10.488653"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:54:10.486052"], ["updated_at", "2014-11-19 22:54:10.489764"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:10.494213"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:54:10.494213"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.495893"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.495893"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"21", "graph_id"=>"16"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 16]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 21]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 21 AND "prosperity_dashboard_graphs"."graph_id" = 16) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:10.508658"], ["dashboard_id", 21], ["graph_id", 16], ["updated_at", "2014-11-19 22:54:10.508658"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/21/edit Completed 302 Found in 12ms (ActiveRecord: 1.2ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 16]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 21]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:10.514837"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:54:10.514837"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.516584"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.516584"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"22", "graph_id"=>"17"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 17]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 22]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 22 AND "prosperity_dashboard_graphs"."graph_id" = 17) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:10.521195"], ["dashboard_id", 22], ["graph_id", 17], ["updated_at", "2014-11-19 22:54:10.521195"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards/22/edit Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"22", "graph_id"=>"17"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 17]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 22]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 22 AND "prosperity_dashboard_graphs"."graph_id" = 17) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/22/edit Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.529090"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.529090"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:10.530854"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:54:10.530854"]]  (0.3ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 23 AND "prosperity_dashboard_graphs"."graph_id" = 18) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:10.533000"], ["dashboard_id", 23], ["graph_id", 18], ["updated_at", "2014-11-19 22:54:10.533000"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"23", "graph_id"=>"18"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 18]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 23]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 18 AND "prosperity_dashboard_graphs"."dashboard_id" = 23 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 6]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/23/edit Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 22:54:10.541594"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 22:54:10.541594"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.543472"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.543472"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"24", "graph_id"=>"19"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 19]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 24]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 19 AND "prosperity_dashboard_graphs"."dashboard_id" = 24 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.551871"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.551871"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/20/edit Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (3.0ms) Completed 200 OK in 12ms (Views: 8.6ms | ActiveRecord: 0.2ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.3ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.576561"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.576561"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"21"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 21]] Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 21]] Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.9ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.584752"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.584752"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 22:54:10.590617"], ["extractor", "count"], ["graph_id", 22], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 22:54:10.590617"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"22"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 22]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 22]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.596835"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.596835"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"23"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 23]] Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 2ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.606464"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.606464"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"24"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 24]] Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.612234"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.612234"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"25"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 25]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.617851"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.617851"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"26"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 26]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.4ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 26]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.3ms)  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.632548"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.632548"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 22:54:10.635226"], ["extractor", "count"], ["graph_id", 27], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 22:54:10.635226"]]  (0.4ms) COMMIT Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 27]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"7", "_destroy"=>true}}}, "id"=>"27"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 27]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (7) [["graph_id", 27]] SQL (0.2ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 7]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/27/edit Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 7 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.646682"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.646682"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 22:54:10.648913"], ["extractor", "count"], ["graph_id", 28], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 22:54:10.648913"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 28]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"8", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"28"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 28]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (8) [["graph_id", 28]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 8 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-19 22:54:10.655110"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/graphs/28/edit Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 28]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 28]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.660181"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.660181"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 22:54:10.662187"], ["extractor", "count"], ["graph_id", 29], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 22:54:10.662187"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"9"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"29"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 29]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (9) [["graph_id", 29]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 9 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-19 22:54:10.667455"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/29/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 9]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 29]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 29]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 22:54:10.672040"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 22:54:10.672040"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"30"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 30]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 22:54:10.676038"], ["extractor", "count"], ["graph_id", 30], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 22:54:10.676038"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/30/edit Completed 302 Found in 3ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 30]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 30]] User Load (0.3ms) SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (8.0ms) DROP TABLE "users"  (3.3ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.8ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:55:23.748748"], ["updated_at", "2014-11-19 22:55:23.757512"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:55:23.748898"], ["updated_at", "2014-11-19 22:55:23.761121"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:55:23.748949"], ["updated_at", "2014-11-19 22:55:23.762228"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:55:23.762958"], ["updated_at", "2014-11-19 22:55:23.763291"]]  (0.2ms) COMMIT User Load (1.7ms) SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (8.5ms) DROP TABLE "users"  (3.5ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.7ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:56:07.266012"], ["updated_at", "2014-11-19 22:56:07.274713"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:56:07.266162"], ["updated_at", "2014-11-19 22:56:07.279142"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:56:07.266208"], ["updated_at", "2014-11-19 22:56:07.280424"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:56:07.281366"], ["updated_at", "2014-11-19 22:56:07.281703"]]  (0.2ms) COMMIT User Load (1.7ms) SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (8.3ms) DROP TABLE "users"  (5.1ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 22:56:35.591996"], ["updated_at", "2014-11-19 22:56:35.601375"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 22:56:35.592160"], ["updated_at", "2014-11-19 22:56:35.604999"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 22:56:35.592207"], ["updated_at", "2014-11-19 22:56:35.606086"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 22:56:35.606876"], ["updated_at", "2014-11-19 22:56:35.607206"]]  (0.2ms) COMMIT  (8.2ms) DROP TABLE "users"  (4.2ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:05:12.521385"], ["updated_at", "2014-11-19 23:05:12.530096"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:05:12.521559"], ["updated_at", "2014-11-19 23:05:12.533652"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:05:12.521603"], ["updated_at", "2014-11-19 23:05:12.534747"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:05:12.535624"], ["updated_at", "2014-11-19 23:05:12.535924"]]  (0.3ms) COMMIT  (8.0ms) DROP TABLE "users"  (3.4ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:05:32.172553"], ["updated_at", "2014-11-19 23:05:32.181207"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:05:32.172708"], ["updated_at", "2014-11-19 23:05:32.184901"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:05:32.172753"], ["updated_at", "2014-11-19 23:05:32.185926"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:05:32.186623"], ["updated_at", "2014-11-19 23:05:32.186890"]]  (0.3ms) COMMIT  (1.9ms) DROP TABLE "users"  (3.7ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:13.565606"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:13.565606"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"31"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 31]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (9.4ms) Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 31]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.5ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/edit.html.erb within layouts/prosperity/application (20.4ms) Completed 200 OK in 84ms (Views: 64.5ms | ActiveRecord: 1.7ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.5ms) Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:13.666904"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:13.666904"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"32"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 32]] Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:13.676139"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:13.676139"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"33"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 33]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:13.681722"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:13.681722"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"34"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 34]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.2ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:13.689913"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:13.689913"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:13.692025"], ["extractor", "count"], ["graph_id", 35], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:13.692025"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"35"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 35]] Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 35]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:13.697971"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:13.697971"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"36"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 36]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 36]] Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:13.703014"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:13.703014"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:13.704868"], ["extractor", "count"], ["graph_id", 37], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:13.704868"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 37]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"12", "_destroy"=>true}}}, "id"=>"37"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 37]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (12) [["graph_id", 37]] SQL (0.2ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 12]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/37/edit Completed 302 Found in 6ms (ActiveRecord: 1.0ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 12 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:13.715786"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:13.715786"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:13.717534"], ["extractor", "count"], ["graph_id", 38], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:13.717534"]]  (0.4ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 38]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"13", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"38"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 38]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (13) [["graph_id", 38]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 13 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-19 23:08:13.722872"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/38/edit Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 38]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 38]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:13.727705"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:13.727705"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:13.729395"], ["extractor", "count"], ["graph_id", 39], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:13.729395"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"14"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"39"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 39]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (14) [["graph_id", 39]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 14 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-19 23:08:13.734211"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/39/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 14]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 39]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 39]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:13.739039"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:13.739039"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"40"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 40]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:13.743126"], ["extractor", "count"], ["graph_id", 40], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:13.743126"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/40/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 40]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 40]] Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.1ms) Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:13.759601"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:13.759601"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/41/edit Completed 302 Found in 3ms (ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_graphs" SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.763855"], ["updated_at", "2014-11-19 23:08:13.769436"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.763993"], ["updated_at", "2014-11-19 23:08:13.771070"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.764061"], ["updated_at", "2014-11-19 23:08:13.772106"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.764123"], ["updated_at", "2014-11-19 23:08:13.773096"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.782266"], ["updated_at", "2014-11-19 23:08:13.782737"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.782331"], ["updated_at", "2014-11-19 23:08:13.783762"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.782372"], ["updated_at", "2014-11-19 23:08:13.784670"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.782410"], ["updated_at", "2014-11-19 23:08:13.785572"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.795064"], ["updated_at", "2014-11-19 23:08:13.795569"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.795139"], ["updated_at", "2014-11-19 23:08:13.796633"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.795181"], ["updated_at", "2014-11-19 23:08:13.797521"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.795220"], ["updated_at", "2014-11-19 23:08:13.798372"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.812315"], ["updated_at", "2014-11-19 23:08:13.812805"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.812381"], ["updated_at", "2014-11-19 23:08:13.813869"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.812423"], ["updated_at", "2014-11-19 23:08:13.814980"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.812462"], ["updated_at", "2014-11-19 23:08:13.816161"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.830180"], ["updated_at", "2014-11-19 23:08:13.830693"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.830245"], ["updated_at", "2014-11-19 23:08:13.831863"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.830285"], ["updated_at", "2014-11-19 23:08:13.832874"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.830324"], ["updated_at", "2014-11-19 23:08:13.833770"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.836928"], ["updated_at", "2014-11-19 23:08:13.837405"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.836995"], ["updated_at", "2014-11-19 23:08:13.838496"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.837037"], ["updated_at", "2014-11-19 23:08:13.839492"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.837075"], ["updated_at", "2014-11-19 23:08:13.840456"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.849135"], ["updated_at", "2014-11-19 23:08:13.849573"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.849205"], ["updated_at", "2014-11-19 23:08:13.850632"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.849254"], ["updated_at", "2014-11-19 23:08:13.851601"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.849291"], ["updated_at", "2014-11-19 23:08:13.852473"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.854872"], ["updated_at", "2014-11-19 23:08:13.855303"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.854933"], ["updated_at", "2014-11-19 23:08:13.856389"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.854972"], ["updated_at", "2014-11-19 23:08:13.857227"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.855009"], ["updated_at", "2014-11-19 23:08:13.858259"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.868669"], ["updated_at", "2014-11-19 23:08:13.869167"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.868743"], ["updated_at", "2014-11-19 23:08:13.870401"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.868786"], ["updated_at", "2014-11-19 23:08:13.871400"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.868825"], ["updated_at", "2014-11-19 23:08:13.872335"]]  (0.2ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.887110"], ["updated_at", "2014-11-19 23:08:13.887639"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.887193"], ["updated_at", "2014-11-19 23:08:13.888842"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.887250"], ["updated_at", "2014-11-19 23:08:13.889808"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.887302"], ["updated_at", "2014-11-19 23:08:13.890770"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.904665"], ["updated_at", "2014-11-19 23:08:13.905141"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.904735"], ["updated_at", "2014-11-19 23:08:13.906283"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.904777"], ["updated_at", "2014-11-19 23:08:13.907198"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.904815"], ["updated_at", "2014-11-19 23:08:13.908253"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.921825"], ["updated_at", "2014-11-19 23:08:13.922299"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.921887"], ["updated_at", "2014-11-19 23:08:13.923389"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.921928"], ["updated_at", "2014-11-19 23:08:13.924448"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.921966"], ["updated_at", "2014-11-19 23:08:13.925322"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.934324"], ["updated_at", "2014-11-19 23:08:13.934874"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.934413"], ["updated_at", "2014-11-19 23:08:13.936014"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.934470"], ["updated_at", "2014-11-19 23:08:13.936994"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.934509"], ["updated_at", "2014-11-19 23:08:13.937955"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.952001"], ["updated_at", "2014-11-19 23:08:13.952524"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.952075"], ["updated_at", "2014-11-19 23:08:13.953681"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.952125"], ["updated_at", "2014-11-19 23:08:13.954690"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.952165"], ["updated_at", "2014-11-19 23:08:13.955667"]]  (0.2ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.969660"], ["updated_at", "2014-11-19 23:08:13.970138"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.969726"], ["updated_at", "2014-11-19 23:08:13.971176"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.969773"], ["updated_at", "2014-11-19 23:08:13.972079"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.969814"], ["updated_at", "2014-11-19 23:08:13.972958"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.981644"], ["updated_at", "2014-11-19 23:08:13.982083"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.981709"], ["updated_at", "2014-11-19 23:08:13.983227"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.981751"], ["updated_at", "2014-11-19 23:08:13.984186"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.981790"], ["updated_at", "2014-11-19 23:08:13.985206"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:13.994169"], ["updated_at", "2014-11-19 23:08:13.994660"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:13.994233"], ["updated_at", "2014-11-19 23:08:13.995827"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:13.994274"], ["updated_at", "2014-11-19 23:08:13.996789"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:13.994313"], ["updated_at", "2014-11-19 23:08:13.997791"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:14.012313"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:14.012313"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"25"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 25]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.8ms) Prosperity::Graph Exists (0.5ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 25]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 25]] Completed 200 OK in 22ms (Views: 19.4ms | ActiveRecord: 1.9ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:14.039703"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:14.039703"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"26"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 26]]  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 26]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.8ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 26 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:14.046610"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:14.046610"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"27"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 27]] Prosperity::Graph Exists (0.1ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 27]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.8ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:14.059393"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:14.059393"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 16ms (Views: 15.7ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:14.079480"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:14.079480"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:14.089133"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:14.089133"]]  (0.4ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:14.092533"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-19 23:08:14.092533"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards/31/edit Completed 302 Found in 2ms (ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:14.095954"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:14.095954"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.3ms) Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (1.5ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') undefined method `to_sql' for {"2014-38"=>1, "2014-42"=>1}:Hash /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:38:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:82:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 4ms (Views: 0.1ms | ActiveRecord: 1.6ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') undefined method `to_sql' for {}:Hash /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:38:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:88:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:14.165074"], ["updated_at", "2014-11-19 23:08:14.165779"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:14.165181"], ["updated_at", "2014-11-19 23:08:14.167064"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:14.165279"], ["updated_at", "2014-11-19 23:08:14.168062"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:14.168797"], ["updated_at", "2014-11-19 23:08:14.169104"]]  (0.3ms) COMMIT  (0.4ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:14.172371"], ["updated_at", "2014-11-19 23:08:14.172779"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:14.172435"], ["updated_at", "2014-11-19 23:08:14.173860"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:14.172475"], ["updated_at", "2014-11-19 23:08:14.174860"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:14.175638"], ["updated_at", "2014-11-19 23:08:14.175888"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:14.178886"], ["updated_at", "2014-11-19 23:08:14.179307"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:14.178956"], ["updated_at", "2014-11-19 23:08:14.180437"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:14.178997"], ["updated_at", "2014-11-19 23:08:14.181437"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:14.182210"], ["updated_at", "2014-11-19 23:08:14.182452"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:14.185054"], ["updated_at", "2014-11-19 23:08:14.185445"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:14.185128"], ["updated_at", "2014-11-19 23:08:14.186485"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:14.185170"], ["updated_at", "2014-11-19 23:08:14.187459"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:14.188229"], ["updated_at", "2014-11-19 23:08:14.188467"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"33", "graph_id"=>"42"} Completed 404 Not Found in 10ms Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"34", "graph_id"=>"43"} Redirected to http://test.host/prosperity/dashboards/34/edit Completed 302 Found in 11ms (ActiveRecord: 1.5ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"35", "graph_id"=>"44"} Redirected to http://test.host/prosperity/dashboards/35/edit Completed 302 Found in 28ms (ActiveRecord: 2.1ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"35", "graph_id"=>"44"} Redirected to http://test.host/prosperity/dashboards/35/edit Completed 302 Found in 20ms (ActiveRecord: 1.2ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"36", "graph_id"=>"45"} Redirected to http://test.host/prosperity/dashboards/36/edit Completed 302 Found in 18ms (ActiveRecord: 1.6ms)  (2.3ms) DROP TABLE "users"  (4.2ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:40.921591"], ["updated_at", "2014-11-19 23:08:40.930564"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:40.921745"], ["updated_at", "2014-11-19 23:08:40.933879"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:40.921795"], ["updated_at", "2014-11-19 23:08:40.934894"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:40.935624"], ["updated_at", "2014-11-19 23:08:40.935961"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:08:40.936899"], ["updated_at", "2014-11-19 23:08:40.936899"], ["value", 1]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:08:40.937900"], ["updated_at", "2014-11-19 23:08:40.937900"], ["value", 3]]  (0.2ms) COMMIT  (1.4ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:40.945281"], ["updated_at", "2014-11-19 23:08:40.945775"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:40.945379"], ["updated_at", "2014-11-19 23:08:40.946961"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:40.945418"], ["updated_at", "2014-11-19 23:08:40.947961"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:40.948666"], ["updated_at", "2014-11-19 23:08:40.948982"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:08:40.949915"], ["updated_at", "2014-11-19 23:08:40.949915"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:08:40.950831"], ["updated_at", "2014-11-19 23:08:40.950831"], ["value", 3]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket   (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:40.954788"], ["updated_at", "2014-11-19 23:08:40.955271"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:40.954881"], ["updated_at", "2014-11-19 23:08:40.956237"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:40.954922"], ["updated_at", "2014-11-19 23:08:40.957140"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:40.957846"], ["updated_at", "2014-11-19 23:08:40.958109"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:08:40.958957"], ["updated_at", "2014-11-19 23:08:40.958957"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:08:40.959829"], ["updated_at", "2014-11-19 23:08:40.959829"], ["value", 3]]  (0.2ms) COMMIT SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:40.962815"], ["updated_at", "2014-11-19 23:08:40.963216"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:40.962880"], ["updated_at", "2014-11-19 23:08:40.964163"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:40.962920"], ["updated_at", "2014-11-19 23:08:40.965102"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:40.965788"], ["updated_at", "2014-11-19 23:08:40.966066"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:40.969519"], ["updated_at", "2014-11-19 23:08:40.969922"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:40.969585"], ["updated_at", "2014-11-19 23:08:40.970871"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:40.969624"], ["updated_at", "2014-11-19 23:08:40.971693"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:40.972294"], ["updated_at", "2014-11-19 23:08:40.972539"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:40.976533"], ["updated_at", "2014-11-19 23:08:40.976995"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:40.976597"], ["updated_at", "2014-11-19 23:08:40.978056"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:40.976635"], ["updated_at", "2014-11-19 23:08:40.979071"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:40.979788"], ["updated_at", "2014-11-19 23:08:40.980043"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:40.984508"], ["updated_at", "2014-11-19 23:08:40.984911"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:40.984572"], ["updated_at", "2014-11-19 23:08:40.985988"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:40.984624"], ["updated_at", "2014-11-19 23:08:40.986876"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:40.987539"], ["updated_at", "2014-11-19 23:08:40.987776"]]  (0.2ms) COMMIT  (0.4ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:40.992403"], ["updated_at", "2014-11-19 23:08:40.992859"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:40.992484"], ["updated_at", "2014-11-19 23:08:40.993909"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:40.992526"], ["updated_at", "2014-11-19 23:08:40.994879"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:40.995633"], ["updated_at", "2014-11-19 23:08:40.995883"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:40.999418"], ["updated_at", "2014-11-19 23:08:40.999804"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:40.999475"], ["updated_at", "2014-11-19 23:08:41.000761"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:40.999511"], ["updated_at", "2014-11-19 23:08:41.001687"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.002450"], ["updated_at", "2014-11-19 23:08:41.002934"]]  (0.2ms) COMMIT User Load (0.3ms) SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.007616"], ["updated_at", "2014-11-19 23:08:41.008065"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.007689"], ["updated_at", "2014-11-19 23:08:41.009123"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.007730"], ["updated_at", "2014-11-19 23:08:41.010470"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.011443"], ["updated_at", "2014-11-19 23:08:41.011826"]]  (0.3ms) COMMIT  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.016151"], ["updated_at", "2014-11-19 23:08:41.016640"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.016223"], ["updated_at", "2014-11-19 23:08:41.017692"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.016271"], ["updated_at", "2014-11-19 23:08:41.018573"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.019232"], ["updated_at", "2014-11-19 23:08:41.019495"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.022880"], ["updated_at", "2014-11-19 23:08:41.023339"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.022961"], ["updated_at", "2014-11-19 23:08:41.024358"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.022999"], ["updated_at", "2014-11-19 23:08:41.025321"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.026006"], ["updated_at", "2014-11-19 23:08:41.026273"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.029659"], ["updated_at", "2014-11-19 23:08:41.030108"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.029723"], ["updated_at", "2014-11-19 23:08:41.031227"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.029764"], ["updated_at", "2014-11-19 23:08:41.032175"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.032820"], ["updated_at", "2014-11-19 23:08:41.033093"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.036526"], ["updated_at", "2014-11-19 23:08:41.036944"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.036591"], ["updated_at", "2014-11-19 23:08:41.038004"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.036638"], ["updated_at", "2014-11-19 23:08:41.038882"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.039532"], ["updated_at", "2014-11-19 23:08:41.039808"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.043612"], ["updated_at", "2014-11-19 23:08:41.044036"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.043674"], ["updated_at", "2014-11-19 23:08:41.045017"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.043712"], ["updated_at", "2014-11-19 23:08:41.046006"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.046773"], ["updated_at", "2014-11-19 23:08:41.047036"]]  (0.3ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.051772"], ["updated_at", "2014-11-19 23:08:41.052184"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.051830"], ["updated_at", "2014-11-19 23:08:41.053329"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.051867"], ["updated_at", "2014-11-19 23:08:41.054326"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.055130"], ["updated_at", "2014-11-19 23:08:41.055424"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.058658"], ["updated_at", "2014-11-19 23:08:41.059063"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.058718"], ["updated_at", "2014-11-19 23:08:41.060201"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.058757"], ["updated_at", "2014-11-19 23:08:41.061147"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.061838"], ["updated_at", "2014-11-19 23:08:41.062106"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.065657"], ["updated_at", "2014-11-19 23:08:41.066289"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.065720"], ["updated_at", "2014-11-19 23:08:41.067808"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.065757"], ["updated_at", "2014-11-19 23:08:41.068914"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.069719"], ["updated_at", "2014-11-19 23:08:41.070033"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.074523"], ["updated_at", "2014-11-19 23:08:41.075007"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.074583"], ["updated_at", "2014-11-19 23:08:41.076126"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.074628"], ["updated_at", "2014-11-19 23:08:41.077286"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.078147"], ["updated_at", "2014-11-19 23:08:41.078468"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.082712"], ["updated_at", "2014-11-19 23:08:41.083186"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.082779"], ["updated_at", "2014-11-19 23:08:41.084315"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.082820"], ["updated_at", "2014-11-19 23:08:41.085279"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.085984"], ["updated_at", "2014-11-19 23:08:41.086291"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.090069"], ["updated_at", "2014-11-19 23:08:41.090506"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.090129"], ["updated_at", "2014-11-19 23:08:41.091530"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.090169"], ["updated_at", "2014-11-19 23:08:41.092541"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.093229"], ["updated_at", "2014-11-19 23:08:41.093515"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.096968"], ["updated_at", "2014-11-19 23:08:41.097426"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.097067"], ["updated_at", "2014-11-19 23:08:41.098684"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.097111"], ["updated_at", "2014-11-19 23:08:41.099657"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.100311"], ["updated_at", "2014-11-19 23:08:41.100573"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.107046"], ["updated_at", "2014-11-19 23:08:41.107506"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.107117"], ["updated_at", "2014-11-19 23:08:41.108567"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.107165"], ["updated_at", "2014-11-19 23:08:41.109787"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.110542"], ["updated_at", "2014-11-19 23:08:41.110812"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.117106"], ["updated_at", "2014-11-19 23:08:41.117555"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.117168"], ["updated_at", "2014-11-19 23:08:41.118652"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.117206"], ["updated_at", "2014-11-19 23:08:41.119581"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.120260"], ["updated_at", "2014-11-19 23:08:41.120521"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.123045"], ["updated_at", "2014-11-19 23:08:41.123420"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.123102"], ["updated_at", "2014-11-19 23:08:41.124652"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.123140"], ["updated_at", "2014-11-19 23:08:41.125732"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:41.126446"], ["updated_at", "2014-11-19 23:08:41.126696"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.129827"], ["updated_at", "2014-11-19 23:08:41.130250"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.129893"], ["updated_at", "2014-11-19 23:08:41.131265"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.129943"], ["updated_at", "2014-11-19 23:08:41.132139"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.134796"], ["updated_at", "2014-11-19 23:08:41.135177"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.134859"], ["updated_at", "2014-11-19 23:08:41.136192"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.134897"], ["updated_at", "2014-11-19 23:08:41.137165"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.142964"], ["updated_at", "2014-11-19 23:08:41.143500"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.143062"], ["updated_at", "2014-11-19 23:08:41.144803"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.143111"], ["updated_at", "2014-11-19 23:08:41.145883"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') [1m (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.154852"], ["updated_at", "2014-11-19 23:08:41.155335"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.154917"], ["updated_at", "2014-11-19 23:08:41.156404"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.154964"], ["updated_at", "2014-11-19 23:08:41.157329"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.165777"], ["updated_at", "2014-11-19 23:08:41.166235"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.165843"], ["updated_at", "2014-11-19 23:08:41.167286"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.165896"], ["updated_at", "2014-11-19 23:08:41.168204"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.176774"], ["updated_at", "2014-11-19 23:08:41.177277"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.176841"], ["updated_at", "2014-11-19 23:08:41.178416"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.176899"], ["updated_at", "2014-11-19 23:08:41.179381"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.184737"], ["updated_at", "2014-11-19 23:08:41.185143"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.184795"], ["updated_at", "2014-11-19 23:08:41.186121"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.184847"], ["updated_at", "2014-11-19 23:08:41.187233"]]  (0.3ms) COMMIT SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.191285"], ["updated_at", "2014-11-19 23:08:41.192024"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.191450"], ["updated_at", "2014-11-19 23:08:41.193596"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.191514"], ["updated_at", "2014-11-19 23:08:41.194737"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.203256"], ["updated_at", "2014-11-19 23:08:41.203652"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.203313"], ["updated_at", "2014-11-19 23:08:41.204719"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.203356"], ["updated_at", "2014-11-19 23:08:41.205689"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.212141"], ["updated_at", "2014-11-19 23:08:41.212606"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.212202"], ["updated_at", "2014-11-19 23:08:41.213733"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.212249"], ["updated_at", "2014-11-19 23:08:41.214804"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.220411"], ["updated_at", "2014-11-19 23:08:41.220816"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.220470"], ["updated_at", "2014-11-19 23:08:41.221806"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.220510"], ["updated_at", "2014-11-19 23:08:41.222770"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.228118"], ["updated_at", "2014-11-19 23:08:41.228511"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.228173"], ["updated_at", "2014-11-19 23:08:41.229536"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.228210"], ["updated_at", "2014-11-19 23:08:41.230520"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.236386"], ["updated_at", "2014-11-19 23:08:41.236794"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.236445"], ["updated_at", "2014-11-19 23:08:41.237806"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.236485"], ["updated_at", "2014-11-19 23:08:41.238752"]]  (0.3ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.247407"], ["updated_at", "2014-11-19 23:08:41.247933"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.247479"], ["updated_at", "2014-11-19 23:08:41.249176"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.247523"], ["updated_at", "2014-11-19 23:08:41.250160"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.259706"], ["updated_at", "2014-11-19 23:08:41.260178"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.259775"], ["updated_at", "2014-11-19 23:08:41.261321"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.259816"], ["updated_at", "2014-11-19 23:08:41.262288"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.282001"], ["updated_at", "2014-11-19 23:08:41.282525"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.282104"], ["updated_at", "2014-11-19 23:08:41.284171"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.282144"], ["updated_at", "2014-11-19 23:08:41.285437"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.296249"], ["updated_at", "2014-11-19 23:08:41.296743"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.296319"], ["updated_at", "2014-11-19 23:08:41.298036"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.296360"], ["updated_at", "2014-11-19 23:08:41.299279"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.305243"], ["updated_at", "2014-11-19 23:08:41.305659"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.305306"], ["updated_at", "2014-11-19 23:08:41.307157"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.305346"], ["updated_at", "2014-11-19 23:08:41.308288"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.346702"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.346702"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"46"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 46]]  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:41.368020"], ["extractor", "count"], ["graph_id", 46], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:41.368020"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/46/edit Completed 302 Found in 19ms (ActiveRecord: 2.5ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 46]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 46]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.373690"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.373690"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:41.375708"], ["extractor", "count"], ["graph_id", 47], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:41.375708"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 47]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"17", "_destroy"=>true}}}, "id"=>"47"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 47]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (17) [["graph_id", 47]] SQL (0.2ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 17]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/47/edit Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 17 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.388423"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.388423"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:41.390356"], ["extractor", "count"], ["graph_id", 48], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:41.390356"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 48]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"18", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"48"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 48]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (18) [["graph_id", 48]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 18 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-19 23:08:41.396165"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/48/edit Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 48]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 48]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.401054"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.401054"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:41.403021"], ["extractor", "count"], ["graph_id", 49], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:41.403021"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"19"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"49"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 49]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (19) [["graph_id", 49]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 19 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-19 23:08:41.409196"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/49/edit Completed 302 Found in 5ms (ActiveRecord: 1.2ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 19]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 49]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 49]] Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (6.4ms) Completed 200 OK in 30ms (Views: 29.8ms | ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.450094"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.450094"]]  (0.5ms) COMMIT Redirected to http://test.host/prosperity/graphs/50/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.2ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.6ms) Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.465689"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.465689"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"51"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 51]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.2ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 51]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.5ms) Completed 200 OK in 14ms (Views: 11.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.484315"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.484315"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"52"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 52]] Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 52]] Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.489475"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.489475"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:41.491462"], ["extractor", "count"], ["graph_id", 53], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:41.491462"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"53"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 53]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 53]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.6ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.497970"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.497970"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"54"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 54]] Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.505997"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.505997"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"55"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 55]] Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.511363"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.511363"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"56"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 56]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 1ms (Views: 0.9ms | ActiveRecord: 0.2ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.7ms) Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.3ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:41.583037"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:41.583037"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.584943"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.584943"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"37", "graph_id"=>"57"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 57]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 37]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 37 AND "prosperity_dashboard_graphs"."graph_id" = 57) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:41.600365"], ["dashboard_id", 37], ["graph_id", 57], ["updated_at", "2014-11-19 23:08:41.600365"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/37/edit Completed 302 Found in 14ms (ActiveRecord: 1.2ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 57]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 37]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:41.606111"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:41.606111"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.607883"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.607883"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"38", "graph_id"=>"58"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 58]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 38]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 38 AND "prosperity_dashboard_graphs"."graph_id" = 58) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:41.612449"], ["dashboard_id", 38], ["graph_id", 58], ["updated_at", "2014-11-19 23:08:41.612449"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/38/edit Completed 302 Found in 3ms (ActiveRecord: 1.0ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"38", "graph_id"=>"58"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 58]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 38]]  (0.2ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 38 AND "prosperity_dashboard_graphs"."graph_id" = 58) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/38/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.620998"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.620998"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:41.622484"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:41.622484"]]  (0.3ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 39 AND "prosperity_dashboard_graphs"."graph_id" = 59) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:41.624775"], ["dashboard_id", 39], ["graph_id", 59], ["updated_at", "2014-11-19 23:08:41.624775"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"39", "graph_id"=>"59"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 59]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 39]] Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 59 AND "prosperity_dashboard_graphs"."dashboard_id" = 39 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 12]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/39/edit Completed 302 Found in 4ms (ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:41.632864"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:41.632864"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:41.634396"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:41.634396"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"40", "graph_id"=>"60"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 60]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 40]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 60 AND "prosperity_dashboard_graphs"."dashboard_id" = 40 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.639724"], ["updated_at", "2014-11-19 23:08:41.640345"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.639830"], ["updated_at", "2014-11-19 23:08:41.641417"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.639881"], ["updated_at", "2014-11-19 23:08:41.642278"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.639923"], ["updated_at", "2014-11-19 23:08:41.643137"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.652122"], ["updated_at", "2014-11-19 23:08:41.652587"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.652183"], ["updated_at", "2014-11-19 23:08:41.653562"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.652224"], ["updated_at", "2014-11-19 23:08:41.654471"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.652263"], ["updated_at", "2014-11-19 23:08:41.655386"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.668156"], ["updated_at", "2014-11-19 23:08:41.668635"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.668229"], ["updated_at", "2014-11-19 23:08:41.669677"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.668270"], ["updated_at", "2014-11-19 23:08:41.670572"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.668307"], ["updated_at", "2014-11-19 23:08:41.671447"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.685468"], ["updated_at", "2014-11-19 23:08:41.685941"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.685531"], ["updated_at", "2014-11-19 23:08:41.687039"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.685572"], ["updated_at", "2014-11-19 23:08:41.687972"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.685611"], ["updated_at", "2014-11-19 23:08:41.688900"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.701779"], ["updated_at", "2014-11-19 23:08:41.702255"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.701843"], ["updated_at", "2014-11-19 23:08:41.703412"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.701884"], ["updated_at", "2014-11-19 23:08:41.704330"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.701923"], ["updated_at", "2014-11-19 23:08:41.705201"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.713492"], ["updated_at", "2014-11-19 23:08:41.713911"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.713551"], ["updated_at", "2014-11-19 23:08:41.714871"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.713590"], ["updated_at", "2014-11-19 23:08:41.715806"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.713626"], ["updated_at", "2014-11-19 23:08:41.716673"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.718922"], ["updated_at", "2014-11-19 23:08:41.719371"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.718985"], ["updated_at", "2014-11-19 23:08:41.720451"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.719026"], ["updated_at", "2014-11-19 23:08:41.721487"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.719063"], ["updated_at", "2014-11-19 23:08:41.722464"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.737799"], ["updated_at", "2014-11-19 23:08:41.738294"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.737863"], ["updated_at", "2014-11-19 23:08:41.739426"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.737909"], ["updated_at", "2014-11-19 23:08:41.740335"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.737948"], ["updated_at", "2014-11-19 23:08:41.741213"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.750369"], ["updated_at", "2014-11-19 23:08:41.750822"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.750430"], ["updated_at", "2014-11-19 23:08:41.751900"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.750473"], ["updated_at", "2014-11-19 23:08:41.752876"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.750512"], ["updated_at", "2014-11-19 23:08:41.753827"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.764914"], ["updated_at", "2014-11-19 23:08:41.765425"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.764977"], ["updated_at", "2014-11-19 23:08:41.766652"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.765023"], ["updated_at", "2014-11-19 23:08:41.767832"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.765062"], ["updated_at", "2014-11-19 23:08:41.768863"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.777410"], ["updated_at", "2014-11-19 23:08:41.777892"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.777473"], ["updated_at", "2014-11-19 23:08:41.778955"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.777514"], ["updated_at", "2014-11-19 23:08:41.779933"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.777552"], ["updated_at", "2014-11-19 23:08:41.780904"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.789415"], ["updated_at", "2014-11-19 23:08:41.789858"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.789479"], ["updated_at", "2014-11-19 23:08:41.790957"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.789519"], ["updated_at", "2014-11-19 23:08:41.792040"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.789557"], ["updated_at", "2014-11-19 23:08:41.792996"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.806922"], ["updated_at", "2014-11-19 23:08:41.807420"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.806992"], ["updated_at", "2014-11-19 23:08:41.808452"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.807033"], ["updated_at", "2014-11-19 23:08:41.809335"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.807073"], ["updated_at", "2014-11-19 23:08:41.810195"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.818627"], ["updated_at", "2014-11-19 23:08:41.819121"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.818689"], ["updated_at", "2014-11-19 23:08:41.820233"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.818729"], ["updated_at", "2014-11-19 23:08:41.821139"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.818767"], ["updated_at", "2014-11-19 23:08:41.822003"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.830907"], ["updated_at", "2014-11-19 23:08:41.831417"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.830977"], ["updated_at", "2014-11-19 23:08:41.832537"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.831023"], ["updated_at", "2014-11-19 23:08:41.833542"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.831065"], ["updated_at", "2014-11-19 23:08:41.834462"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.850520"], ["updated_at", "2014-11-19 23:08:41.850992"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.850582"], ["updated_at", "2014-11-19 23:08:41.852069"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.850623"], ["updated_at", "2014-11-19 23:08:41.852976"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.850662"], ["updated_at", "2014-11-19 23:08:41.853865"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:41.868712"], ["updated_at", "2014-11-19 23:08:41.869195"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:41.868777"], ["updated_at", "2014-11-19 23:08:41.870341"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:41.868823"], ["updated_at", "2014-11-19 23:08:41.871418"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:41.868861"], ["updated_at", "2014-11-19 23:08:41.872474"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:41.909634"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:41.909634"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"41"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 41]]  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 41]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 3ms (ActiveRecord: 0.6ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 41 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:41.920643"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:41.920643"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 29ms (Views: 28.5ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:41.953947"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:41.953947"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:41.964152"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:41.964152"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"44"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 44]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.5ms) Prosperity::Graph Exists (0.4ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 44]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 44]] Completed 200 OK in 15ms (Views: 13.3ms | ActiveRecord: 0.8ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:41.982952"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:41.982952"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"45"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 45]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 45]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.8ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:41.997286"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:41.997286"]]  (0.4ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:42.000938"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-19 23:08:42.000938"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/47/edit Completed 302 Found in 2ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:42.004774"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:42.004774"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (1.9ms) DROP TABLE "users"  (4.3ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.371954"], ["updated_at", "2014-11-19 23:08:55.380164"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.372107"], ["updated_at", "2014-11-19 23:08:55.383779"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.372148"], ["updated_at", "2014-11-19 23:08:55.385174"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.372185"], ["updated_at", "2014-11-19 23:08:55.386469"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.403200"], ["updated_at", "2014-11-19 23:08:55.403692"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.403265"], ["updated_at", "2014-11-19 23:08:55.404768"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.403303"], ["updated_at", "2014-11-19 23:08:55.405641"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.403354"], ["updated_at", "2014-11-19 23:08:55.406495"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.423777"], ["updated_at", "2014-11-19 23:08:55.424282"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.423845"], ["updated_at", "2014-11-19 23:08:55.425347"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.423890"], ["updated_at", "2014-11-19 23:08:55.426259"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.423927"], ["updated_at", "2014-11-19 23:08:55.427115"]]  (0.2ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.441927"], ["updated_at", "2014-11-19 23:08:55.442443"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.441993"], ["updated_at", "2014-11-19 23:08:55.443619"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.442050"], ["updated_at", "2014-11-19 23:08:55.444660"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.442084"], ["updated_at", "2014-11-19 23:08:55.445607"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.454985"], ["updated_at", "2014-11-19 23:08:55.455553"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.455055"], ["updated_at", "2014-11-19 23:08:55.456862"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.455113"], ["updated_at", "2014-11-19 23:08:55.457792"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.455155"], ["updated_at", "2014-11-19 23:08:55.458686"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.461016"], ["updated_at", "2014-11-19 23:08:55.461465"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.461081"], ["updated_at", "2014-11-19 23:08:55.462389"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.461118"], ["updated_at", "2014-11-19 23:08:55.463223"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.461153"], ["updated_at", "2014-11-19 23:08:55.464032"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.472703"], ["updated_at", "2014-11-19 23:08:55.473172"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.472765"], ["updated_at", "2014-11-19 23:08:55.474357"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.472801"], ["updated_at", "2014-11-19 23:08:55.475346"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.472836"], ["updated_at", "2014-11-19 23:08:55.476235"]]  (0.2ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.491136"], ["updated_at", "2014-11-19 23:08:55.491658"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.491208"], ["updated_at", "2014-11-19 23:08:55.492838"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.491248"], ["updated_at", "2014-11-19 23:08:55.493836"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.491305"], ["updated_at", "2014-11-19 23:08:55.494805"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.503131"], ["updated_at", "2014-11-19 23:08:55.503609"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.503201"], ["updated_at", "2014-11-19 23:08:55.504723"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.503256"], ["updated_at", "2014-11-19 23:08:55.505788"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.503299"], ["updated_at", "2014-11-19 23:08:55.506739"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.516459"], ["updated_at", "2014-11-19 23:08:55.516962"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.516527"], ["updated_at", "2014-11-19 23:08:55.518044"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.516566"], ["updated_at", "2014-11-19 23:08:55.519066"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.516620"], ["updated_at", "2014-11-19 23:08:55.520131"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.535156"], ["updated_at", "2014-11-19 23:08:55.535695"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.535224"], ["updated_at", "2014-11-19 23:08:55.536870"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.535263"], ["updated_at", "2014-11-19 23:08:55.537826"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.535299"], ["updated_at", "2014-11-19 23:08:55.538755"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.553573"], ["updated_at", "2014-11-19 23:08:55.554397"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.553677"], ["updated_at", "2014-11-19 23:08:55.556014"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.553761"], ["updated_at", "2014-11-19 23:08:55.557241"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.553828"], ["updated_at", "2014-11-19 23:08:55.558369"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.570002"], ["updated_at", "2014-11-19 23:08:55.570579"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.570071"], ["updated_at", "2014-11-19 23:08:55.571948"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.570133"], ["updated_at", "2014-11-19 23:08:55.573128"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.570176"], ["updated_at", "2014-11-19 23:08:55.574295"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.583097"], ["updated_at", "2014-11-19 23:08:55.583578"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.583158"], ["updated_at", "2014-11-19 23:08:55.584548"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.583197"], ["updated_at", "2014-11-19 23:08:55.585563"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.583293"], ["updated_at", "2014-11-19 23:08:55.586637"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.600136"], ["updated_at", "2014-11-19 23:08:55.600613"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.600203"], ["updated_at", "2014-11-19 23:08:55.601744"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.600243"], ["updated_at", "2014-11-19 23:08:55.602744"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.600285"], ["updated_at", "2014-11-19 23:08:55.603720"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.613359"], ["updated_at", "2014-11-19 23:08:55.613876"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.613425"], ["updated_at", "2014-11-19 23:08:55.615001"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.613481"], ["updated_at", "2014-11-19 23:08:55.616010"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.613519"], ["updated_at", "2014-11-19 23:08:55.617018"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.625842"], ["updated_at", "2014-11-19 23:08:55.626309"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:08:55.625908"], ["updated_at", "2014-11-19 23:08:55.627337"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.625964"], ["updated_at", "2014-11-19 23:08:55.628244"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.626004"], ["updated_at", "2014-11-19 23:08:55.629125"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (9.8ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/new.html.erb within layouts/prosperity/application (17.1ms) Completed 200 OK in 68ms (Views: 65.9ms | ActiveRecord: 1.1ms)  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:55.711727"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:55.711727"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:55.729469"], ["extractor", "count"], ["graph_id", 61], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:55.729469"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 61]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"21", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"61"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 61]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (21) [["graph_id", 61]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 21 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-19 23:08:55.740592"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/61/edit Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 61]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 61]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:55.745658"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:55.745658"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"62"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 62]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:55.749936"], ["extractor", "count"], ["graph_id", 62], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:55.749936"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/graphs/62/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 62]]  (0.3ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 62]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:55.754481"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:55.754481"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:55.756427"], ["extractor", "count"], ["graph_id", 63], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:55.756427"]]  (0.2ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 63]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"23", "_destroy"=>true}}}, "id"=>"63"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 63]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (23) [["graph_id", 63]] SQL (0.1ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 23]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/63/edit Completed 302 Found in 3ms (ActiveRecord: 0.8ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 23 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:55.764149"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:55.764149"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:55.765910"], ["extractor", "count"], ["graph_id", 64], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:55.765910"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"24"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"64"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 64]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (24) [["graph_id", 64]] SQL (0.3ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 24 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-19 23:08:55.771501"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/64/edit Completed 302 Found in 5ms (ActiveRecord: 1.2ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 24]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 64]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 64]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:55.776813"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:55.776813"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"65"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 65]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.2ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 65]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 10.1ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:55.794071"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:55.794071"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"66"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 66]] Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 66]] Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:55.799301"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:55.799301"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:08:55.801013"], ["extractor", "count"], ["graph_id", 67], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:08:55.801013"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"67"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 67]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 67]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:55.806634"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:55.806634"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"68"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 68]] Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:55.814406"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:55.814406"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"69"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 69]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:55.820274"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:55.820274"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"70"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 70]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 1ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:55.830575"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:55.830575"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/71/edit Completed 302 Found in 2ms (ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.2ms) Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.2ms) SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.844593"], ["updated_at", "2014-11-19 23:08:55.845184"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.844697"], ["updated_at", "2014-11-19 23:08:55.846368"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.844738"], ["updated_at", "2014-11-19 23:08:55.847290"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.847920"], ["updated_at", "2014-11-19 23:08:55.848164"]]  (0.2ms) COMMIT  (1.5ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.854264"], ["updated_at", "2014-11-19 23:08:55.854722"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.854334"], ["updated_at", "2014-11-19 23:08:55.855888"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.854376"], ["updated_at", "2014-11-19 23:08:55.856756"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.857621"], ["updated_at", "2014-11-19 23:08:55.857915"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.861635"], ["updated_at", "2014-11-19 23:08:55.862076"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.861698"], ["updated_at", "2014-11-19 23:08:55.863086"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.861774"], ["updated_at", "2014-11-19 23:08:55.863988"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.864686"], ["updated_at", "2014-11-19 23:08:55.864923"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.868459"], ["updated_at", "2014-11-19 23:08:55.868908"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.868532"], ["updated_at", "2014-11-19 23:08:55.870092"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.868573"], ["updated_at", "2014-11-19 23:08:55.871025"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.871711"], ["updated_at", "2014-11-19 23:08:55.871961"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.875656"], ["updated_at", "2014-11-19 23:08:55.876075"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.875725"], ["updated_at", "2014-11-19 23:08:55.877129"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.875766"], ["updated_at", "2014-11-19 23:08:55.878196"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.878903"], ["updated_at", "2014-11-19 23:08:55.879183"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.883180"], ["updated_at", "2014-11-19 23:08:55.883590"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.883245"], ["updated_at", "2014-11-19 23:08:55.884667"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.883285"], ["updated_at", "2014-11-19 23:08:55.885639"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.886401"], ["updated_at", "2014-11-19 23:08:55.886839"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.890973"], ["updated_at", "2014-11-19 23:08:55.891442"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.891054"], ["updated_at", "2014-11-19 23:08:55.892535"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.891099"], ["updated_at", "2014-11-19 23:08:55.893424"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.894154"], ["updated_at", "2014-11-19 23:08:55.894457"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.897924"], ["updated_at", "2014-11-19 23:08:55.898341"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.897992"], ["updated_at", "2014-11-19 23:08:55.899308"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.898033"], ["updated_at", "2014-11-19 23:08:55.900224"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.900876"], ["updated_at", "2014-11-19 23:08:55.901136"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.905293"], ["updated_at", "2014-11-19 23:08:55.905747"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.905366"], ["updated_at", "2014-11-19 23:08:55.906704"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.905405"], ["updated_at", "2014-11-19 23:08:55.907506"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.908113"], ["updated_at", "2014-11-19 23:08:55.908369"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.912085"], ["updated_at", "2014-11-19 23:08:55.912478"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.912146"], ["updated_at", "2014-11-19 23:08:55.913394"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.912185"], ["updated_at", "2014-11-19 23:08:55.914252"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.914883"], ["updated_at", "2014-11-19 23:08:55.915128"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.918372"], ["updated_at", "2014-11-19 23:08:55.918787"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.918443"], ["updated_at", "2014-11-19 23:08:55.919778"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.918482"], ["updated_at", "2014-11-19 23:08:55.920839"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.921553"], ["updated_at", "2014-11-19 23:08:55.921815"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.925362"], ["updated_at", "2014-11-19 23:08:55.925813"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.925428"], ["updated_at", "2014-11-19 23:08:55.926884"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.925469"], ["updated_at", "2014-11-19 23:08:55.927794"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.928500"], ["updated_at", "2014-11-19 23:08:55.928745"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.932569"], ["updated_at", "2014-11-19 23:08:55.932995"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.932634"], ["updated_at", "2014-11-19 23:08:55.934007"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.932675"], ["updated_at", "2014-11-19 23:08:55.934916"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.935646"], ["updated_at", "2014-11-19 23:08:55.935907"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:08:55.936820"], ["updated_at", "2014-11-19 23:08:55.936820"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:08:55.937818"], ["updated_at", "2014-11-19 23:08:55.937818"], ["value", 3]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.941848"], ["updated_at", "2014-11-19 23:08:55.942328"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.941931"], ["updated_at", "2014-11-19 23:08:55.943410"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.941979"], ["updated_at", "2014-11-19 23:08:55.944384"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.945095"], ["updated_at", "2014-11-19 23:08:55.945346"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:08:55.946230"], ["updated_at", "2014-11-19 23:08:55.946230"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:08:55.947150"], ["updated_at", "2014-11-19 23:08:55.947150"], ["value", 3]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.951320"], ["updated_at", "2014-11-19 23:08:55.951723"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.951386"], ["updated_at", "2014-11-19 23:08:55.952818"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.951427"], ["updated_at", "2014-11-19 23:08:55.954086"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.955049"], ["updated_at", "2014-11-19 23:08:55.955376"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:08:55.956312"], ["updated_at", "2014-11-19 23:08:55.956312"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:08:55.957211"], ["updated_at", "2014-11-19 23:08:55.957211"], ["value", 3]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.960273"], ["updated_at", "2014-11-19 23:08:55.960692"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.960342"], ["updated_at", "2014-11-19 23:08:55.961730"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.960388"], ["updated_at", "2014-11-19 23:08:55.962604"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.963253"], ["updated_at", "2014-11-19 23:08:55.963504"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.966987"], ["updated_at", "2014-11-19 23:08:55.967398"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.967054"], ["updated_at", "2014-11-19 23:08:55.968354"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.967094"], ["updated_at", "2014-11-19 23:08:55.969378"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.970103"], ["updated_at", "2014-11-19 23:08:55.970389"]]  (0.2ms) COMMIT  (0.4ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.974435"], ["updated_at", "2014-11-19 23:08:55.974847"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.974496"], ["updated_at", "2014-11-19 23:08:55.975817"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.974536"], ["updated_at", "2014-11-19 23:08:55.976633"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.977233"], ["updated_at", "2014-11-19 23:08:55.977471"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.980356"], ["updated_at", "2014-11-19 23:08:55.980801"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.980418"], ["updated_at", "2014-11-19 23:08:55.981780"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.980457"], ["updated_at", "2014-11-19 23:08:55.982678"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.983332"], ["updated_at", "2014-11-19 23:08:55.983585"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.987052"], ["updated_at", "2014-11-19 23:08:55.987498"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.987128"], ["updated_at", "2014-11-19 23:08:55.988628"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.987167"], ["updated_at", "2014-11-19 23:08:55.989624"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.990426"], ["updated_at", "2014-11-19 23:08:55.990674"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:55.996554"], ["updated_at", "2014-11-19 23:08:55.996993"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:55.996616"], ["updated_at", "2014-11-19 23:08:55.998042"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:55.996656"], ["updated_at", "2014-11-19 23:08:55.998945"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:55.999657"], ["updated_at", "2014-11-19 23:08:55.999897"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.006433"], ["updated_at", "2014-11-19 23:08:56.006951"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.006521"], ["updated_at", "2014-11-19 23:08:56.008084"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.006561"], ["updated_at", "2014-11-19 23:08:56.008977"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:56.009596"], ["updated_at", "2014-11-19 23:08:56.009848"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.012248"], ["updated_at", "2014-11-19 23:08:56.012662"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.012316"], ["updated_at", "2014-11-19 23:08:56.013673"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.012355"], ["updated_at", "2014-11-19 23:08:56.014595"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:56.015334"], ["updated_at", "2014-11-19 23:08:56.015561"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.018266"], ["updated_at", "2014-11-19 23:08:56.018669"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.018335"], ["updated_at", "2014-11-19 23:08:56.019812"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.018374"], ["updated_at", "2014-11-19 23:08:56.020750"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:56.021628"], ["updated_at", "2014-11-19 23:08:56.021997"]]  (0.2ms) COMMIT  (0.5ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.025570"], ["updated_at", "2014-11-19 23:08:56.025996"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.025636"], ["updated_at", "2014-11-19 23:08:56.026949"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.025676"], ["updated_at", "2014-11-19 23:08:56.027776"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:08:56.028395"], ["updated_at", "2014-11-19 23:08:56.028635"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket   (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.036850"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:56.036850"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 25ms (Views: 24.9ms | ActiveRecord: 0.3ms)  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.067337"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:56.067337"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"50"} Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 50]]  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 50]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 3ms (ActiveRecord: 0.9ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 50 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.074832"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:56.074832"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"51"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 51]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 51]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 22ms (Views: 20.4ms | ActiveRecord: 1.6ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.101333"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:56.101333"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"52"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 52]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.7ms) Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 52]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 52]] Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.112600"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:56.112600"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.120062"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:56.120062"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.123107"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-19 23:08:56.123107"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards/55/edit Completed 302 Found in 2ms (ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.126088"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:56.126088"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.3ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.4ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.196843"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:56.196843"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:56.198343"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:56.198343"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"57", "graph_id"=>"72"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 72]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 57]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 57 AND "prosperity_dashboard_graphs"."graph_id" = 72) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.245807"], ["dashboard_id", 57], ["graph_id", 72], ["updated_at", "2014-11-19 23:08:56.245807"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards/57/edit Completed 302 Found in 14ms (ActiveRecord: 1.2ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 72]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 57]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.251883"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:56.251883"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:56.253482"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:56.253482"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"58", "graph_id"=>"73"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 73]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 58]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 58 AND "prosperity_dashboard_graphs"."graph_id" = 73) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.258204"], ["dashboard_id", 58], ["graph_id", 73], ["updated_at", "2014-11-19 23:08:56.258204"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards/58/edit Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"58", "graph_id"=>"73"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 73]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 58]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 58 AND "prosperity_dashboard_graphs"."graph_id" = 73) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/58/edit Completed 302 Found in 3ms (ActiveRecord: 0.6ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:56.265810"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:56.265810"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.267945"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:56.267945"]]  (0.3ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 59 AND "prosperity_dashboard_graphs"."graph_id" = 74) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.270309"], ["dashboard_id", 59], ["graph_id", 74], ["updated_at", "2014-11-19 23:08:56.270309"]]  (0.4ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"59", "graph_id"=>"74"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 74]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 59]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 74 AND "prosperity_dashboard_graphs"."dashboard_id" = 59 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 15]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/59/edit Completed 302 Found in 3ms (ActiveRecord: 1.0ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:08:56.278080"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:08:56.278080"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:08:56.279863"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:08:56.279863"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"60", "graph_id"=>"75"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 75]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 60]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 75 AND "prosperity_dashboard_graphs"."dashboard_id" = 60 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.285505"], ["updated_at", "2014-11-19 23:08:56.286122"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.285602"], ["updated_at", "2014-11-19 23:08:56.287448"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.285641"], ["updated_at", "2014-11-19 23:08:56.288383"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.297351"], ["updated_at", "2014-11-19 23:08:56.297838"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.297424"], ["updated_at", "2014-11-19 23:08:56.298968"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.297462"], ["updated_at", "2014-11-19 23:08:56.299861"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.305723"], ["updated_at", "2014-11-19 23:08:56.306154"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.305784"], ["updated_at", "2014-11-19 23:08:56.307210"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.305821"], ["updated_at", "2014-11-19 23:08:56.308380"]]  (0.3ms) COMMIT SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.315740"], ["updated_at", "2014-11-19 23:08:56.316429"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.315838"], ["updated_at", "2014-11-19 23:08:56.317782"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.315942"], ["updated_at", "2014-11-19 23:08:56.318758"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.324094"], ["updated_at", "2014-11-19 23:08:56.324441"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.324150"], ["updated_at", "2014-11-19 23:08:56.325493"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.324186"], ["updated_at", "2014-11-19 23:08:56.326476"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.335264"], ["updated_at", "2014-11-19 23:08:56.335793"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.335344"], ["updated_at", "2014-11-19 23:08:56.337139"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.335383"], ["updated_at", "2014-11-19 23:08:56.338141"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.343711"], ["updated_at", "2014-11-19 23:08:56.344102"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.343773"], ["updated_at", "2014-11-19 23:08:56.345062"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.343811"], ["updated_at", "2014-11-19 23:08:56.345932"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.351433"], ["updated_at", "2014-11-19 23:08:56.351863"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.351494"], ["updated_at", "2014-11-19 23:08:56.352902"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.351568"], ["updated_at", "2014-11-19 23:08:56.353909"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.362643"], ["updated_at", "2014-11-19 23:08:56.363076"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.362730"], ["updated_at", "2014-11-19 23:08:56.364209"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.362768"], ["updated_at", "2014-11-19 23:08:56.365167"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.372730"], ["updated_at", "2014-11-19 23:08:56.373183"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.372805"], ["updated_at", "2014-11-19 23:08:56.374290"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.372845"], ["updated_at", "2014-11-19 23:08:56.375279"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.380734"], ["updated_at", "2014-11-19 23:08:56.381080"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.380788"], ["updated_at", "2014-11-19 23:08:56.382140"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.380825"], ["updated_at", "2014-11-19 23:08:56.383172"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.388971"], ["updated_at", "2014-11-19 23:08:56.389374"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.389030"], ["updated_at", "2014-11-19 23:08:56.390513"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.389067"], ["updated_at", "2014-11-19 23:08:56.391602"]]  (0.3ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.400055"], ["updated_at", "2014-11-19 23:08:56.400540"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.400128"], ["updated_at", "2014-11-19 23:08:56.401663"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.400169"], ["updated_at", "2014-11-19 23:08:56.402682"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.405541"], ["updated_at", "2014-11-19 23:08:56.405961"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.405609"], ["updated_at", "2014-11-19 23:08:56.406993"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.405649"], ["updated_at", "2014-11-19 23:08:56.407906"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.416338"], ["updated_at", "2014-11-19 23:08:56.416799"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.416440"], ["updated_at", "2014-11-19 23:08:56.417928"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.416482"], ["updated_at", "2014-11-19 23:08:56.418963"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.427293"], ["updated_at", "2014-11-19 23:08:56.427695"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.427350"], ["updated_at", "2014-11-19 23:08:56.428813"]]  (0.4ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.427388"], ["updated_at", "2014-11-19 23:08:56.429819"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.435513"], ["updated_at", "2014-11-19 23:08:56.435967"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.435580"], ["updated_at", "2014-11-19 23:08:56.437131"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.435620"], ["updated_at", "2014-11-19 23:08:56.438152"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:08:56.443852"], ["updated_at", "2014-11-19 23:08:56.444304"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:08:56.443914"], ["updated_at", "2014-11-19 23:08:56.445320"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:08:56.443952"], ["updated_at", "2014-11-19 23:08:56.446234"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (8.0ms) DROP TABLE "users"  (3.7ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.5ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 3.1ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.6ms) Completed 200 OK in 25ms (Views: 25.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:09:11.563487"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:09:11.563487"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:09:11.577554"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:09:11.577554"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"62"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 62]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.4ms) Prosperity::Graph Exists (0.6ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 62]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 62]] Completed 200 OK in 29ms (Views: 24.2ms | ActiveRecord: 1.8ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:09:11.610646"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:09:11.610646"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"63"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 63]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 63]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.9ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:09:11.625146"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:09:11.625146"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:09:11.634978"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:09:11.634978"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:09:11.639581"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-19 23:09:11.639581"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/66/edit Completed 302 Found in 2ms (ActiveRecord: 0.6ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:09:11.643508"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:09:11.643508"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"67"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 67]]  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 67]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.9ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 67 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:09:11.651746"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:09:11.651746"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 37ms (Views: 36.5ms | ActiveRecord: 0.3ms) SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.692804"], ["updated_at", "2014-11-19 23:09:11.695752"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.692906"], ["updated_at", "2014-11-19 23:09:11.697286"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.692947"], ["updated_at", "2014-11-19 23:09:11.698438"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.692985"], ["updated_at", "2014-11-19 23:09:11.699403"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.702561"], ["updated_at", "2014-11-19 23:09:11.703011"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.702623"], ["updated_at", "2014-11-19 23:09:11.704165"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.702662"], ["updated_at", "2014-11-19 23:09:11.705360"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.702699"], ["updated_at", "2014-11-19 23:09:11.706261"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.719560"], ["updated_at", "2014-11-19 23:09:11.720045"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.719627"], ["updated_at", "2014-11-19 23:09:11.721028"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.719667"], ["updated_at", "2014-11-19 23:09:11.722020"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.719705"], ["updated_at", "2014-11-19 23:09:11.722982"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.737313"], ["updated_at", "2014-11-19 23:09:11.737818"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.737385"], ["updated_at", "2014-11-19 23:09:11.738872"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.737427"], ["updated_at", "2014-11-19 23:09:11.739737"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.737465"], ["updated_at", "2014-11-19 23:09:11.740602"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.751109"], ["updated_at", "2014-11-19 23:09:11.751602"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.751179"], ["updated_at", "2014-11-19 23:09:11.752589"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.751219"], ["updated_at", "2014-11-19 23:09:11.753462"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.751258"], ["updated_at", "2014-11-19 23:09:11.754400"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.763022"], ["updated_at", "2014-11-19 23:09:11.763502"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.763086"], ["updated_at", "2014-11-19 23:09:11.764489"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.763131"], ["updated_at", "2014-11-19 23:09:11.765365"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.763169"], ["updated_at", "2014-11-19 23:09:11.766413"]]  (0.3ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.782268"], ["updated_at", "2014-11-19 23:09:11.782791"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.782344"], ["updated_at", "2014-11-19 23:09:11.783892"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.782387"], ["updated_at", "2014-11-19 23:09:11.784843"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.782426"], ["updated_at", "2014-11-19 23:09:11.785775"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.794535"], ["updated_at", "2014-11-19 23:09:11.795013"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.794603"], ["updated_at", "2014-11-19 23:09:11.796126"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.794645"], ["updated_at", "2014-11-19 23:09:11.797107"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.794683"], ["updated_at", "2014-11-19 23:09:11.798026"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.807110"], ["updated_at", "2014-11-19 23:09:11.807598"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.807171"], ["updated_at", "2014-11-19 23:09:11.808763"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.807210"], ["updated_at", "2014-11-19 23:09:11.809826"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.807246"], ["updated_at", "2014-11-19 23:09:11.810752"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.824527"], ["updated_at", "2014-11-19 23:09:11.825019"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.824592"], ["updated_at", "2014-11-19 23:09:11.826198"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.824631"], ["updated_at", "2014-11-19 23:09:11.827198"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.824673"], ["updated_at", "2014-11-19 23:09:11.828196"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.836863"], ["updated_at", "2014-11-19 23:09:11.837311"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.836932"], ["updated_at", "2014-11-19 23:09:11.838381"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.836971"], ["updated_at", "2014-11-19 23:09:11.839552"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.837008"], ["updated_at", "2014-11-19 23:09:11.840614"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.849566"], ["updated_at", "2014-11-19 23:09:11.850148"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.849655"], ["updated_at", "2014-11-19 23:09:11.851282"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.849698"], ["updated_at", "2014-11-19 23:09:11.852305"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.849773"], ["updated_at", "2014-11-19 23:09:11.853292"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.867212"], ["updated_at", "2014-11-19 23:09:11.867701"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.867283"], ["updated_at", "2014-11-19 23:09:11.868791"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.867324"], ["updated_at", "2014-11-19 23:09:11.869804"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.867363"], ["updated_at", "2014-11-19 23:09:11.870700"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.882013"], ["updated_at", "2014-11-19 23:09:11.882491"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.882080"], ["updated_at", "2014-11-19 23:09:11.883627"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.882122"], ["updated_at", "2014-11-19 23:09:11.884571"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.882161"], ["updated_at", "2014-11-19 23:09:11.885447"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.894271"], ["updated_at", "2014-11-19 23:09:11.894730"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.894332"], ["updated_at", "2014-11-19 23:09:11.895874"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.894375"], ["updated_at", "2014-11-19 23:09:11.896884"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.894414"], ["updated_at", "2014-11-19 23:09:11.897865"]]  (0.3ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.914238"], ["updated_at", "2014-11-19 23:09:11.915008"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.914348"], ["updated_at", "2014-11-19 23:09:11.916429"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.914413"], ["updated_at", "2014-11-19 23:09:11.917655"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.914472"], ["updated_at", "2014-11-19 23:09:11.918907"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.4ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:11.935325"], ["updated_at", "2014-11-19 23:09:11.935875"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:09:11.935399"], ["updated_at", "2014-11-19 23:09:11.937053"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:11.935439"], ["updated_at", "2014-11-19 23:09:11.938150"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:11.935483"], ["updated_at", "2014-11-19 23:09:11.939090"]]  (0.2ms) COMMIT  (2.4ms) DROP TABLE "users"  (3.5ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:09:32.061463"], ["updated_at", "2014-11-19 23:09:32.070183"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:09:32.061673"], ["updated_at", "2014-11-19 23:09:32.073706"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:09:32.061745"], ["updated_at", "2014-11-19 23:09:32.075156"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:09:32.076036"], ["updated_at", "2014-11-19 23:09:32.076369"]]  (0.2ms) COMMIT  (2.0ms) DROP TABLE "users"  (3.6ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.8ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:12:07.573332"], ["updated_at", "2014-11-19 23:12:07.582118"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:12:07.573522"], ["updated_at", "2014-11-19 23:12:07.585745"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:12:07.573567"], ["updated_at", "2014-11-19 23:12:07.586833"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:12:07.587585"], ["updated_at", "2014-11-19 23:12:07.587912"]]  (0.2ms) COMMIT PG::SyntaxError: ERROR: syntax error at or near "AS" LINE 1: ....999999') GROUP BY to_char(created_at, 'YYYY-MM') AS date_gr... ^ : SELECT "users".* FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') AS date_group PG::SyntaxError: ERROR: syntax error at or near "AS" LINE 1: ....999999') GROUP BY to_char(created_at, 'YYYY-MM') AS date_gr... ^ : SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') AS date_group PG::SyntaxError: ERROR: syntax error at or near "AS" LINE 1: ....999999') GROUP BY to_char(created_at, 'YYYY-MM') AS date_gr... ^ : SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') AS date_group ORDER BY "users"."id" ASC LIMIT 1 PG::SyntaxError: ERROR: syntax error at or near "AS" LINE 1: ....999999') GROUP BY to_char(created_at, 'YYYY-MM') AS date_gr... ^ : SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') AS date_group ORDER BY "users"."id" ASC LIMIT 1  (3.7ms) DROP TABLE "users"  (29.7ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.9ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:16:07.355156"], ["updated_at", "2014-11-19 23:16:07.363922"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:16:07.355312"], ["updated_at", "2014-11-19 23:16:07.367754"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:16:07.355358"], ["updated_at", "2014-11-19 23:16:07.368768"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:16:07.369468"], ["updated_at", "2014-11-19 23:16:07.369749"]]  (0.2ms) COMMIT User Load (1.6ms) SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (1.8ms) DROP TABLE "users"  (3.5ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:16:45.704765"], ["updated_at", "2014-11-19 23:16:45.713196"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:16:45.704928"], ["updated_at", "2014-11-19 23:16:45.716697"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:16:45.704972"], ["updated_at", "2014-11-19 23:16:45.718042"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:16:45.718879"], ["updated_at", "2014-11-19 23:16:45.719172"]]  (0.2ms) COMMIT  (1.5ms) SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') User Load (0.3ms) SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (8.9ms) DROP TABLE "users"  (4.4ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:16:53.241590"], ["updated_at", "2014-11-19 23:16:53.250123"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:16:53.241738"], ["updated_at", "2014-11-19 23:16:53.253815"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:16:53.241782"], ["updated_at", "2014-11-19 23:16:53.254987"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:16:53.255726"], ["updated_at", "2014-11-19 23:16:53.256025"]]  (0.2ms) COMMIT  (1.5ms) SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (2.4ms) DROP TABLE "users"  (4.2ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.8ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:35:51.815509"], ["updated_at", "2014-11-19 23:35:51.825657"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:35:51.815670"], ["updated_at", "2014-11-19 23:35:51.829218"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:35:51.815712"], ["updated_at", "2014-11-19 23:35:51.830278"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:35:51.831019"], ["updated_at", "2014-11-19 23:35:51.831318"]]  (0.2ms) COMMIT  (1.6ms) SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (2.7ms) DROP TABLE "users"  (4.2ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.8ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:48:39.522711"], ["updated_at", "2014-11-19 23:48:39.530576"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:48:39.522869"], ["updated_at", "2014-11-19 23:48:39.534435"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:48:39.522910"], ["updated_at", "2014-11-19 23:48:39.535589"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:48:39.536409"], ["updated_at", "2014-11-19 23:48:39.536684"]]  (0.3ms) COMMIT  (0.6ms) WITH prosperity_metric_count AS ( SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket PG::UndefinedColumn: ERROR: column "created_at" does not exist LINE 4: SELECT to_char(created_at, 'YYYY-MM') AS bucket, S... ^ : WITH prosperity_metric_count AS ( SELECT SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (8.0ms) DROP TABLE "users"  (3.7ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:51:08.340113"], ["updated_at", "2014-11-19 23:51:08.348586"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:51:08.340337"], ["updated_at", "2014-11-19 23:51:08.352298"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:51:08.340384"], ["updated_at", "2014-11-19 23:51:08.353304"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:51:08.353986"], ["updated_at", "2014-11-19 23:51:08.354262"]]  (0.2ms) COMMIT  (7.9ms) DROP TABLE "users"  (3.7ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:51:45.177806"], ["updated_at", "2014-11-19 23:51:45.186737"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:51:45.177971"], ["updated_at", "2014-11-19 23:51:45.190186"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:51:45.178016"], ["updated_at", "2014-11-19 23:51:45.191219"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:51:45.191905"], ["updated_at", "2014-11-19 23:51:45.192198"]]  (0.2ms) COMMIT User Load (0.3ms) SELECT *, # FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') PG::SyntaxError: ERROR: syntax error at or near ":" LINE 1: SELECT *, # FR... ^ : SELECT *, # FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') User Load (0.1ms) SELECT *, # FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') PG::SyntaxError: ERROR: syntax error at or near ":" LINE 1: SELECT *, # FR... ^ : SELECT *, # FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (8.3ms) DROP TABLE "users"  (4.6ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:51:56.504951"], ["updated_at", "2014-11-19 23:51:56.513906"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:51:56.505134"], ["updated_at", "2014-11-19 23:51:56.517534"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:51:56.505189"], ["updated_at", "2014-11-19 23:51:56.518587"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:51:56.519343"], ["updated_at", "2014-11-19 23:51:56.519636"]]  (0.2ms) COMMIT User Load (0.3ms) SELECT *, # FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') PG::SyntaxError: ERROR: syntax error at or near ":" LINE 1: SELECT *, # FR... ^ : SELECT *, # FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (8.5ms) DROP TABLE "users"  (3.6ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:52:08.144967"], ["updated_at", "2014-11-19 23:52:08.153408"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:52:08.145128"], ["updated_at", "2014-11-19 23:52:08.157035"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:52:08.145173"], ["updated_at", "2014-11-19 23:52:08.158149"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:52:08.158901"], ["updated_at", "2014-11-19 23:52:08.159242"]]  (0.2ms) COMMIT User Load (0.6ms) SELECT *, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') PG::GroupingError: ERROR: column "users.id" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: SELECT *, SUM(value) FROM "users" WHERE (created_at BETWEEN... ^ : SELECT *, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (2.1ms) DROP TABLE "users"  (4.0ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:53:15.746952"], ["updated_at", "2014-11-19 23:53:15.755400"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:53:15.747110"], ["updated_at", "2014-11-19 23:53:15.759250"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:53:15.747157"], ["updated_at", "2014-11-19 23:53:15.760346"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:53:15.761149"], ["updated_at", "2014-11-19 23:53:15.761446"]]  (0.2ms) COMMIT User Load (1.5ms) SELECT to_char(created_at, 'YYYY-MM'), SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (8.5ms) DROP TABLE "users"  (5.1ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:53:25.926693"], ["updated_at", "2014-11-19 23:53:25.936277"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:53:25.926885"], ["updated_at", "2014-11-19 23:53:25.940100"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:53:25.926953"], ["updated_at", "2014-11-19 23:53:25.941226"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:53:25.942016"], ["updated_at", "2014-11-19 23:53:25.942353"]]  (0.2ms) COMMIT User Load (1.5ms) SELECT to_char(created_at, 'YYYY-MM'), SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (8.4ms) DROP TABLE "users"  (3.7ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:54:42.313029"], ["updated_at", "2014-11-19 23:54:42.321760"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:54:42.313187"], ["updated_at", "2014-11-19 23:54:42.325474"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:54:42.313232"], ["updated_at", "2014-11-19 23:54:42.326541"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:54:42.327265"], ["updated_at", "2014-11-19 23:54:42.327555"]]  (0.2ms) COMMIT User Load (1.5ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (8.4ms) DROP TABLE "users"  (5.1ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:43.817693"], ["updated_at", "2014-11-19 23:55:43.826324"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:43.817865"], ["updated_at", "2014-11-19 23:55:43.829976"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:43.817910"], ["updated_at", "2014-11-19 23:55:43.831110"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:43.831835"], ["updated_at", "2014-11-19 23:55:43.832105"]]  (0.2ms) COMMIT User Load (1.6ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (2.2ms) DROP TABLE "users"  (3.7ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.351713"], ["updated_at", "2014-11-19 23:55:47.361078"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.351866"], ["updated_at", "2014-11-19 23:55:47.364463"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.351912"], ["updated_at", "2014-11-19 23:55:47.365518"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.371810"], ["updated_at", "2014-11-19 23:55:47.372255"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.371883"], ["updated_at", "2014-11-19 23:55:47.373361"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.371920"], ["updated_at", "2014-11-19 23:55:47.374467"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.383254"], ["updated_at", "2014-11-19 23:55:47.383738"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.383325"], ["updated_at", "2014-11-19 23:55:47.384746"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.383378"], ["updated_at", "2014-11-19 23:55:47.385584"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.391348"], ["updated_at", "2014-11-19 23:55:47.391888"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.391425"], ["updated_at", "2014-11-19 23:55:47.393121"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.391491"], ["updated_at", "2014-11-19 23:55:47.394071"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.399749"], ["updated_at", "2014-11-19 23:55:47.400148"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.399809"], ["updated_at", "2014-11-19 23:55:47.401124"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.399846"], ["updated_at", "2014-11-19 23:55:47.402007"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.407541"], ["updated_at", "2014-11-19 23:55:47.407936"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.407603"], ["updated_at", "2014-11-19 23:55:47.408891"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.407641"], ["updated_at", "2014-11-19 23:55:47.409768"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.418392"], ["updated_at", "2014-11-19 23:55:47.418823"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.418459"], ["updated_at", "2014-11-19 23:55:47.419834"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.418511"], ["updated_at", "2014-11-19 23:55:47.420704"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.426546"], ["updated_at", "2014-11-19 23:55:47.426966"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.426606"], ["updated_at", "2014-11-19 23:55:47.427993"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.426661"], ["updated_at", "2014-11-19 23:55:47.428956"]]  (0.4ms) COMMIT  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.437405"], ["updated_at", "2014-11-19 23:55:47.437856"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.437505"], ["updated_at", "2014-11-19 23:55:47.438865"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.437543"], ["updated_at", "2014-11-19 23:55:47.439776"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.442087"], ["updated_at", "2014-11-19 23:55:47.442486"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.442150"], ["updated_at", "2014-11-19 23:55:47.443581"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.442189"], ["updated_at", "2014-11-19 23:55:47.444573"]]  (0.2ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.453571"], ["updated_at", "2014-11-19 23:55:47.453970"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.453632"], ["updated_at", "2014-11-19 23:55:47.454941"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.453669"], ["updated_at", "2014-11-19 23:55:47.455822"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.464359"], ["updated_at", "2014-11-19 23:55:47.464780"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.464425"], ["updated_at", "2014-11-19 23:55:47.465789"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.464464"], ["updated_at", "2014-11-19 23:55:47.466687"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.471917"], ["updated_at", "2014-11-19 23:55:47.472326"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.471971"], ["updated_at", "2014-11-19 23:55:47.473511"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.472008"], ["updated_at", "2014-11-19 23:55:47.474508"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.485062"], ["updated_at", "2014-11-19 23:55:47.485518"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.485128"], ["updated_at", "2014-11-19 23:55:47.486652"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.485177"], ["updated_at", "2014-11-19 23:55:47.487598"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.5ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.496440"], ["updated_at", "2014-11-19 23:55:47.496884"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.496503"], ["updated_at", "2014-11-19 23:55:47.498027"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.496541"], ["updated_at", "2014-11-19 23:55:47.499031"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.507030"], ["updated_at", "2014-11-19 23:55:47.507498"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.507087"], ["updated_at", "2014-11-19 23:55:47.508609"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.507124"], ["updated_at", "2014-11-19 23:55:47.509619"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.515958"], ["updated_at", "2014-11-19 23:55:47.516376"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.516019"], ["updated_at", "2014-11-19 23:55:47.517513"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.516064"], ["updated_at", "2014-11-19 23:55:47.518505"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.524411"], ["updated_at", "2014-11-19 23:55:47.524865"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.524489"], ["updated_at", "2014-11-19 23:55:47.526038"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.524531"], ["updated_at", "2014-11-19 23:55:47.527003"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.548730"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:55:47.548730"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.5ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/dashboards/index.html.erb within layouts/prosperity/application (39.1ms) Completed 200 OK in 91ms (Views: 89.9ms | ActiveRecord: 0.5ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.647089"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:55:47.647089"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.651982"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-19 23:55:47.651982"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/71/edit Completed 302 Found in 2ms (ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.655333"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:55:47.655333"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 16ms (Views: 11.2ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.675268"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:55:47.675268"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"73"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 73]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.8ms) Prosperity::Graph Exists (0.9ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 73]] Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 73]] Completed 200 OK in 38ms (Views: 31.9ms | ActiveRecord: 4.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.717426"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:55:47.717426"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.724817"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:55:47.724817"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"75"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 75]]  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 75]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.8ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 75 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.734569"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:55:47.734569"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"76"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 76]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 76]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.8ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (3.0ms) Completed 200 OK in 8ms (Views: 8.1ms | ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.764291"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.764291"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/76/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms)  (0.3ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.6ms) Completed 200 OK in 8ms (Views: 4.5ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.778411"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.778411"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"77"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 77]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.3ms) Prosperity::GraphLine Load (0.4ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 77]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Completed 200 OK in 20ms (Views: 11.3ms | ActiveRecord: 1.6ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.802503"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.802503"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"78"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 78]] Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 78]] Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.807597"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.807597"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:55:47.809604"], ["extractor", "count"], ["graph_id", 79], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:55:47.809604"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"79"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 79]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 79]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.816233"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.816233"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"80"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 80]] Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.824790"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.824790"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"81"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 81]] Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.3ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 1ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.832194"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.832194"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"82"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 82]] Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.837267"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.837267"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"83"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 83]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:55:47.841466"], ["extractor", "count"], ["graph_id", 83], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:55:47.841466"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/graphs/83/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 83]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 83]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.845815"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.845815"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:55:47.847698"], ["extractor", "count"], ["graph_id", 84], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:55:47.847698"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 84]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"28", "_destroy"=>true}}}, "id"=>"84"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 84]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (28) [["graph_id", 84]] SQL (0.1ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 28]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/84/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 28 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.855846"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.855846"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:55:47.857859"], ["extractor", "count"], ["graph_id", 85], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:55:47.857859"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 85]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"29", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"85"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 85]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (29) [["graph_id", 85]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 29 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-19 23:55:47.863000"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/85/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 85]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 85]]  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.867837"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.867837"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:55:47.870008"], ["extractor", "count"], ["graph_id", 86], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:55:47.870008"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"30"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"86"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 86]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (30) [["graph_id", 86]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 30 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-19 23:55:47.874919"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/86/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 30]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 86]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 86]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.885358"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:55:47.885358"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.886973"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.886973"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"77", "graph_id"=>"87"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 87]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 77]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 77 AND "prosperity_dashboard_graphs"."graph_id" = 87) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.899671"], ["dashboard_id", 77], ["graph_id", 87], ["updated_at", "2014-11-19 23:55:47.899671"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/77/edit Completed 302 Found in 12ms (ActiveRecord: 1.2ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 87]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 77]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.906660"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:55:47.906660"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.908487"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.908487"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"78", "graph_id"=>"88"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 88]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 78]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 78 AND "prosperity_dashboard_graphs"."graph_id" = 88) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.913520"], ["dashboard_id", 78], ["graph_id", 88], ["updated_at", "2014-11-19 23:55:47.913520"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/78/edit Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"78", "graph_id"=>"88"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 88]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 78]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 78 AND "prosperity_dashboard_graphs"."graph_id" = 88) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/78/edit Completed 302 Found in 4ms (ActiveRecord: 0.6ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.921214"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.921214"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.922754"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:55:47.922754"]]  (0.4ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 79 AND "prosperity_dashboard_graphs"."graph_id" = 89) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.924702"], ["dashboard_id", 79], ["graph_id", 89], ["updated_at", "2014-11-19 23:55:47.924702"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"79", "graph_id"=>"89"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 89]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 79]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 89 AND "prosperity_dashboard_graphs"."dashboard_id" = 79 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 18]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/79/edit Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:55:47.931560"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:55:47.931560"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:55:47.933025"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:55:47.933025"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"80", "graph_id"=>"90"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 90]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 80]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 90 AND "prosperity_dashboard_graphs"."dashboard_id" = 80 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"} wrong number of arguments (2 for 1) /Users/simon/Documents/rainforest/prosperity/lib/prosperity/aggregate/count.rb:7:in `apply' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:36:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:82:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"} wrong number of arguments (2 for 1) /Users/simon/Documents/rainforest/prosperity/lib/prosperity/aggregate/count.rb:7:in `apply' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:36:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:88:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.3ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.977437"], ["updated_at", "2014-11-19 23:55:47.978075"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:47.977518"], ["updated_at", "2014-11-19 23:55:47.979388"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.977566"], ["updated_at", "2014-11-19 23:55:47.980344"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.977605"], ["updated_at", "2014-11-19 23:55:47.981304"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:47.990215"], ["updated_at", "2014-11-19 23:55:47.990700"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:47.990291"], ["updated_at", "2014-11-19 23:55:47.991789"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:47.990331"], ["updated_at", "2014-11-19 23:55:47.992816"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:47.990368"], ["updated_at", "2014-11-19 23:55:47.993767"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.008043"], ["updated_at", "2014-11-19 23:55:48.008522"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.008109"], ["updated_at", "2014-11-19 23:55:48.009606"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.008149"], ["updated_at", "2014-11-19 23:55:48.010615"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.008186"], ["updated_at", "2014-11-19 23:55:48.011609"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.019998"], ["updated_at", "2014-11-19 23:55:48.020435"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.020064"], ["updated_at", "2014-11-19 23:55:48.021585"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.020103"], ["updated_at", "2014-11-19 23:55:48.022534"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.020140"], ["updated_at", "2014-11-19 23:55:48.023492"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.031895"], ["updated_at", "2014-11-19 23:55:48.032330"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.031957"], ["updated_at", "2014-11-19 23:55:48.033382"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.032001"], ["updated_at", "2014-11-19 23:55:48.034385"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.032039"], ["updated_at", "2014-11-19 23:55:48.035362"]]  (0.3ms) COMMIT  (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.043900"], ["updated_at", "2014-11-19 23:55:48.044372"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.043974"], ["updated_at", "2014-11-19 23:55:48.045520"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.044014"], ["updated_at", "2014-11-19 23:55:48.046533"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.044052"], ["updated_at", "2014-11-19 23:55:48.047406"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.062859"], ["updated_at", "2014-11-19 23:55:48.063368"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.062929"], ["updated_at", "2014-11-19 23:55:48.064513"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.062970"], ["updated_at", "2014-11-19 23:55:48.065506"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.063007"], ["updated_at", "2014-11-19 23:55:48.066453"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.074920"], ["updated_at", "2014-11-19 23:55:48.075349"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.074982"], ["updated_at", "2014-11-19 23:55:48.076495"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.075019"], ["updated_at", "2014-11-19 23:55:48.077555"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.075054"], ["updated_at", "2014-11-19 23:55:48.078497"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.091203"], ["updated_at", "2014-11-19 23:55:48.091977"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.091431"], ["updated_at", "2014-11-19 23:55:48.093159"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.091529"], ["updated_at", "2014-11-19 23:55:48.094201"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.091584"], ["updated_at", "2014-11-19 23:55:48.095225"]]  (0.3ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.097624"], ["updated_at", "2014-11-19 23:55:48.098042"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.097685"], ["updated_at", "2014-11-19 23:55:48.099077"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.097723"], ["updated_at", "2014-11-19 23:55:48.100043"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.097764"], ["updated_at", "2014-11-19 23:55:48.101013"]]  (0.3ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.116491"], ["updated_at", "2014-11-19 23:55:48.117202"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.116590"], ["updated_at", "2014-11-19 23:55:48.118782"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.116652"], ["updated_at", "2014-11-19 23:55:48.119892"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.116709"], ["updated_at", "2014-11-19 23:55:48.120874"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.134321"], ["updated_at", "2014-11-19 23:55:48.134875"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.134394"], ["updated_at", "2014-11-19 23:55:48.135977"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.134436"], ["updated_at", "2014-11-19 23:55:48.136934"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.134484"], ["updated_at", "2014-11-19 23:55:48.137998"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.147491"], ["updated_at", "2014-11-19 23:55:48.148022"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.147557"], ["updated_at", "2014-11-19 23:55:48.149183"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.147596"], ["updated_at", "2014-11-19 23:55:48.150250"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.147633"], ["updated_at", "2014-11-19 23:55:48.151317"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.159856"], ["updated_at", "2014-11-19 23:55:48.160287"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.159912"], ["updated_at", "2014-11-19 23:55:48.161372"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.159955"], ["updated_at", "2014-11-19 23:55:48.162355"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.159991"], ["updated_at", "2014-11-19 23:55:48.163322"]]  (0.3ms) COMMIT  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.171645"], ["updated_at", "2014-11-19 23:55:48.172051"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.171699"], ["updated_at", "2014-11-19 23:55:48.173067"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.171736"], ["updated_at", "2014-11-19 23:55:48.174115"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.171776"], ["updated_at", "2014-11-19 23:55:48.175105"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.223773"], ["updated_at", "2014-11-19 23:55:48.224379"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.223842"], ["updated_at", "2014-11-19 23:55:48.225490"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.223879"], ["updated_at", "2014-11-19 23:55:48.226721"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.223914"], ["updated_at", "2014-11-19 23:55:48.228021"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.248153"], ["updated_at", "2014-11-19 23:55:48.248828"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:55:48.248226"], ["updated_at", "2014-11-19 23:55:48.249999"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.248407"], ["updated_at", "2014-11-19 23:55:48.250913"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.248446"], ["updated_at", "2014-11-19 23:55:48.251774"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.259183"], ["updated_at", "2014-11-19 23:55:48.259759"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.259281"], ["updated_at", "2014-11-19 23:55:48.260798"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.259319"], ["updated_at", "2014-11-19 23:55:48.261615"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.262250"], ["updated_at", "2014-11-19 23:55:48.262489"]]  (0.2ms) COMMIT  (1.5ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.267204"], ["updated_at", "2014-11-19 23:55:48.267628"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.267265"], ["updated_at", "2014-11-19 23:55:48.268575"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.267308"], ["updated_at", "2014-11-19 23:55:48.269519"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.270106"], ["updated_at", "2014-11-19 23:55:48.270383"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.272551"], ["updated_at", "2014-11-19 23:55:48.272991"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.272668"], ["updated_at", "2014-11-19 23:55:48.273976"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.272707"], ["updated_at", "2014-11-19 23:55:48.275009"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.275671"], ["updated_at", "2014-11-19 23:55:48.275928"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.279456"], ["updated_at", "2014-11-19 23:55:48.279916"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.279523"], ["updated_at", "2014-11-19 23:55:48.281045"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.279561"], ["updated_at", "2014-11-19 23:55:48.281987"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.282689"], ["updated_at", "2014-11-19 23:55:48.282954"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.286415"], ["updated_at", "2014-11-19 23:55:48.286806"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.286474"], ["updated_at", "2014-11-19 23:55:48.287765"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.286511"], ["updated_at", "2014-11-19 23:55:48.288637"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.289306"], ["updated_at", "2014-11-19 23:55:48.289578"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.293038"], ["updated_at", "2014-11-19 23:55:48.293482"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.293101"], ["updated_at", "2014-11-19 23:55:48.294490"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.293172"], ["updated_at", "2014-11-19 23:55:48.295497"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.296195"], ["updated_at", "2014-11-19 23:55:48.296431"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.298616"], ["updated_at", "2014-11-19 23:55:48.298983"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.298677"], ["updated_at", "2014-11-19 23:55:48.299929"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.298715"], ["updated_at", "2014-11-19 23:55:48.300830"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.301709"], ["updated_at", "2014-11-19 23:55:48.302208"]]  (0.4ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.306333"], ["updated_at", "2014-11-19 23:55:48.306732"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.306393"], ["updated_at", "2014-11-19 23:55:48.307733"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.306430"], ["updated_at", "2014-11-19 23:55:48.308678"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.309516"], ["updated_at", "2014-11-19 23:55:48.309774"]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.312146"], ["updated_at", "2014-11-19 23:55:48.312546"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.312212"], ["updated_at", "2014-11-19 23:55:48.313601"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.312252"], ["updated_at", "2014-11-19 23:55:48.314623"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.315425"], ["updated_at", "2014-11-19 23:55:48.315695"]]  (0.3ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.320370"], ["updated_at", "2014-11-19 23:55:48.320780"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.320451"], ["updated_at", "2014-11-19 23:55:48.321842"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.320490"], ["updated_at", "2014-11-19 23:55:48.322732"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.323400"], ["updated_at", "2014-11-19 23:55:48.323715"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.326249"], ["updated_at", "2014-11-19 23:55:48.326689"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.326325"], ["updated_at", "2014-11-19 23:55:48.327802"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.326365"], ["updated_at", "2014-11-19 23:55:48.328909"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.329721"], ["updated_at", "2014-11-19 23:55:48.330023"]]  (0.3ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.332504"], ["updated_at", "2014-11-19 23:55:48.332961"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.332567"], ["updated_at", "2014-11-19 23:55:48.334023"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.332635"], ["updated_at", "2014-11-19 23:55:48.335056"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.335849"], ["updated_at", "2014-11-19 23:55:48.336085"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.339700"], ["updated_at", "2014-11-19 23:55:48.340095"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.339775"], ["updated_at", "2014-11-19 23:55:48.341123"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.339812"], ["updated_at", "2014-11-19 23:55:48.342176"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.342932"], ["updated_at", "2014-11-19 23:55:48.343244"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.346609"], ["updated_at", "2014-11-19 23:55:48.347012"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.346669"], ["updated_at", "2014-11-19 23:55:48.348046"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.346707"], ["updated_at", "2014-11-19 23:55:48.348968"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.349825"], ["updated_at", "2014-11-19 23:55:48.350172"]]  (0.3ms) COMMIT  (0.4ms) WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.354244"], ["updated_at", "2014-11-19 23:55:48.354653"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.354299"], ["updated_at", "2014-11-19 23:55:48.355667"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.354337"], ["updated_at", "2014-11-19 23:55:48.356652"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.357415"], ["updated_at", "2014-11-19 23:55:48.357700"]]  (0.2ms) COMMIT SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.359660"], ["updated_at", "2014-11-19 23:55:48.360099"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.359718"], ["updated_at", "2014-11-19 23:55:48.361164"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.359756"], ["updated_at", "2014-11-19 23:55:48.362072"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.362798"], ["updated_at", "2014-11-19 23:55:48.363098"]]  (0.3ms) COMMIT SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.365268"], ["updated_at", "2014-11-19 23:55:48.365663"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.365325"], ["updated_at", "2014-11-19 23:55:48.366560"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.365364"], ["updated_at", "2014-11-19 23:55:48.367426"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.368064"], ["updated_at", "2014-11-19 23:55:48.368325"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.371315"], ["updated_at", "2014-11-19 23:55:48.371722"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.371375"], ["updated_at", "2014-11-19 23:55:48.372681"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.371432"], ["updated_at", "2014-11-19 23:55:48.373716"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.374491"], ["updated_at", "2014-11-19 23:55:48.374763"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.378394"], ["updated_at", "2014-11-19 23:55:48.378810"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.378456"], ["updated_at", "2014-11-19 23:55:48.379820"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.378495"], ["updated_at", "2014-11-19 23:55:48.380745"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.381440"], ["updated_at", "2014-11-19 23:55:48.381732"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.387842"], ["updated_at", "2014-11-19 23:55:48.388299"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.387904"], ["updated_at", "2014-11-19 23:55:48.389279"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.387977"], ["updated_at", "2014-11-19 23:55:48.390255"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.391076"], ["updated_at", "2014-11-19 23:55:48.391352"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.397877"], ["updated_at", "2014-11-19 23:55:48.398546"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.397979"], ["updated_at", "2014-11-19 23:55:48.399578"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.398040"], ["updated_at", "2014-11-19 23:55:48.400483"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.401187"], ["updated_at", "2014-11-19 23:55:48.401477"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.404071"], ["updated_at", "2014-11-19 23:55:48.404442"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.404124"], ["updated_at", "2014-11-19 23:55:48.405402"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.404161"], ["updated_at", "2014-11-19 23:55:48.406283"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.407064"], ["updated_at", "2014-11-19 23:55:48.407342"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.410251"], ["updated_at", "2014-11-19 23:55:48.410664"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.410313"], ["updated_at", "2014-11-19 23:55:48.411801"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.410352"], ["updated_at", "2014-11-19 23:55:48.412802"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.413585"], ["updated_at", "2014-11-19 23:55:48.413857"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:55:48.414846"], ["updated_at", "2014-11-19 23:55:48.414846"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:55:48.415915"], ["updated_at", "2014-11-19 23:55:48.415915"], ["value", 3]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.418266"], ["updated_at", "2014-11-19 23:55:48.418677"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.418329"], ["updated_at", "2014-11-19 23:55:48.419630"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.418368"], ["updated_at", "2014-11-19 23:55:48.420491"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.421139"], ["updated_at", "2014-11-19 23:55:48.421420"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:55:48.422271"], ["updated_at", "2014-11-19 23:55:48.422271"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:55:48.423559"], ["updated_at", "2014-11-19 23:55:48.423559"], ["value", 3]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:55:48.426820"], ["updated_at", "2014-11-19 23:55:48.427218"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:55:48.426886"], ["updated_at", "2014-11-19 23:55:48.428224"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:55:48.426924"], ["updated_at", "2014-11-19 23:55:48.429113"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:55:48.429850"], ["updated_at", "2014-11-19 23:55:48.430106"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:55:48.431038"], ["updated_at", "2014-11-19 23:55:48.431038"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:55:48.432003"], ["updated_at", "2014-11-19 23:55:48.432003"], ["value", 3]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users"  (7.9ms) DROP TABLE "users"  (4.0ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  (0.3ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.046643"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:56:31.046643"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:31.050343"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:31.050343"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"81", "graph_id"=>"91"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 91]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 81]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 81 AND "prosperity_dashboard_graphs"."graph_id" = 91) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.074065"], ["dashboard_id", 81], ["graph_id", 91], ["updated_at", "2014-11-19 23:56:31.074065"]]  (0.5ms) COMMIT Redirected to http://test.host/prosperity/dashboards/81/edit Completed 302 Found in 22ms (ActiveRecord: 1.6ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 91]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 81]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.081002"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:56:31.081002"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:31.083047"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:31.083047"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"82", "graph_id"=>"92"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 92]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 82]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 82 AND "prosperity_dashboard_graphs"."graph_id" = 92) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.088298"], ["dashboard_id", 82], ["graph_id", 92], ["updated_at", "2014-11-19 23:56:31.088298"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/82/edit Completed 302 Found in 4ms (ActiveRecord: 1.2ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"82", "graph_id"=>"92"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 92]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 82]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 82 AND "prosperity_dashboard_graphs"."graph_id" = 92) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/82/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:31.097180"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:31.097180"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.099081"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:56:31.099081"]]  (0.3ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 83 AND "prosperity_dashboard_graphs"."graph_id" = 93) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.101221"], ["dashboard_id", 83], ["graph_id", 93], ["updated_at", "2014-11-19 23:56:31.101221"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"83", "graph_id"=>"93"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 93]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 83]] Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 93 AND "prosperity_dashboard_graphs"."dashboard_id" = 83 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 21]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/83/edit Completed 302 Found in 5ms (ActiveRecord: 1.2ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.110584"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:56:31.110584"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:31.112219"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:31.112219"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"84", "graph_id"=>"94"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 94]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 84]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 94 AND "prosperity_dashboard_graphs"."dashboard_id" = 84 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.120961"], ["updated_at", "2014-11-19 23:56:31.125362"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.121088"], ["updated_at", "2014-11-19 23:56:31.127081"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.121131"], ["updated_at", "2014-11-19 23:56:31.128142"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.121168"], ["updated_at", "2014-11-19 23:56:31.129101"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.138482"], ["updated_at", "2014-11-19 23:56:31.138994"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.138578"], ["updated_at", "2014-11-19 23:56:31.140044"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.138619"], ["updated_at", "2014-11-19 23:56:31.140997"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.138656"], ["updated_at", "2014-11-19 23:56:31.141910"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.158059"], ["updated_at", "2014-11-19 23:56:31.158576"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.158127"], ["updated_at", "2014-11-19 23:56:31.159545"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.158165"], ["updated_at", "2014-11-19 23:56:31.160352"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.158219"], ["updated_at", "2014-11-19 23:56:31.161153"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.174832"], ["updated_at", "2014-11-19 23:56:31.175383"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.174899"], ["updated_at", "2014-11-19 23:56:31.176637"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.174963"], ["updated_at", "2014-11-19 23:56:31.177781"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.175000"], ["updated_at", "2014-11-19 23:56:31.178921"]]  (0.2ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.192623"], ["updated_at", "2014-11-19 23:56:31.193169"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.192684"], ["updated_at", "2014-11-19 23:56:31.194261"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.192737"], ["updated_at", "2014-11-19 23:56:31.195203"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.192774"], ["updated_at", "2014-11-19 23:56:31.196164"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.205915"], ["updated_at", "2014-11-19 23:56:31.206455"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.205983"], ["updated_at", "2014-11-19 23:56:31.207545"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.206029"], ["updated_at", "2014-11-19 23:56:31.208494"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.206123"], ["updated_at", "2014-11-19 23:56:31.209372"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.217869"], ["updated_at", "2014-11-19 23:56:31.218303"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.217930"], ["updated_at", "2014-11-19 23:56:31.219269"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.217968"], ["updated_at", "2014-11-19 23:56:31.220234"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.218019"], ["updated_at", "2014-11-19 23:56:31.221474"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.223976"], ["updated_at", "2014-11-19 23:56:31.224443"]]  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.224045"], ["updated_at", "2014-11-19 23:56:31.225597"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.224084"], ["updated_at", "2014-11-19 23:56:31.226565"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.224125"], ["updated_at", "2014-11-19 23:56:31.227469"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.236576"], ["updated_at", "2014-11-19 23:56:31.237059"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.236643"], ["updated_at", "2014-11-19 23:56:31.238113"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.236682"], ["updated_at", "2014-11-19 23:56:31.239014"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.236717"], ["updated_at", "2014-11-19 23:56:31.239877"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.248766"], ["updated_at", "2014-11-19 23:56:31.249276"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.248835"], ["updated_at", "2014-11-19 23:56:31.250337"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.248874"], ["updated_at", "2014-11-19 23:56:31.251251"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.248910"], ["updated_at", "2014-11-19 23:56:31.252083"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.260106"], ["updated_at", "2014-11-19 23:56:31.260597"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.260162"], ["updated_at", "2014-11-19 23:56:31.261780"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.260214"], ["updated_at", "2014-11-19 23:56:31.262802"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.260252"], ["updated_at", "2014-11-19 23:56:31.263864"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.278950"], ["updated_at", "2014-11-19 23:56:31.279487"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.279022"], ["updated_at", "2014-11-19 23:56:31.280595"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.279063"], ["updated_at", "2014-11-19 23:56:31.281649"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.279099"], ["updated_at", "2014-11-19 23:56:31.282609"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.297115"], ["updated_at", "2014-11-19 23:56:31.297705"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.297198"], ["updated_at", "2014-11-19 23:56:31.298839"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.297255"], ["updated_at", "2014-11-19 23:56:31.299782"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.297293"], ["updated_at", "2014-11-19 23:56:31.300703"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.314144"], ["updated_at", "2014-11-19 23:56:31.314680"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.314206"], ["updated_at", "2014-11-19 23:56:31.316192"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.314243"], ["updated_at", "2014-11-19 23:56:31.317129"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.314278"], ["updated_at", "2014-11-19 23:56:31.318029"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.332507"], ["updated_at", "2014-11-19 23:56:31.333026"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.332588"], ["updated_at", "2014-11-19 23:56:31.334208"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.332631"], ["updated_at", "2014-11-19 23:56:31.335238"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.332668"], ["updated_at", "2014-11-19 23:56:31.336230"]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.339233"], ["updated_at", "2014-11-19 23:56:31.339706"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.339299"], ["updated_at", "2014-11-19 23:56:31.340718"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.339338"], ["updated_at", "2014-11-19 23:56:31.352609"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.339380"], ["updated_at", "2014-11-19 23:56:31.354091"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.366777"], ["updated_at", "2014-11-19 23:56:31.367662"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:56:31.366846"], ["updated_at", "2014-11-19 23:56:31.369323"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.366886"], ["updated_at", "2014-11-19 23:56:31.370737"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.366923"], ["updated_at", "2014-11-19 23:56:31.371970"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.383574"], ["updated_at", "2014-11-19 23:56:31.384094"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.383646"], ["updated_at", "2014-11-19 23:56:31.385614"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.383687"], ["updated_at", "2014-11-19 23:56:31.386887"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.387936"], ["updated_at", "2014-11-19 23:56:31.388226"]]  (0.2ms) COMMIT  (1.4ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.393092"], ["updated_at", "2014-11-19 23:56:31.393606"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.393157"], ["updated_at", "2014-11-19 23:56:31.394790"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.393196"], ["updated_at", "2014-11-19 23:56:31.395954"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.396748"], ["updated_at", "2014-11-19 23:56:31.397037"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.402376"], ["updated_at", "2014-11-19 23:56:31.402836"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.402439"], ["updated_at", "2014-11-19 23:56:31.404132"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.402477"], ["updated_at", "2014-11-19 23:56:31.405177"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.406039"], ["updated_at", "2014-11-19 23:56:31.406314"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.410859"], ["updated_at", "2014-11-19 23:56:31.411277"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.410952"], ["updated_at", "2014-11-19 23:56:31.412266"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.410989"], ["updated_at", "2014-11-19 23:56:31.413142"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.413871"], ["updated_at", "2014-11-19 23:56:31.414154"]]  (0.4ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.418105"], ["updated_at", "2014-11-19 23:56:31.418524"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.418183"], ["updated_at", "2014-11-19 23:56:31.419576"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.418221"], ["updated_at", "2014-11-19 23:56:31.420598"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.421386"], ["updated_at", "2014-11-19 23:56:31.421689"]]  (0.4ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.425349"], ["updated_at", "2014-11-19 23:56:31.425819"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.425407"], ["updated_at", "2014-11-19 23:56:31.426900"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.425445"], ["updated_at", "2014-11-19 23:56:31.427788"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.428436"], ["updated_at", "2014-11-19 23:56:31.428703"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.433292"], ["updated_at", "2014-11-19 23:56:31.433790"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.433352"], ["updated_at", "2014-11-19 23:56:31.434857"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.433392"], ["updated_at", "2014-11-19 23:56:31.435813"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.436528"], ["updated_at", "2014-11-19 23:56:31.436808"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.440561"], ["updated_at", "2014-11-19 23:56:31.440959"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.440623"], ["updated_at", "2014-11-19 23:56:31.441960"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.440662"], ["updated_at", "2014-11-19 23:56:31.442843"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.443528"], ["updated_at", "2014-11-19 23:56:31.443786"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.447870"], ["updated_at", "2014-11-19 23:56:31.448372"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.447931"], ["updated_at", "2014-11-19 23:56:31.450157"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.447971"], ["updated_at", "2014-11-19 23:56:31.451435"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.452179"], ["updated_at", "2014-11-19 23:56:31.452453"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.456455"], ["updated_at", "2014-11-19 23:56:31.456907"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.456554"], ["updated_at", "2014-11-19 23:56:31.458025"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.456594"], ["updated_at", "2014-11-19 23:56:31.459094"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.459959"], ["updated_at", "2014-11-19 23:56:31.460272"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.463899"], ["updated_at", "2014-11-19 23:56:31.464342"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.463963"], ["updated_at", "2014-11-19 23:56:31.465455"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.464002"], ["updated_at", "2014-11-19 23:56:31.466458"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.467241"], ["updated_at", "2014-11-19 23:56:31.467546"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.471567"], ["updated_at", "2014-11-19 23:56:31.472012"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.471625"], ["updated_at", "2014-11-19 23:56:31.473073"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.471727"], ["updated_at", "2014-11-19 23:56:31.474152"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.474903"], ["updated_at", "2014-11-19 23:56:31.475159"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.479316"], ["updated_at", "2014-11-19 23:56:31.479858"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.479391"], ["updated_at", "2014-11-19 23:56:31.481057"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.479492"], ["updated_at", "2014-11-19 23:56:31.482154"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.482979"], ["updated_at", "2014-11-19 23:56:31.483773"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.487661"], ["updated_at", "2014-11-19 23:56:31.488059"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.487720"], ["updated_at", "2014-11-19 23:56:31.489221"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.487764"], ["updated_at", "2014-11-19 23:56:31.490323"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.491070"], ["updated_at", "2014-11-19 23:56:31.491396"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.495440"], ["updated_at", "2014-11-19 23:56:31.495912"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.495515"], ["updated_at", "2014-11-19 23:56:31.496889"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.495556"], ["updated_at", "2014-11-19 23:56:31.497742"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.498402"], ["updated_at", "2014-11-19 23:56:31.498741"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:56:31.499814"], ["updated_at", "2014-11-19 23:56:31.499814"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:56:31.500890"], ["updated_at", "2014-11-19 23:56:31.500890"], ["value", 3]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.505407"], ["updated_at", "2014-11-19 23:56:31.505836"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.505468"], ["updated_at", "2014-11-19 23:56:31.506858"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.505506"], ["updated_at", "2014-11-19 23:56:31.507846"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.508562"], ["updated_at", "2014-11-19 23:56:31.508864"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:56:31.509990"], ["updated_at", "2014-11-19 23:56:31.509990"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:56:31.510967"], ["updated_at", "2014-11-19 23:56:31.510967"], ["value", 3]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket   (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.515141"], ["updated_at", "2014-11-19 23:56:31.515561"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.515201"], ["updated_at", "2014-11-19 23:56:31.516572"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.515239"], ["updated_at", "2014-11-19 23:56:31.517460"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.518148"], ["updated_at", "2014-11-19 23:56:31.518409"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:56:31.519300"], ["updated_at", "2014-11-19 23:56:31.519300"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:56:31.520522"], ["updated_at", "2014-11-19 23:56:31.520522"], ["value", 3]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.523691"], ["updated_at", "2014-11-19 23:56:31.524113"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.523758"], ["updated_at", "2014-11-19 23:56:31.525121"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.523819"], ["updated_at", "2014-11-19 23:56:31.526123"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.526805"], ["updated_at", "2014-11-19 23:56:31.527074"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.530143"], ["updated_at", "2014-11-19 23:56:31.530536"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.530200"], ["updated_at", "2014-11-19 23:56:31.531574"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.530238"], ["updated_at", "2014-11-19 23:56:31.532516"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.533272"], ["updated_at", "2014-11-19 23:56:31.533523"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.536869"], ["updated_at", "2014-11-19 23:56:31.537279"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.536925"], ["updated_at", "2014-11-19 23:56:31.538162"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.536985"], ["updated_at", "2014-11-19 23:56:31.538982"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.539617"], ["updated_at", "2014-11-19 23:56:31.539894"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.546504"], ["updated_at", "2014-11-19 23:56:31.546940"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.546569"], ["updated_at", "2014-11-19 23:56:31.548025"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.546608"], ["updated_at", "2014-11-19 23:56:31.549130"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.549893"], ["updated_at", "2014-11-19 23:56:31.550181"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.556262"], ["updated_at", "2014-11-19 23:56:31.556667"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.556320"], ["updated_at", "2014-11-19 23:56:31.557668"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.556358"], ["updated_at", "2014-11-19 23:56:31.558616"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.559356"], ["updated_at", "2014-11-19 23:56:31.559619"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.562154"], ["updated_at", "2014-11-19 23:56:31.562617"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.562209"], ["updated_at", "2014-11-19 23:56:31.563935"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.562246"], ["updated_at", "2014-11-19 23:56:31.564909"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.565650"], ["updated_at", "2014-11-19 23:56:31.565899"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.568734"], ["updated_at", "2014-11-19 23:56:31.569125"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.568792"], ["updated_at", "2014-11-19 23:56:31.570079"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.568842"], ["updated_at", "2014-11-19 23:56:31.570956"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.571678"], ["updated_at", "2014-11-19 23:56:31.571923"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.574937"], ["updated_at", "2014-11-19 23:56:31.575422"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.575000"], ["updated_at", "2014-11-19 23:56:31.576545"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.575039"], ["updated_at", "2014-11-19 23:56:31.577482"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:56:31.578227"], ["updated_at", "2014-11-19 23:56:31.578528"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket   (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.582683"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:56:31.582683"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 68ms (Views: 67.8ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.656056"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:56:31.656056"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"86"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 86]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.7ms) Prosperity::Graph Exists (0.4ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 86]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 86]] Completed 200 OK in 18ms (Views: 17.1ms | ActiveRecord: 0.9ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.678931"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:56:31.678931"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.693295"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:56:31.693295"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"88"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 88]]  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 88]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.8ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 88 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.700541"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:56:31.700541"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.703908"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-19 23:56:31.703908"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/90/edit Completed 302 Found in 2ms (ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.707162"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:56:31.707162"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:56:31.714944"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:56:31.714944"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"92"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 92]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 92]] Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.9ms) SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.729953"], ["updated_at", "2014-11-19 23:56:31.730600"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.730063"], ["updated_at", "2014-11-19 23:56:31.731956"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.730113"], ["updated_at", "2014-11-19 23:56:31.733072"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.738681"], ["updated_at", "2014-11-19 23:56:31.739062"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.738738"], ["updated_at", "2014-11-19 23:56:31.740102"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.738777"], ["updated_at", "2014-11-19 23:56:31.741059"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.749595"], ["updated_at", "2014-11-19 23:56:31.750026"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.749659"], ["updated_at", "2014-11-19 23:56:31.751085"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.749700"], ["updated_at", "2014-11-19 23:56:31.752102"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.759621"], ["updated_at", "2014-11-19 23:56:31.760016"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.759680"], ["updated_at", "2014-11-19 23:56:31.761053"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.759720"], ["updated_at", "2014-11-19 23:56:31.761992"]]  (0.4ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.770097"], ["updated_at", "2014-11-19 23:56:31.770491"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.770158"], ["updated_at", "2014-11-19 23:56:31.771537"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.770197"], ["updated_at", "2014-11-19 23:56:31.772558"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.778069"], ["updated_at", "2014-11-19 23:56:31.778467"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.778131"], ["updated_at", "2014-11-19 23:56:31.779496"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.778170"], ["updated_at", "2014-11-19 23:56:31.780405"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.785731"], ["updated_at", "2014-11-19 23:56:31.786160"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.785795"], ["updated_at", "2014-11-19 23:56:31.787159"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.785835"], ["updated_at", "2014-11-19 23:56:31.788101"]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.790283"], ["updated_at", "2014-11-19 23:56:31.790672"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.790346"], ["updated_at", "2014-11-19 23:56:31.791590"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.790386"], ["updated_at", "2014-11-19 23:56:31.792410"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.797895"], ["updated_at", "2014-11-19 23:56:31.798300"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.797953"], ["updated_at", "2014-11-19 23:56:31.799377"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.797992"], ["updated_at", "2014-11-19 23:56:31.800406"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.806133"], ["updated_at", "2014-11-19 23:56:31.806552"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.806199"], ["updated_at", "2014-11-19 23:56:31.807689"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.806240"], ["updated_at", "2014-11-19 23:56:31.808662"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.813918"], ["updated_at", "2014-11-19 23:56:31.814287"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.813976"], ["updated_at", "2014-11-19 23:56:31.815221"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.814015"], ["updated_at", "2014-11-19 23:56:31.816083"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.824320"], ["updated_at", "2014-11-19 23:56:31.824761"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.824391"], ["updated_at", "2014-11-19 23:56:31.825750"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.824433"], ["updated_at", "2014-11-19 23:56:31.826646"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.834979"], ["updated_at", "2014-11-19 23:56:31.835423"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.835041"], ["updated_at", "2014-11-19 23:56:31.836621"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.835082"], ["updated_at", "2014-11-19 23:56:31.837892"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.846066"], ["updated_at", "2014-11-19 23:56:31.846522"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.846129"], ["updated_at", "2014-11-19 23:56:31.847625"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.846169"], ["updated_at", "2014-11-19 23:56:31.848602"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.856415"], ["updated_at", "2014-11-19 23:56:31.856825"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.856473"], ["updated_at", "2014-11-19 23:56:31.857880"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.856511"], ["updated_at", "2014-11-19 23:56:31.858823"]]  (0.3ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.861505"], ["updated_at", "2014-11-19 23:56:31.861922"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.861572"], ["updated_at", "2014-11-19 23:56:31.862936"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.861612"], ["updated_at", "2014-11-19 23:56:31.863845"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.868942"], ["updated_at", "2014-11-19 23:56:31.869371"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.868998"], ["updated_at", "2014-11-19 23:56:31.870388"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.869036"], ["updated_at", "2014-11-19 23:56:31.871283"]]  (0.2ms) COMMIT  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:56:31.876417"], ["updated_at", "2014-11-19 23:56:31.876774"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:56:31.876471"], ["updated_at", "2014-11-19 23:56:31.877713"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:56:31.876509"], ["updated_at", "2014-11-19 23:56:31.878613"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.3ms) Completed 200 OK in 40ms (Views: 39.4ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (2.9ms) Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:31.989032"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:31.989032"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"95"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 95]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.5ms) Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 95]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 9.9ms | ActiveRecord: 1.6ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:32.010944"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:32.010944"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"96"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 96]]  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:56:32.015904"], ["extractor", "count"], ["graph_id", 96], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:56:32.015904"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/96/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 96]]  (0.3ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 96]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:32.021340"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:32.021340"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:56:32.023593"], ["extractor", "count"], ["graph_id", 97], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:56:32.023593"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 97]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"32", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"97"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 97]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (32) [["graph_id", 97]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 32 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-19 23:56:32.029257"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/graphs/97/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 97]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 97]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:32.034199"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:32.034199"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:56:32.036032"], ["extractor", "count"], ["graph_id", 98], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:56:32.036032"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"33"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"98"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 98]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (33) [["graph_id", 98]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 33 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-19 23:56:32.041261"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/98/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 33]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 98]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 98]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:32.046021"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:32.046021"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:56:32.047913"], ["extractor", "count"], ["graph_id", 99], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:56:32.047913"]]  (0.4ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 99]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"34", "_destroy"=>true}}}, "id"=>"99"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 99]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (34) [["graph_id", 99]] SQL (0.1ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 34]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/99/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 34 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:32.056585"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:32.056585"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"100"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 100]] Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 100]] Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:32.061277"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:32.061277"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:56:32.063334"], ["extractor", "count"], ["graph_id", 101], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:56:32.063334"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"101"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 101]] Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 101]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:32.068917"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:32.068917"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"102"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 102]] Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:32.076523"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:32.076523"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"103"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 103]] Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:32.082212"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:32.082212"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"104"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 104]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 1ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:56:32.091761"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:56:32.091761"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/105/edit Completed 302 Found in 2ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.3ms) Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.2ms)  (2.4ms) DROP TABLE "users"  (5.7ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.666618"], ["updated_at", "2014-11-19 23:58:39.675985"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.666766"], ["updated_at", "2014-11-19 23:58:39.680778"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.666812"], ["updated_at", "2014-11-19 23:58:39.682256"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.683439"], ["updated_at", "2014-11-19 23:58:39.683945"]]  (0.3ms) COMMIT  (1.9ms) WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.689929"], ["updated_at", "2014-11-19 23:58:39.690537"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.690019"], ["updated_at", "2014-11-19 23:58:39.691845"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.690070"], ["updated_at", "2014-11-19 23:58:39.692887"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.693607"], ["updated_at", "2014-11-19 23:58:39.693887"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.697759"], ["updated_at", "2014-11-19 23:58:39.698210"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.697841"], ["updated_at", "2014-11-19 23:58:39.699194"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.697881"], ["updated_at", "2014-11-19 23:58:39.700119"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.700889"], ["updated_at", "2014-11-19 23:58:39.701190"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:58:39.702065"], ["updated_at", "2014-11-19 23:58:39.702065"], ["value", 1]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:58:39.703026"], ["updated_at", "2014-11-19 23:58:39.703026"], ["value", 3]]  (0.2ms) COMMIT  (0.4ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.708641"], ["updated_at", "2014-11-19 23:58:39.709063"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.708708"], ["updated_at", "2014-11-19 23:58:39.710063"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.708745"], ["updated_at", "2014-11-19 23:58:39.710891"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.711501"], ["updated_at", "2014-11-19 23:58:39.711756"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:58:39.712547"], ["updated_at", "2014-11-19 23:58:39.712547"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:58:39.713480"], ["updated_at", "2014-11-19 23:58:39.713480"], ["value", 3]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket   (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.717455"], ["updated_at", "2014-11-19 23:58:39.717876"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.717526"], ["updated_at", "2014-11-19 23:58:39.718928"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.717564"], ["updated_at", "2014-11-19 23:58:39.719873"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.720674"], ["updated_at", "2014-11-19 23:58:39.720963"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:58:39.721878"], ["updated_at", "2014-11-19 23:58:39.721878"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:58:39.722857"], ["updated_at", "2014-11-19 23:58:39.722857"], ["value", 3]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.725823"], ["updated_at", "2014-11-19 23:58:39.726213"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.725895"], ["updated_at", "2014-11-19 23:58:39.727276"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.725933"], ["updated_at", "2014-11-19 23:58:39.728271"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.728917"], ["updated_at", "2014-11-19 23:58:39.729279"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.733339"], ["updated_at", "2014-11-19 23:58:39.733763"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.733398"], ["updated_at", "2014-11-19 23:58:39.734835"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.733454"], ["updated_at", "2014-11-19 23:58:39.735795"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.736491"], ["updated_at", "2014-11-19 23:58:39.736736"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.740142"], ["updated_at", "2014-11-19 23:58:39.740505"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.740198"], ["updated_at", "2014-11-19 23:58:39.741449"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.740235"], ["updated_at", "2014-11-19 23:58:39.742331"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.743000"], ["updated_at", "2014-11-19 23:58:39.743245"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.749372"], ["updated_at", "2014-11-19 23:58:39.749813"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.749432"], ["updated_at", "2014-11-19 23:58:39.750845"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.749483"], ["updated_at", "2014-11-19 23:58:39.751806"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.752515"], ["updated_at", "2014-11-19 23:58:39.752769"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.758854"], ["updated_at", "2014-11-19 23:58:39.759290"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.758913"], ["updated_at", "2014-11-19 23:58:39.760353"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.758953"], ["updated_at", "2014-11-19 23:58:39.761311"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.762054"], ["updated_at", "2014-11-19 23:58:39.762314"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.764708"], ["updated_at", "2014-11-19 23:58:39.765115"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.764770"], ["updated_at", "2014-11-19 23:58:39.766134"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.764810"], ["updated_at", "2014-11-19 23:58:39.767107"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.767828"], ["updated_at", "2014-11-19 23:58:39.768107"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.770954"], ["updated_at", "2014-11-19 23:58:39.771343"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.771027"], ["updated_at", "2014-11-19 23:58:39.772345"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.771065"], ["updated_at", "2014-11-19 23:58:39.773253"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.773936"], ["updated_at", "2014-11-19 23:58:39.774172"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.778598"], ["updated_at", "2014-11-19 23:58:39.778998"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.778669"], ["updated_at", "2014-11-19 23:58:39.780246"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.778708"], ["updated_at", "2014-11-19 23:58:39.781132"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.781905"], ["updated_at", "2014-11-19 23:58:39.782222"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.786328"], ["updated_at", "2014-11-19 23:58:39.786710"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.786385"], ["updated_at", "2014-11-19 23:58:39.787759"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.786424"], ["updated_at", "2014-11-19 23:58:39.788702"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.789424"], ["updated_at", "2014-11-19 23:58:39.789677"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.793455"], ["updated_at", "2014-11-19 23:58:39.793810"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.793511"], ["updated_at", "2014-11-19 23:58:39.794816"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.793547"], ["updated_at", "2014-11-19 23:58:39.795798"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.796479"], ["updated_at", "2014-11-19 23:58:39.796754"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.800705"], ["updated_at", "2014-11-19 23:58:39.801140"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.800763"], ["updated_at", "2014-11-19 23:58:39.802288"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.800802"], ["updated_at", "2014-11-19 23:58:39.803330"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.804094"], ["updated_at", "2014-11-19 23:58:39.804386"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.808026"], ["updated_at", "2014-11-19 23:58:39.808473"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.808108"], ["updated_at", "2014-11-19 23:58:39.809471"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.808147"], ["updated_at", "2014-11-19 23:58:39.810361"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.811064"], ["updated_at", "2014-11-19 23:58:39.811333"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.815938"], ["updated_at", "2014-11-19 23:58:39.816373"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.815999"], ["updated_at", "2014-11-19 23:58:39.817494"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.816037"], ["updated_at", "2014-11-19 23:58:39.818489"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.819258"], ["updated_at", "2014-11-19 23:58:39.819519"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.822963"], ["updated_at", "2014-11-19 23:58:39.823349"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.823021"], ["updated_at", "2014-11-19 23:58:39.824499"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.823059"], ["updated_at", "2014-11-19 23:58:39.825540"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.826268"], ["updated_at", "2014-11-19 23:58:39.826534"]]  (0.3ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.831681"], ["updated_at", "2014-11-19 23:58:39.832104"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.831742"], ["updated_at", "2014-11-19 23:58:39.833288"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.831778"], ["updated_at", "2014-11-19 23:58:39.834431"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.835118"], ["updated_at", "2014-11-19 23:58:39.835375"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.838899"], ["updated_at", "2014-11-19 23:58:39.839327"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.838954"], ["updated_at", "2014-11-19 23:58:39.840705"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.838991"], ["updated_at", "2014-11-19 23:58:39.841854"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.842577"], ["updated_at", "2014-11-19 23:58:39.842831"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.846176"], ["updated_at", "2014-11-19 23:58:39.846583"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.846235"], ["updated_at", "2014-11-19 23:58:39.847665"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.846287"], ["updated_at", "2014-11-19 23:58:39.848614"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.849320"], ["updated_at", "2014-11-19 23:58:39.849633"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.853357"], ["updated_at", "2014-11-19 23:58:39.853739"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.853420"], ["updated_at", "2014-11-19 23:58:39.854727"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.853460"], ["updated_at", "2014-11-19 23:58:39.855708"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.856447"], ["updated_at", "2014-11-19 23:58:39.856747"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.860621"], ["updated_at", "2014-11-19 23:58:39.861003"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.860679"], ["updated_at", "2014-11-19 23:58:39.861896"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.860716"], ["updated_at", "2014-11-19 23:58:39.862746"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.863357"], ["updated_at", "2014-11-19 23:58:39.863640"]]  (0.2ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.868216"], ["updated_at", "2014-11-19 23:58:39.868646"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.868281"], ["updated_at", "2014-11-19 23:58:39.869777"]]  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.868321"], ["updated_at", "2014-11-19 23:58:39.870945"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:58:39.871793"], ["updated_at", "2014-11-19 23:58:39.872125"]]  (0.4ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.886889"], ["updated_at", "2014-11-19 23:58:39.887387"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.886965"], ["updated_at", "2014-11-19 23:58:39.888625"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.887005"], ["updated_at", "2014-11-19 23:58:39.889621"]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.891634"], ["updated_at", "2014-11-19 23:58:39.891986"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.891690"], ["updated_at", "2014-11-19 23:58:39.892956"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.891727"], ["updated_at", "2014-11-19 23:58:39.893850"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.896290"], ["updated_at", "2014-11-19 23:58:39.896658"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.896348"], ["updated_at", "2014-11-19 23:58:39.897640"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.896385"], ["updated_at", "2014-11-19 23:58:39.898548"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.904212"], ["updated_at", "2014-11-19 23:58:39.904618"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.904265"], ["updated_at", "2014-11-19 23:58:39.905721"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.904303"], ["updated_at", "2014-11-19 23:58:39.906697"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.912011"], ["updated_at", "2014-11-19 23:58:39.912383"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.912068"], ["updated_at", "2014-11-19 23:58:39.913331"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.912106"], ["updated_at", "2014-11-19 23:58:39.914188"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.916001"], ["updated_at", "2014-11-19 23:58:39.916390"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.916078"], ["updated_at", "2014-11-19 23:58:39.917381"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.916116"], ["updated_at", "2014-11-19 23:58:39.918281"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.920345"], ["updated_at", "2014-11-19 23:58:39.920688"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.920397"], ["updated_at", "2014-11-19 23:58:39.921594"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.920433"], ["updated_at", "2014-11-19 23:58:39.922462"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.924634"], ["updated_at", "2014-11-19 23:58:39.924985"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.924691"], ["updated_at", "2014-11-19 23:58:39.925980"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.924728"], ["updated_at", "2014-11-19 23:58:39.926916"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.932272"], ["updated_at", "2014-11-19 23:58:39.932628"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.932325"], ["updated_at", "2014-11-19 23:58:39.933631"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.932362"], ["updated_at", "2014-11-19 23:58:39.934552"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.939739"], ["updated_at", "2014-11-19 23:58:39.940126"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.939798"], ["updated_at", "2014-11-19 23:58:39.941134"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.939838"], ["updated_at", "2014-11-19 23:58:39.942052"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.944014"], ["updated_at", "2014-11-19 23:58:39.944346"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.944066"], ["updated_at", "2014-11-19 23:58:39.945269"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.944106"], ["updated_at", "2014-11-19 23:58:39.946140"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.952626"], ["updated_at", "2014-11-19 23:58:39.953083"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.952693"], ["updated_at", "2014-11-19 23:58:39.954162"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.952733"], ["updated_at", "2014-11-19 23:58:39.955071"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.957317"], ["updated_at", "2014-11-19 23:58:39.957769"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.957382"], ["updated_at", "2014-11-19 23:58:39.958833"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.957428"], ["updated_at", "2014-11-19 23:58:39.959772"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.966015"], ["updated_at", "2014-11-19 23:58:39.966451"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.966082"], ["updated_at", "2014-11-19 23:58:39.967537"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.966123"], ["updated_at", "2014-11-19 23:58:39.968573"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.974224"], ["updated_at", "2014-11-19 23:58:39.974607"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.974281"], ["updated_at", "2014-11-19 23:58:39.975647"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.974319"], ["updated_at", "2014-11-19 23:58:39.976597"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.982290"], ["updated_at", "2014-11-19 23:58:39.982705"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.982354"], ["updated_at", "2014-11-19 23:58:39.983775"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.982394"], ["updated_at", "2014-11-19 23:58:39.984792"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.986929"], ["updated_at", "2014-11-19 23:58:39.987316"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.986989"], ["updated_at", "2014-11-19 23:58:39.988306"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.987029"], ["updated_at", "2014-11-19 23:58:39.989197"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:39.991214"], ["updated_at", "2014-11-19 23:58:39.991553"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:39.991266"], ["updated_at", "2014-11-19 23:58:39.992484"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:39.991302"], ["updated_at", "2014-11-19 23:58:39.993416"]]  (0.2ms) COMMIT  (0.4ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.041010"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:58:40.041010"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.043534"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.043534"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"93", "graph_id"=>"106"} Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 106]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 93]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 93 AND "prosperity_dashboard_graphs"."graph_id" = 106) LIMIT 1 SQL (0.3ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.068117"], ["dashboard_id", 93], ["graph_id", 106], ["updated_at", "2014-11-19 23:58:40.068117"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/93/edit Completed 302 Found in 21ms (ActiveRecord: 1.6ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 106]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 93]]  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.075786"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:58:40.075786"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.078353"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.078353"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"94", "graph_id"=>"107"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 107]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 94]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 94 AND "prosperity_dashboard_graphs"."graph_id" = 107) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.083740"], ["dashboard_id", 94], ["graph_id", 107], ["updated_at", "2014-11-19 23:58:40.083740"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/94/edit Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"94", "graph_id"=>"107"} Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 107]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 94]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 94 AND "prosperity_dashboard_graphs"."graph_id" = 107) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/94/edit Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.1ms) BEGIN SQL (0.6ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.095705"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.095705"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.098224"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:58:40.098224"]]  (0.3ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 95 AND "prosperity_dashboard_graphs"."graph_id" = 108) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.101285"], ["dashboard_id", 95], ["graph_id", 108], ["updated_at", "2014-11-19 23:58:40.101285"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"95", "graph_id"=>"108"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 108]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 95]] Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 108 AND "prosperity_dashboard_graphs"."dashboard_id" = 95 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 24]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/95/edit Completed 302 Found in 9ms (ActiveRecord: 1.3ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.116380"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:58:40.116380"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.118394"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.118394"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"96", "graph_id"=>"109"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 109]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 96]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 109 AND "prosperity_dashboard_graphs"."dashboard_id" = 96 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.7ms) Completed 200 OK in 8ms (Views: 8.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.195463"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:58:40.195463"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.199805"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-19 23:58:40.199805"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/98/edit Completed 302 Found in 2ms (ActiveRecord: 0.6ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.203551"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:58:40.203551"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.217589"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:58:40.217589"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"100"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 100]]  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 100]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.6ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 100 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.223998"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:58:40.223998"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.230432"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:58:40.230432"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"102"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 102]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.5ms) Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 102]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 102]] Completed 200 OK in 19ms (Views: 17.2ms | ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.253677"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:58:40.253677"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 53ms (Views: 52.4ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:58:40.311115"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:58:40.311115"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"104"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 104]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 104]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.9ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.330058"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.330058"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/110/edit Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (2.5ms) Completed 200 OK in 11ms (Views: 7.1ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.347469"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.347469"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"111"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 111]]  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:58:40.360897"], ["extractor", "count"], ["graph_id", 111], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:58:40.360897"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/111/edit Completed 302 Found in 13ms (ActiveRecord: 2.3ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 111]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 111]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.366289"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.366289"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:58:40.368197"], ["extractor", "count"], ["graph_id", 112], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:58:40.368197"]]  (0.2ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 112]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"37", "_destroy"=>true}}}, "id"=>"112"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 112]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (37) [["graph_id", 112]] SQL (0.1ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 37]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/112/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 37 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.376456"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.376456"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:58:40.378123"], ["extractor", "count"], ["graph_id", 113], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:58:40.378123"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"38"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"113"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 113]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (38) [["graph_id", 113]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 38 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-19 23:58:40.383128"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/113/edit Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 38]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 113]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 113]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.388331"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.388331"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:58:40.390076"], ["extractor", "count"], ["graph_id", 114], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:58:40.390076"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 114]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"39", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"114"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 114]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (39) [["graph_id", 114]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 39 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-19 23:58:40.395318"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/114/edit Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 114]] Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 114]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.400826"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.400826"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"115"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 115]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 115]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.405948"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.405948"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:58:40.407919"], ["extractor", "count"], ["graph_id", 116], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:58:40.407919"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"116"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 116]] Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 116]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.413589"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.413589"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"117"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 117]] Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.420725"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.420725"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"118"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 118]] Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.425770"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.425770"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"119"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 119]] Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 2ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:58:40.433592"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:58:40.433592"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"120"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 120]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.2ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 120]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.3ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.453538"], ["updated_at", "2014-11-19 23:58:40.454245"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.453644"], ["updated_at", "2014-11-19 23:58:40.455495"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.453694"], ["updated_at", "2014-11-19 23:58:40.456508"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.453736"], ["updated_at", "2014-11-19 23:58:40.457574"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.471366"], ["updated_at", "2014-11-19 23:58:40.471833"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.471429"], ["updated_at", "2014-11-19 23:58:40.472902"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.471469"], ["updated_at", "2014-11-19 23:58:40.474032"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.471506"], ["updated_at", "2014-11-19 23:58:40.474950"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.483784"], ["updated_at", "2014-11-19 23:58:40.484224"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.483847"], ["updated_at", "2014-11-19 23:58:40.485316"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.483887"], ["updated_at", "2014-11-19 23:58:40.486323"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.483924"], ["updated_at", "2014-11-19 23:58:40.487277"]]  (0.3ms) COMMIT  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.495427"], ["updated_at", "2014-11-19 23:58:40.495865"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.495489"], ["updated_at", "2014-11-19 23:58:40.496905"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.495528"], ["updated_at", "2014-11-19 23:58:40.497803"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.495566"], ["updated_at", "2014-11-19 23:58:40.498695"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.512407"], ["updated_at", "2014-11-19 23:58:40.512941"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.512478"], ["updated_at", "2014-11-19 23:58:40.514012"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.512520"], ["updated_at", "2014-11-19 23:58:40.515040"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.512566"], ["updated_at", "2014-11-19 23:58:40.516011"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.524550"], ["updated_at", "2014-11-19 23:58:40.524955"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.524611"], ["updated_at", "2014-11-19 23:58:40.526027"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.524649"], ["updated_at", "2014-11-19 23:58:40.527060"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.524685"], ["updated_at", "2014-11-19 23:58:40.528019"]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.530511"], ["updated_at", "2014-11-19 23:58:40.530967"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.530587"], ["updated_at", "2014-11-19 23:58:40.532129"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.530627"], ["updated_at", "2014-11-19 23:58:40.533131"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.530665"], ["updated_at", "2014-11-19 23:58:40.534084"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.543157"], ["updated_at", "2014-11-19 23:58:40.543586"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.543219"], ["updated_at", "2014-11-19 23:58:40.544729"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.543259"], ["updated_at", "2014-11-19 23:58:40.545727"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.543296"], ["updated_at", "2014-11-19 23:58:40.546700"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.555657"], ["updated_at", "2014-11-19 23:58:40.556117"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.555721"], ["updated_at", "2014-11-19 23:58:40.557131"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.555760"], ["updated_at", "2014-11-19 23:58:40.558024"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.555798"], ["updated_at", "2014-11-19 23:58:40.558927"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.602965"], ["updated_at", "2014-11-19 23:58:40.603526"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.603027"], ["updated_at", "2014-11-19 23:58:40.605207"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.603100"], ["updated_at", "2014-11-19 23:58:40.606347"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.603136"], ["updated_at", "2014-11-19 23:58:40.607672"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.627278"], ["updated_at", "2014-11-19 23:58:40.627777"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.627344"], ["updated_at", "2014-11-19 23:58:40.628916"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.627382"], ["updated_at", "2014-11-19 23:58:40.630019"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.627419"], ["updated_at", "2014-11-19 23:58:40.631005"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.646286"], ["updated_at", "2014-11-19 23:58:40.646863"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.646343"], ["updated_at", "2014-11-19 23:58:40.648229"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.646380"], ["updated_at", "2014-11-19 23:58:40.649335"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.646415"], ["updated_at", "2014-11-19 23:58:40.650379"]]  (0.2ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.4ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.667371"], ["updated_at", "2014-11-19 23:58:40.668016"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.667456"], ["updated_at", "2014-11-19 23:58:40.669700"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.667507"], ["updated_at", "2014-11-19 23:58:40.670775"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.667556"], ["updated_at", "2014-11-19 23:58:40.671825"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.681113"], ["updated_at", "2014-11-19 23:58:40.681683"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.681167"], ["updated_at", "2014-11-19 23:58:40.683818"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.681203"], ["updated_at", "2014-11-19 23:58:40.684923"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.681239"], ["updated_at", "2014-11-19 23:58:40.686005"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.695136"], ["updated_at", "2014-11-19 23:58:40.695651"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.695192"], ["updated_at", "2014-11-19 23:58:40.696676"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.695228"], ["updated_at", "2014-11-19 23:58:40.697743"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.695263"], ["updated_at", "2014-11-19 23:58:40.698792"]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.702085"], ["updated_at", "2014-11-19 23:58:40.702590"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.702153"], ["updated_at", "2014-11-19 23:58:40.703652"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.702194"], ["updated_at", "2014-11-19 23:58:40.704676"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.702232"], ["updated_at", "2014-11-19 23:58:40.705654"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:58:40.719879"], ["updated_at", "2014-11-19 23:58:40.720386"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:58:40.719971"], ["updated_at", "2014-11-19 23:58:40.721502"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:58:40.720013"], ["updated_at", "2014-11-19 23:58:40.722780"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:58:40.720051"], ["updated_at", "2014-11-19 23:58:40.723785"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (8.1ms) DROP TABLE "users"  (3.9ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:28.258986"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:59:28.258986"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"105"} Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 105]] Prosperity::Graph Exists (0.4ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.5ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 105]] Prosperity::Graph Load (0.6ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/dashboards/edit.html.erb within layouts/prosperity/application (28.5ms) Completed 200 OK in 75ms (Views: 69.8ms | ActiveRecord: 2.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:28.341831"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:59:28.341831"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:28.356851"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:59:28.356851"]]  (0.4ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:28.361121"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-19 23:59:28.361121"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/108/edit Completed 302 Found in 2ms (ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:28.365394"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:59:28.365394"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.5ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 59ms (Views: 58.0ms | ActiveRecord: 0.5ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:28.428052"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:59:28.428052"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"110"} Prosperity::Dashboard Load (0.4ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 110]]  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 110]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.8ms) Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 110 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:28.437055"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:59:28.437055"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"111"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 111]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.7ms) Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 111]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 111]] Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.8ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:28.451124"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:59:28.451124"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:28.459788"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:28.459788"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"121"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 121]] Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:28.469545"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:28.469545"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"122"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 122]] Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 1ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:28.477169"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:28.477169"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"123"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 123]] Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:28.482866"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:28.482866"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:59:28.491374"], ["extractor", "count"], ["graph_id", 124], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:59:28.491374"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"124"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 124]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 124]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:28.497505"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:28.497505"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"125"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 125]] Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 125]] Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms) Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (2.3ms) Completed 200 OK in 10ms (Views: 6.7ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:28.516332"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:28.516332"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/126/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.5ms) Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:28.527417"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:28.527417"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:59:28.529454"], ["extractor", "count"], ["graph_id", 127], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:59:28.529454"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 127]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"42", "_destroy"=>true}}}, "id"=>"127"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 127]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (42) [["graph_id", 127]] SQL (0.2ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 42]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/127/edit Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 42 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:28.538953"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:28.538953"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:59:28.541146"], ["extractor", "count"], ["graph_id", 128], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:59:28.541146"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"43"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"128"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 128]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (43) [["graph_id", 128]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 43 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-19 23:59:28.546189"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/128/edit Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 43]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 128]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 128]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:28.551334"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:28.551334"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:59:28.553064"], ["extractor", "count"], ["graph_id", 129], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:59:28.553064"]]  (0.2ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 129]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"44", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"129"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 129]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (44) [["graph_id", 129]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 44 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-19 23:59:28.558149"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/graphs/129/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 129]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 129]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:28.562091"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:28.562091"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"130"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 130]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-19 23:59:28.565931"], ["extractor", "count"], ["graph_id", 130], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-19 23:59:28.565931"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/130/edit Completed 302 Found in 3ms (ActiveRecord: 0.6ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 130]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 130]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:28.569971"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:28.569971"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"131"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 131]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.3ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 131]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Completed 200 OK in 13ms (Views: 9.7ms | ActiveRecord: 0.5ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.3ms) Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.5ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 1.8ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.641911"], ["updated_at", "2014-11-19 23:59:28.645236"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.642003"], ["updated_at", "2014-11-19 23:59:28.647361"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.642047"], ["updated_at", "2014-11-19 23:59:28.648407"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.642092"], ["updated_at", "2014-11-19 23:59:28.649359"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.658685"], ["updated_at", "2014-11-19 23:59:28.659172"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.658744"], ["updated_at", "2014-11-19 23:59:28.660304"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.658784"], ["updated_at", "2014-11-19 23:59:28.661358"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.658841"], ["updated_at", "2014-11-19 23:59:28.662425"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.671341"], ["updated_at", "2014-11-19 23:59:28.671809"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.671402"], ["updated_at", "2014-11-19 23:59:28.672853"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.671441"], ["updated_at", "2014-11-19 23:59:28.673786"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.671495"], ["updated_at", "2014-11-19 23:59:28.674728"]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.677963"], ["updated_at", "2014-11-19 23:59:28.678394"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.678025"], ["updated_at", "2014-11-19 23:59:28.679432"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.678065"], ["updated_at", "2014-11-19 23:59:28.680424"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.678103"], ["updated_at", "2014-11-19 23:59:28.681322"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.695230"], ["updated_at", "2014-11-19 23:59:28.695710"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.695293"], ["updated_at", "2014-11-19 23:59:28.696696"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.695333"], ["updated_at", "2014-11-19 23:59:28.697562"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.695371"], ["updated_at", "2014-11-19 23:59:28.698402"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.712677"], ["updated_at", "2014-11-19 23:59:28.713409"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.712737"], ["updated_at", "2014-11-19 23:59:28.714936"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.712775"], ["updated_at", "2014-11-19 23:59:28.715989"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.712814"], ["updated_at", "2014-11-19 23:59:28.716939"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.725732"], ["updated_at", "2014-11-19 23:59:28.726215"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.725797"], ["updated_at", "2014-11-19 23:59:28.727313"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.725843"], ["updated_at", "2014-11-19 23:59:28.728256"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.725881"], ["updated_at", "2014-11-19 23:59:28.729170"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.743187"], ["updated_at", "2014-11-19 23:59:28.743648"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.743248"], ["updated_at", "2014-11-19 23:59:28.744846"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.743291"], ["updated_at", "2014-11-19 23:59:28.745877"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.743342"], ["updated_at", "2014-11-19 23:59:28.746781"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.755686"], ["updated_at", "2014-11-19 23:59:28.756201"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.755754"], ["updated_at", "2014-11-19 23:59:28.757428"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.755795"], ["updated_at", "2014-11-19 23:59:28.758408"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.755851"], ["updated_at", "2014-11-19 23:59:28.759411"]]  (0.2ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.773449"], ["updated_at", "2014-11-19 23:59:28.773909"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.773510"], ["updated_at", "2014-11-19 23:59:28.774976"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.773550"], ["updated_at", "2014-11-19 23:59:28.775910"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.773587"], ["updated_at", "2014-11-19 23:59:28.776803"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.786203"], ["updated_at", "2014-11-19 23:59:28.786662"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.786270"], ["updated_at", "2014-11-19 23:59:28.787853"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.786310"], ["updated_at", "2014-11-19 23:59:28.788868"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.786356"], ["updated_at", "2014-11-19 23:59:28.789898"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.804065"], ["updated_at", "2014-11-19 23:59:28.804583"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.804137"], ["updated_at", "2014-11-19 23:59:28.805706"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.804196"], ["updated_at", "2014-11-19 23:59:28.806725"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.804237"], ["updated_at", "2014-11-19 23:59:28.807718"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.851061"], ["updated_at", "2014-11-19 23:59:28.851843"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.851205"], ["updated_at", "2014-11-19 23:59:28.853841"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.851272"], ["updated_at", "2014-11-19 23:59:28.855778"]]  (0.3ms) COMMIT  (0.3ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.851332"], ["updated_at", "2014-11-19 23:59:28.857047"]]  (0.2ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.4ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.7ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.878760"], ["updated_at", "2014-11-19 23:59:28.879317"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.878828"], ["updated_at", "2014-11-19 23:59:28.880499"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.878867"], ["updated_at", "2014-11-19 23:59:28.881535"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.878903"], ["updated_at", "2014-11-19 23:59:28.882471"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.885134"], ["updated_at", "2014-11-19 23:59:28.885741"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.885205"], ["updated_at", "2014-11-19 23:59:28.886853"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.885245"], ["updated_at", "2014-11-19 23:59:28.887830"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.885283"], ["updated_at", "2014-11-19 23:59:28.888819"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.900893"], ["updated_at", "2014-11-19 23:59:28.901458"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.900950"], ["updated_at", "2014-11-19 23:59:28.902819"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.901109"], ["updated_at", "2014-11-19 23:59:28.904264"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.901146"], ["updated_at", "2014-11-19 23:59:28.905435"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.914971"], ["updated_at", "2014-11-19 23:59:28.915478"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-19 23:59:28.915035"], ["updated_at", "2014-11-19 23:59:28.916523"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.915075"], ["updated_at", "2014-11-19 23:59:28.917465"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.915112"], ["updated_at", "2014-11-19 23:59:28.918404"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.933521"], ["updated_at", "2014-11-19 23:59:28.934050"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.933587"], ["updated_at", "2014-11-19 23:59:28.935160"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.933627"], ["updated_at", "2014-11-19 23:59:28.936173"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.941913"], ["updated_at", "2014-11-19 23:59:28.942363"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.941971"], ["updated_at", "2014-11-19 23:59:28.943591"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.942037"], ["updated_at", "2014-11-19 23:59:28.944548"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.951030"], ["updated_at", "2014-11-19 23:59:28.951531"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.951099"], ["updated_at", "2014-11-19 23:59:28.952729"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.951141"], ["updated_at", "2014-11-19 23:59:28.953902"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.964392"], ["updated_at", "2014-11-19 23:59:28.964895"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.964493"], ["updated_at", "2014-11-19 23:59:28.966005"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.964544"], ["updated_at", "2014-11-19 23:59:28.966932"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.972824"], ["updated_at", "2014-11-19 23:59:28.973250"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.972882"], ["updated_at", "2014-11-19 23:59:28.974367"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.972920"], ["updated_at", "2014-11-19 23:59:28.975380"]]  (0.3ms) COMMIT  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.983551"], ["updated_at", "2014-11-19 23:59:28.984034"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.983613"], ["updated_at", "2014-11-19 23:59:28.985117"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.983723"], ["updated_at", "2014-11-19 23:59:28.986170"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:28.992401"], ["updated_at", "2014-11-19 23:59:28.992851"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:28.992464"], ["updated_at", "2014-11-19 23:59:28.993908"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:28.992503"], ["updated_at", "2014-11-19 23:59:28.994880"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.002820"], ["updated_at", "2014-11-19 23:59:29.003238"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.002888"], ["updated_at", "2014-11-19 23:59:29.004400"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.002929"], ["updated_at", "2014-11-19 23:59:29.005475"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.011158"], ["updated_at", "2014-11-19 23:59:29.011547"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.011214"], ["updated_at", "2014-11-19 23:59:29.012942"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.011254"], ["updated_at", "2014-11-19 23:59:29.014410"]]  (0.4ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.024417"], ["updated_at", "2014-11-19 23:59:29.024849"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.024476"], ["updated_at", "2014-11-19 23:59:29.025866"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.024548"], ["updated_at", "2014-11-19 23:59:29.026796"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.032818"], ["updated_at", "2014-11-19 23:59:29.033241"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.032878"], ["updated_at", "2014-11-19 23:59:29.034233"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.032919"], ["updated_at", "2014-11-19 23:59:29.035165"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.043767"], ["updated_at", "2014-11-19 23:59:29.044218"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.043828"], ["updated_at", "2014-11-19 23:59:29.045392"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.043896"], ["updated_at", "2014-11-19 23:59:29.046486"]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.050358"], ["updated_at", "2014-11-19 23:59:29.050811"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.050421"], ["updated_at", "2014-11-19 23:59:29.051771"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.050461"], ["updated_at", "2014-11-19 23:59:29.052712"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.058636"], ["updated_at", "2014-11-19 23:59:29.059088"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.058738"], ["updated_at", "2014-11-19 23:59:29.060113"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.058781"], ["updated_at", "2014-11-19 23:59:29.061084"]]  (0.2ms) COMMIT  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.066476"], ["updated_at", "2014-11-19 23:59:29.066894"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.066533"], ["updated_at", "2014-11-19 23:59:29.067828"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.066572"], ["updated_at", "2014-11-19 23:59:29.068835"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.077020"], ["updated_at", "2014-11-19 23:59:29.077471"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.077088"], ["updated_at", "2014-11-19 23:59:29.078713"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.077129"], ["updated_at", "2014-11-19 23:59:29.079737"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.082503"], ["updated_at", "2014-11-19 23:59:29.082928"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.082567"], ["updated_at", "2014-11-19 23:59:29.083990"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.082606"], ["updated_at", "2014-11-19 23:59:29.085072"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.093357"], ["updated_at", "2014-11-19 23:59:29.093814"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.093419"], ["updated_at", "2014-11-19 23:59:29.094868"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.093459"], ["updated_at", "2014-11-19 23:59:29.095814"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:29.108267"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:59:29.108267"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:29.110025"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:29.110025"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"113", "graph_id"=>"132"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 132]] Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 113]] Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 132 AND "prosperity_dashboard_graphs"."dashboard_id" = 113 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 4ms  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:29.119133"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:29.119133"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:29.121292"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:59:29.121292"]]  (0.3ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 114 AND "prosperity_dashboard_graphs"."graph_id" = 133) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:29.131868"], ["dashboard_id", 114], ["graph_id", 133], ["updated_at", "2014-11-19 23:59:29.131868"]]  (0.3ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"114", "graph_id"=>"133"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 133]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 114]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 133 AND "prosperity_dashboard_graphs"."dashboard_id" = 114 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 25]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/114/edit Completed 302 Found in 4ms (ActiveRecord: 1.2ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:29.142201"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:59:29.142201"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:29.144246"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:29.144246"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"115", "graph_id"=>"134"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 134]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 115]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 115 AND "prosperity_dashboard_graphs"."graph_id" = 134) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:29.149301"], ["dashboard_id", 115], ["graph_id", 134], ["updated_at", "2014-11-19 23:59:29.149301"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/115/edit Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"115", "graph_id"=>"134"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 134]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 115]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 115 AND "prosperity_dashboard_graphs"."graph_id" = 134) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/115/edit Completed 302 Found in 4ms (ActiveRecord: 0.6ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:29.157433"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-19 23:59:29.157433"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-19 23:59:29.159131"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-19 23:59:29.159131"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"116", "graph_id"=>"135"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 135]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 116]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 116 AND "prosperity_dashboard_graphs"."graph_id" = 135) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 23:59:29.163280"], ["dashboard_id", 116], ["graph_id", 135], ["updated_at", "2014-11-19 23:59:29.163280"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/116/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.1ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 135]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 116]] SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.179942"], ["updated_at", "2014-11-19 23:59:29.180673"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.180052"], ["updated_at", "2014-11-19 23:59:29.182033"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.180123"], ["updated_at", "2014-11-19 23:59:29.183203"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.184124"], ["updated_at", "2014-11-19 23:59:29.184437"]]  (0.3ms) COMMIT  (1.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.188292"], ["updated_at", "2014-11-19 23:59:29.188818"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.188379"], ["updated_at", "2014-11-19 23:59:29.190092"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.188422"], ["updated_at", "2014-11-19 23:59:29.191125"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.191917"], ["updated_at", "2014-11-19 23:59:29.192199"]]  (0.4ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.195448"], ["updated_at", "2014-11-19 23:59:29.195917"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.195518"], ["updated_at", "2014-11-19 23:59:29.196949"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.195574"], ["updated_at", "2014-11-19 23:59:29.197849"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.198541"], ["updated_at", "2014-11-19 23:59:29.198815"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.205454"], ["updated_at", "2014-11-19 23:59:29.205930"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.205519"], ["updated_at", "2014-11-19 23:59:29.207164"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.205606"], ["updated_at", "2014-11-19 23:59:29.208180"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.209100"], ["updated_at", "2014-11-19 23:59:29.209390"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.216183"], ["updated_at", "2014-11-19 23:59:29.216632"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.216242"], ["updated_at", "2014-11-19 23:59:29.217854"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.216280"], ["updated_at", "2014-11-19 23:59:29.219029"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.219894"], ["updated_at", "2014-11-19 23:59:29.220221"]]  (0.2ms) COMMIT  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.224022"], ["updated_at", "2014-11-19 23:59:29.224445"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.224082"], ["updated_at", "2014-11-19 23:59:29.225466"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.224141"], ["updated_at", "2014-11-19 23:59:29.226367"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.227065"], ["updated_at", "2014-11-19 23:59:29.227325"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.230900"], ["updated_at", "2014-11-19 23:59:29.231373"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.230977"], ["updated_at", "2014-11-19 23:59:29.232533"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.231016"], ["updated_at", "2014-11-19 23:59:29.233579"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.234445"], ["updated_at", "2014-11-19 23:59:29.234776"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.238491"], ["updated_at", "2014-11-19 23:59:29.239045"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.238568"], ["updated_at", "2014-11-19 23:59:29.240330"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.238626"], ["updated_at", "2014-11-19 23:59:29.241569"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.242432"], ["updated_at", "2014-11-19 23:59:29.242725"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.246643"], ["updated_at", "2014-11-19 23:59:29.247091"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.246720"], ["updated_at", "2014-11-19 23:59:29.248085"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.246765"], ["updated_at", "2014-11-19 23:59:29.248955"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.249602"], ["updated_at", "2014-11-19 23:59:29.249861"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.253486"], ["updated_at", "2014-11-19 23:59:29.253946"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.253569"], ["updated_at", "2014-11-19 23:59:29.255248"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.253611"], ["updated_at", "2014-11-19 23:59:29.256199"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.256912"], ["updated_at", "2014-11-19 23:59:29.257209"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.261585"], ["updated_at", "2014-11-19 23:59:29.262043"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.261662"], ["updated_at", "2014-11-19 23:59:29.263033"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.261710"], ["updated_at", "2014-11-19 23:59:29.263941"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.264619"], ["updated_at", "2014-11-19 23:59:29.264919"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.268779"], ["updated_at", "2014-11-19 23:59:29.269253"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.268858"], ["updated_at", "2014-11-19 23:59:29.270308"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.268901"], ["updated_at", "2014-11-19 23:59:29.271224"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.271921"], ["updated_at", "2014-11-19 23:59:29.272176"]]  (0.3ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.277360"], ["updated_at", "2014-11-19 23:59:29.277969"]]  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.277421"], ["updated_at", "2014-11-19 23:59:29.279565"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.277461"], ["updated_at", "2014-11-19 23:59:29.280592"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.281255"], ["updated_at", "2014-11-19 23:59:29.281516"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.284952"], ["updated_at", "2014-11-19 23:59:29.285435"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.285027"], ["updated_at", "2014-11-19 23:59:29.286605"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.285079"], ["updated_at", "2014-11-19 23:59:29.287680"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.288413"], ["updated_at", "2014-11-19 23:59:29.288691"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.292980"], ["updated_at", "2014-11-19 23:59:29.293406"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.293046"], ["updated_at", "2014-11-19 23:59:29.294409"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.293086"], ["updated_at", "2014-11-19 23:59:29.295337"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.296177"], ["updated_at", "2014-11-19 23:59:29.296440"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.299698"], ["updated_at", "2014-11-19 23:59:29.300094"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.299762"], ["updated_at", "2014-11-19 23:59:29.301013"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.299803"], ["updated_at", "2014-11-19 23:59:29.301876"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.302544"], ["updated_at", "2014-11-19 23:59:29.302814"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.306596"], ["updated_at", "2014-11-19 23:59:29.307023"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.306657"], ["updated_at", "2014-11-19 23:59:29.308092"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.306699"], ["updated_at", "2014-11-19 23:59:29.309102"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.309865"], ["updated_at", "2014-11-19 23:59:29.310147"]]  (0.2ms) COMMIT User Load (0.3ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.314500"], ["updated_at", "2014-11-19 23:59:29.315045"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.314585"], ["updated_at", "2014-11-19 23:59:29.316370"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.314634"], ["updated_at", "2014-11-19 23:59:29.317595"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.318454"], ["updated_at", "2014-11-19 23:59:29.318820"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.322604"], ["updated_at", "2014-11-19 23:59:29.323017"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.322667"], ["updated_at", "2014-11-19 23:59:29.324062"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.322706"], ["updated_at", "2014-11-19 23:59:29.324981"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.325712"], ["updated_at", "2014-11-19 23:59:29.326014"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.329415"], ["updated_at", "2014-11-19 23:59:29.329846"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.329475"], ["updated_at", "2014-11-19 23:59:29.330930"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.329515"], ["updated_at", "2014-11-19 23:59:29.331846"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.332535"], ["updated_at", "2014-11-19 23:59:29.332789"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.336712"], ["updated_at", "2014-11-19 23:59:29.337221"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.336787"], ["updated_at", "2014-11-19 23:59:29.338239"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.336830"], ["updated_at", "2014-11-19 23:59:29.339145"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.339929"], ["updated_at", "2014-11-19 23:59:29.340202"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:59:29.341153"], ["updated_at", "2014-11-19 23:59:29.341153"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:59:29.342211"], ["updated_at", "2014-11-19 23:59:29.342211"], ["value", 3]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket   (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.346174"], ["updated_at", "2014-11-19 23:59:29.346611"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.346234"], ["updated_at", "2014-11-19 23:59:29.347805"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.346275"], ["updated_at", "2014-11-19 23:59:29.348747"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.349439"], ["updated_at", "2014-11-19 23:59:29.349692"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:59:29.350565"], ["updated_at", "2014-11-19 23:59:29.350565"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:59:29.351486"], ["updated_at", "2014-11-19 23:59:29.351486"], ["value", 3]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.354441"], ["updated_at", "2014-11-19 23:59:29.354868"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.354511"], ["updated_at", "2014-11-19 23:59:29.356021"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.354553"], ["updated_at", "2014-11-19 23:59:29.357004"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.357768"], ["updated_at", "2014-11-19 23:59:29.358052"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:59:29.358967"], ["updated_at", "2014-11-19 23:59:29.358967"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 23:59:29.359958"], ["updated_at", "2014-11-19 23:59:29.359958"], ["value", 3]]  (0.3ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.364374"], ["updated_at", "2014-11-19 23:59:29.364757"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.364436"], ["updated_at", "2014-11-19 23:59:29.365761"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.364477"], ["updated_at", "2014-11-19 23:59:29.366637"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.367281"], ["updated_at", "2014-11-19 23:59:29.367537"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-19 23:59:29.371048"], ["updated_at", "2014-11-19 23:59:29.371462"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-19 23:59:29.371111"], ["updated_at", "2014-11-19 23:59:29.372397"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-19 23:59:29.371151"], ["updated_at", "2014-11-19 23:59:29.373230"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-12 23:59:29.373844"], ["updated_at", "2014-11-19 23:59:29.374096"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (2.4ms) DROP TABLE "users"  (4.2ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.9ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:01.886189"], ["updated_at", "2014-11-20 00:01:01.894977"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:01.886356"], ["updated_at", "2014-11-20 00:01:01.898715"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:01.886405"], ["updated_at", "2014-11-20 00:01:01.899879"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:01.886460"], ["updated_at", "2014-11-20 00:01:01.901008"]]  (0.2ms) COMMIT User Load (0.3ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (8.0ms) DROP TABLE "users"  (4.2ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:18.995737"], ["updated_at", "2014-11-20 00:01:19.004894"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:18.995889"], ["updated_at", "2014-11-20 00:01:19.008827"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:18.995932"], ["updated_at", "2014-11-20 00:01:19.010067"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.010873"], ["updated_at", "2014-11-20 00:01:19.011195"]]  (0.2ms) COMMIT  (1.6ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.016730"], ["updated_at", "2014-11-20 00:01:19.017184"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.016797"], ["updated_at", "2014-11-20 00:01:19.018191"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.016841"], ["updated_at", "2014-11-20 00:01:19.019073"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.019831"], ["updated_at", "2014-11-20 00:01:19.020139"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.023741"], ["updated_at", "2014-11-20 00:01:19.024219"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.023811"], ["updated_at", "2014-11-20 00:01:19.025359"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.023853"], ["updated_at", "2014-11-20 00:01:19.026335"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.027138"], ["updated_at", "2014-11-20 00:01:19.027423"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.034245"], ["updated_at", "2014-11-20 00:01:19.034939"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.034346"], ["updated_at", "2014-11-20 00:01:19.036473"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.034406"], ["updated_at", "2014-11-20 00:01:19.037520"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.038240"], ["updated_at", "2014-11-20 00:01:19.038509"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.045021"], ["updated_at", "2014-11-20 00:01:19.045502"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.045106"], ["updated_at", "2014-11-20 00:01:19.046595"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.045148"], ["updated_at", "2014-11-20 00:01:19.047535"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.048233"], ["updated_at", "2014-11-20 00:01:19.048483"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.050932"], ["updated_at", "2014-11-20 00:01:19.051307"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.050989"], ["updated_at", "2014-11-20 00:01:19.052246"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.051026"], ["updated_at", "2014-11-20 00:01:19.053090"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.053770"], ["updated_at", "2014-11-20 00:01:19.054024"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.056795"], ["updated_at", "2014-11-20 00:01:19.057227"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.056860"], ["updated_at", "2014-11-20 00:01:19.058287"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.056904"], ["updated_at", "2014-11-20 00:01:19.059353"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.060203"], ["updated_at", "2014-11-20 00:01:19.060568"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:01:19.061875"], ["updated_at", "2014-11-20 00:01:19.061875"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:01:19.063051"], ["updated_at", "2014-11-20 00:01:19.063051"], ["value", 3]]  (0.2ms) COMMIT  (0.4ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.069251"], ["updated_at", "2014-11-20 00:01:19.069747"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.069329"], ["updated_at", "2014-11-20 00:01:19.070877"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.069371"], ["updated_at", "2014-11-20 00:01:19.071823"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.072537"], ["updated_at", "2014-11-20 00:01:19.072806"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:01:19.073693"], ["updated_at", "2014-11-20 00:01:19.073693"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:01:19.074625"], ["updated_at", "2014-11-20 00:01:19.074625"], ["value", 3]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.077727"], ["updated_at", "2014-11-20 00:01:19.078288"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.077797"], ["updated_at", "2014-11-20 00:01:19.079759"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.077836"], ["updated_at", "2014-11-20 00:01:19.080701"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.081441"], ["updated_at", "2014-11-20 00:01:19.081698"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:01:19.082612"], ["updated_at", "2014-11-20 00:01:19.082612"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:01:19.083580"], ["updated_at", "2014-11-20 00:01:19.083580"], ["value", 3]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.087668"], ["updated_at", "2014-11-20 00:01:19.088151"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.087740"], ["updated_at", "2014-11-20 00:01:19.089201"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.087781"], ["updated_at", "2014-11-20 00:01:19.090140"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.090832"], ["updated_at", "2014-11-20 00:01:19.091124"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.095708"], ["updated_at", "2014-11-20 00:01:19.096128"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.095765"], ["updated_at", "2014-11-20 00:01:19.097209"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.095804"], ["updated_at", "2014-11-20 00:01:19.098126"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.098834"], ["updated_at", "2014-11-20 00:01:19.099097"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.103099"], ["updated_at", "2014-11-20 00:01:19.103500"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.103161"], ["updated_at", "2014-11-20 00:01:19.104516"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.103205"], ["updated_at", "2014-11-20 00:01:19.105499"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.106287"], ["updated_at", "2014-11-20 00:01:19.106565"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.109945"], ["updated_at", "2014-11-20 00:01:19.110408"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.110012"], ["updated_at", "2014-11-20 00:01:19.111442"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.110051"], ["updated_at", "2014-11-20 00:01:19.112350"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.113041"], ["updated_at", "2014-11-20 00:01:19.113283"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.116919"], ["updated_at", "2014-11-20 00:01:19.117318"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.116980"], ["updated_at", "2014-11-20 00:01:19.118408"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.117017"], ["updated_at", "2014-11-20 00:01:19.119320"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.120174"], ["updated_at", "2014-11-20 00:01:19.120534"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.124071"], ["updated_at", "2014-11-20 00:01:19.124465"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.124129"], ["updated_at", "2014-11-20 00:01:19.125530"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.124167"], ["updated_at", "2014-11-20 00:01:19.126426"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.127185"], ["updated_at", "2014-11-20 00:01:19.127455"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.131074"], ["updated_at", "2014-11-20 00:01:19.131522"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.131133"], ["updated_at", "2014-11-20 00:01:19.132585"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.131185"], ["updated_at", "2014-11-20 00:01:19.133517"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.134277"], ["updated_at", "2014-11-20 00:01:19.134580"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.138145"], ["updated_at", "2014-11-20 00:01:19.138553"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.138211"], ["updated_at", "2014-11-20 00:01:19.139553"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.138251"], ["updated_at", "2014-11-20 00:01:19.140458"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.141169"], ["updated_at", "2014-11-20 00:01:19.141464"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.146671"], ["updated_at", "2014-11-20 00:01:19.147088"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.146748"], ["updated_at", "2014-11-20 00:01:19.148365"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.146787"], ["updated_at", "2014-11-20 00:01:19.149433"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.150247"], ["updated_at", "2014-11-20 00:01:19.150556"]]  (0.2ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.155209"], ["updated_at", "2014-11-20 00:01:19.155629"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.155285"], ["updated_at", "2014-11-20 00:01:19.156700"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.155323"], ["updated_at", "2014-11-20 00:01:19.157648"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.158530"], ["updated_at", "2014-11-20 00:01:19.158826"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.162912"], ["updated_at", "2014-11-20 00:01:19.163375"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.162982"], ["updated_at", "2014-11-20 00:01:19.164445"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.163024"], ["updated_at", "2014-11-20 00:01:19.165437"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.166182"], ["updated_at", "2014-11-20 00:01:19.166464"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.170055"], ["updated_at", "2014-11-20 00:01:19.170485"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.170119"], ["updated_at", "2014-11-20 00:01:19.171587"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.170158"], ["updated_at", "2014-11-20 00:01:19.172537"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.173276"], ["updated_at", "2014-11-20 00:01:19.173524"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.177045"], ["updated_at", "2014-11-20 00:01:19.177462"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.177106"], ["updated_at", "2014-11-20 00:01:19.178483"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.177161"], ["updated_at", "2014-11-20 00:01:19.179417"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.180111"], ["updated_at", "2014-11-20 00:01:19.180352"]]  (0.2ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.184890"], ["updated_at", "2014-11-20 00:01:19.185287"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.184955"], ["updated_at", "2014-11-20 00:01:19.186337"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.185004"], ["updated_at", "2014-11-20 00:01:19.187265"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.187968"], ["updated_at", "2014-11-20 00:01:19.188256"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.192375"], ["updated_at", "2014-11-20 00:01:19.192836"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.192461"], ["updated_at", "2014-11-20 00:01:19.194016"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.192508"], ["updated_at", "2014-11-20 00:01:19.195043"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.195825"], ["updated_at", "2014-11-20 00:01:19.196078"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.199691"], ["updated_at", "2014-11-20 00:01:19.200090"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.199751"], ["updated_at", "2014-11-20 00:01:19.201119"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.199794"], ["updated_at", "2014-11-20 00:01:19.202112"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:01:19.202807"], ["updated_at", "2014-11-20 00:01:19.203066"]]  (0.3ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.3ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:19.216994"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:01:19.216994"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:19.222632"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:19.222632"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"117", "graph_id"=>"136"} Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 136]] Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 117]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 117 AND "prosperity_dashboard_graphs"."graph_id" = 136) LIMIT 1 SQL (0.4ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:19.247033"], ["dashboard_id", 117], ["graph_id", 136], ["updated_at", "2014-11-20 00:01:19.247033"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/117/edit Completed 302 Found in 21ms (ActiveRecord: 1.9ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.4ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 136]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 117]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:19.256386"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:01:19.256386"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:19.258356"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:19.258356"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"118", "graph_id"=>"137"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 137]] Prosperity::Dashboard Load (0.4ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 118]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 118 AND "prosperity_dashboard_graphs"."graph_id" = 137) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:19.263817"], ["dashboard_id", 118], ["graph_id", 137], ["updated_at", "2014-11-20 00:01:19.263817"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards/118/edit Completed 302 Found in 5ms (ActiveRecord: 1.4ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"118", "graph_id"=>"137"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 137]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 118]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 118 AND "prosperity_dashboard_graphs"."graph_id" = 137) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/118/edit Completed 302 Found in 7ms (ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:19.275533"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:19.275533"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:19.277293"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:01:19.277293"]]  (0.5ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 119 AND "prosperity_dashboard_graphs"."graph_id" = 138) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:19.280267"], ["dashboard_id", 119], ["graph_id", 138], ["updated_at", "2014-11-20 00:01:19.280267"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"119", "graph_id"=>"138"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 138]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 119]] Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 138 AND "prosperity_dashboard_graphs"."dashboard_id" = 119 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 30]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/119/edit Completed 302 Found in 6ms (ActiveRecord: 1.3ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:19.291283"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:01:19.291283"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:19.293347"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:19.293347"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"120", "graph_id"=>"139"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 139]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 120]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 139 AND "prosperity_dashboard_graphs"."dashboard_id" = 120 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.299034"], ["updated_at", "2014-11-20 00:01:19.299576"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.299122"], ["updated_at", "2014-11-20 00:01:19.300690"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.299164"], ["updated_at", "2014-11-20 00:01:19.301641"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.307204"], ["updated_at", "2014-11-20 00:01:19.307643"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.307264"], ["updated_at", "2014-11-20 00:01:19.308659"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.307320"], ["updated_at", "2014-11-20 00:01:19.309594"]]  (0.2ms) COMMIT  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.314999"], ["updated_at", "2014-11-20 00:01:19.315397"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.315057"], ["updated_at", "2014-11-20 00:01:19.316365"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.315094"], ["updated_at", "2014-11-20 00:01:19.317252"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.319760"], ["updated_at", "2014-11-20 00:01:19.320144"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.319819"], ["updated_at", "2014-11-20 00:01:19.321095"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.319857"], ["updated_at", "2014-11-20 00:01:19.321974"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.329860"], ["updated_at", "2014-11-20 00:01:19.330246"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.329916"], ["updated_at", "2014-11-20 00:01:19.331245"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.329954"], ["updated_at", "2014-11-20 00:01:19.332224"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.352649"], ["updated_at", "2014-11-20 00:01:19.353166"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.352729"], ["updated_at", "2014-11-20 00:01:19.354525"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.352773"], ["updated_at", "2014-11-20 00:01:19.355533"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.367714"], ["updated_at", "2014-11-20 00:01:19.368282"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.367786"], ["updated_at", "2014-11-20 00:01:19.369832"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.367848"], ["updated_at", "2014-11-20 00:01:19.371211"]]  (0.4ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.377740"], ["updated_at", "2014-11-20 00:01:19.378203"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.377810"], ["updated_at", "2014-11-20 00:01:19.379312"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.377850"], ["updated_at", "2014-11-20 00:01:19.380314"]]  (0.2ms) COMMIT  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.386193"], ["updated_at", "2014-11-20 00:01:19.386674"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.386260"], ["updated_at", "2014-11-20 00:01:19.387792"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.386300"], ["updated_at", "2014-11-20 00:01:19.388896"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.395086"], ["updated_at", "2014-11-20 00:01:19.395573"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.395159"], ["updated_at", "2014-11-20 00:01:19.396756"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.395217"], ["updated_at", "2014-11-20 00:01:19.397748"]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.401661"], ["updated_at", "2014-11-20 00:01:19.402077"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.401725"], ["updated_at", "2014-11-20 00:01:19.403120"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.401764"], ["updated_at", "2014-11-20 00:01:19.404260"]]  (0.3ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.412850"], ["updated_at", "2014-11-20 00:01:19.413362"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.412909"], ["updated_at", "2014-11-20 00:01:19.414422"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.412979"], ["updated_at", "2014-11-20 00:01:19.415337"]]  (0.2ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.422833"], ["updated_at", "2014-11-20 00:01:19.423211"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.422886"], ["updated_at", "2014-11-20 00:01:19.424278"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.422923"], ["updated_at", "2014-11-20 00:01:19.425279"]]  (0.3ms) COMMIT  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.431844"], ["updated_at", "2014-11-20 00:01:19.432375"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.431909"], ["updated_at", "2014-11-20 00:01:19.433642"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.431947"], ["updated_at", "2014-11-20 00:01:19.434707"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.442066"], ["updated_at", "2014-11-20 00:01:19.442623"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.442131"], ["updated_at", "2014-11-20 00:01:19.443773"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.442171"], ["updated_at", "2014-11-20 00:01:19.444948"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.455414"], ["updated_at", "2014-11-20 00:01:19.456078"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.455476"], ["updated_at", "2014-11-20 00:01:19.457579"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.455678"], ["updated_at", "2014-11-20 00:01:19.458824"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.470175"], ["updated_at", "2014-11-20 00:01:19.470856"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.470276"], ["updated_at", "2014-11-20 00:01:19.472108"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.470320"], ["updated_at", "2014-11-20 00:01:19.473147"]]  (0.4ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.479313"], ["updated_at", "2014-11-20 00:01:19.479735"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.479371"], ["updated_at", "2014-11-20 00:01:19.480870"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.479409"], ["updated_at", "2014-11-20 00:01:19.481906"]]  (0.3ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 27ms (Views: 25.4ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.6ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.7ms) Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.575797"], ["updated_at", "2014-11-20 00:01:19.576426"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.575900"], ["updated_at", "2014-11-20 00:01:19.577641"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.575941"], ["updated_at", "2014-11-20 00:01:19.578617"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.575993"], ["updated_at", "2014-11-20 00:01:19.579520"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.588879"], ["updated_at", "2014-11-20 00:01:19.589431"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.588952"], ["updated_at", "2014-11-20 00:01:19.590543"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.588992"], ["updated_at", "2014-11-20 00:01:19.591541"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.589048"], ["updated_at", "2014-11-20 00:01:19.592457"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.602637"], ["updated_at", "2014-11-20 00:01:19.603167"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.602719"], ["updated_at", "2014-11-20 00:01:19.604318"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.602758"], ["updated_at", "2014-11-20 00:01:19.605330"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.602795"], ["updated_at", "2014-11-20 00:01:19.606350"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.616395"], ["updated_at", "2014-11-20 00:01:19.616903"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.616459"], ["updated_at", "2014-11-20 00:01:19.617955"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.616513"], ["updated_at", "2014-11-20 00:01:19.618950"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.616550"], ["updated_at", "2014-11-20 00:01:19.619930"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.622987"], ["updated_at", "2014-11-20 00:01:19.623462"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.623058"], ["updated_at", "2014-11-20 00:01:19.624482"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.623097"], ["updated_at", "2014-11-20 00:01:19.625503"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.623144"], ["updated_at", "2014-11-20 00:01:19.626438"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.641024"], ["updated_at", "2014-11-20 00:01:19.641542"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.641090"], ["updated_at", "2014-11-20 00:01:19.642634"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.641140"], ["updated_at", "2014-11-20 00:01:19.643572"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.641178"], ["updated_at", "2014-11-20 00:01:19.644527"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.658831"], ["updated_at", "2014-11-20 00:01:19.659415"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.658940"], ["updated_at", "2014-11-20 00:01:19.660764"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.658986"], ["updated_at", "2014-11-20 00:01:19.661777"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.659023"], ["updated_at", "2014-11-20 00:01:19.662799"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.672286"], ["updated_at", "2014-11-20 00:01:19.672773"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.672348"], ["updated_at", "2014-11-20 00:01:19.673824"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.672387"], ["updated_at", "2014-11-20 00:01:19.674756"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.672428"], ["updated_at", "2014-11-20 00:01:19.675685"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.685055"], ["updated_at", "2014-11-20 00:01:19.685593"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.685139"], ["updated_at", "2014-11-20 00:01:19.686653"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.685179"], ["updated_at", "2014-11-20 00:01:19.687555"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.685231"], ["updated_at", "2014-11-20 00:01:19.688505"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.703753"], ["updated_at", "2014-11-20 00:01:19.704293"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.703834"], ["updated_at", "2014-11-20 00:01:19.705401"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.703878"], ["updated_at", "2014-11-20 00:01:19.706327"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.703916"], ["updated_at", "2014-11-20 00:01:19.707199"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.722567"], ["updated_at", "2014-11-20 00:01:19.723096"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.722639"], ["updated_at", "2014-11-20 00:01:19.724291"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.722686"], ["updated_at", "2014-11-20 00:01:19.725327"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.722730"], ["updated_at", "2014-11-20 00:01:19.726280"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.735163"], ["updated_at", "2014-11-20 00:01:19.735616"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.735224"], ["updated_at", "2014-11-20 00:01:19.736588"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.735264"], ["updated_at", "2014-11-20 00:01:19.737445"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.735302"], ["updated_at", "2014-11-20 00:01:19.738285"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.751895"], ["updated_at", "2014-11-20 00:01:19.752539"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.751977"], ["updated_at", "2014-11-20 00:01:19.753857"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.752022"], ["updated_at", "2014-11-20 00:01:19.755023"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.752065"], ["updated_at", "2014-11-20 00:01:19.756029"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.759335"], ["updated_at", "2014-11-20 00:01:19.759815"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.759403"], ["updated_at", "2014-11-20 00:01:19.760897"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.759443"], ["updated_at", "2014-11-20 00:01:19.761870"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.759482"], ["updated_at", "2014-11-20 00:01:19.762883"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.771738"], ["updated_at", "2014-11-20 00:01:19.772185"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.771797"], ["updated_at", "2014-11-20 00:01:19.773208"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.771836"], ["updated_at", "2014-11-20 00:01:19.774372"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.771873"], ["updated_at", "2014-11-20 00:01:19.775374"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.784961"], ["updated_at", "2014-11-20 00:01:19.785434"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.785022"], ["updated_at", "2014-11-20 00:01:19.786478"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.785063"], ["updated_at", "2014-11-20 00:01:19.787410"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.785101"], ["updated_at", "2014-11-20 00:01:19.788407"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:01:19.802885"], ["updated_at", "2014-11-20 00:01:19.803385"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:01:19.802951"], ["updated_at", "2014-11-20 00:01:19.804435"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:01:19.802993"], ["updated_at", "2014-11-20 00:01:19.805408"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:01:19.803032"], ["updated_at", "2014-11-20 00:01:19.806354"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:19.837988"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:01:19.837988"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"121"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 121]] Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 121]] Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 23ms (Views: 21.6ms | ActiveRecord: 1.1ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:19.866025"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:01:19.866025"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"122"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 122]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.4ms) Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 122]] Prosperity::Graph Load (0.5ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 122]] Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.8ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:19.876508"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:01:19.876508"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 103ms (Views: 102.1ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:19.982998"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:01:19.982998"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:19.986006"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-20 00:01:19.986006"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/125/edit Completed 302 Found in 2ms (ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:19.989156"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:01:19.989156"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.2ms)  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:20.003055"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:01:20.003055"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:01:20.010035"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:01:20.010035"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"128"} Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 128]]  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 128]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 3ms (ActiveRecord: 0.9ms) Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 128 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:20.020158"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:20.020158"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"140"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 140]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 140]] Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.9ms)  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:20.029394"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:20.029394"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:01:20.035291"], ["extractor", "count"], ["graph_id", 141], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:01:20.035291"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"141"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 141]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 141]] Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:20.043564"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:20.043564"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"142"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 142]] Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:20.053303"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:20.053303"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"143"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 143]] Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 2ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:20.062278"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:20.062278"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"144"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 144]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:20.068018"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:20.068018"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"145"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 145]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:01:20.073052"], ["extractor", "count"], ["graph_id", 145], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:01:20.073052"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/145/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 145]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 145]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:20.078250"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:20.078250"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:01:20.080183"], ["extractor", "count"], ["graph_id", 146], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:01:20.080183"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"48"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"146"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 146]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (48) [["graph_id", 146]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 48 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-20 00:01:20.085926"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/146/edit Completed 302 Found in 6ms (ActiveRecord: 1.0ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 48]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 146]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 146]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:20.092372"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:20.092372"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:01:20.094554"], ["extractor", "count"], ["graph_id", 147], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:01:20.094554"]]  (0.2ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 147]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"49", "_destroy"=>true}}}, "id"=>"147"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 147]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (49) [["graph_id", 147]] SQL (0.1ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 49]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/147/edit Completed 302 Found in 3ms (ActiveRecord: 0.8ms) Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 49 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:20.103118"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:20.103118"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:01:20.105222"], ["extractor", "count"], ["graph_id", 148], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:01:20.105222"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 148]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"50", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"148"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 148]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (50) [["graph_id", 148]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 50 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-20 00:01:20.110510"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/148/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 148]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 148]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:20.114637"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:20.114637"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"149"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 149]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (2.6ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 149]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:01:20.132791"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:01:20.132791"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/150/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.4ms) Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.2ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (2.9ms) DROP TABLE "users"  (3.6ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.8ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:02:31.604453"], ["updated_at", "2014-11-20 00:02:31.613123"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:02:31.604617"], ["updated_at", "2014-11-20 00:02:31.616729"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:02:31.604659"], ["updated_at", "2014-11-20 00:02:31.617799"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:02:31.604696"], ["updated_at", "2014-11-20 00:02:31.618820"]]  (0.2ms) COMMIT  (2.3ms) DROP TABLE "users"  (3.2ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:03:07.212281"], ["updated_at", "2014-11-20 00:03:07.222502"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:03:07.212443"], ["updated_at", "2014-11-20 00:03:07.227239"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:03:07.212488"], ["updated_at", "2014-11-20 00:03:07.228592"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:03:07.229605"], ["updated_at", "2014-11-20 00:03:07.230002"]]  (0.2ms) COMMIT  (2.2ms) DROP TABLE "users"  (4.0ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:04:35.489187"], ["updated_at", "2014-11-20 00:04:35.497541"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:04:35.489334"], ["updated_at", "2014-11-20 00:04:35.500978"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:04:35.489375"], ["updated_at", "2014-11-20 00:04:35.502012"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:04:35.502751"], ["updated_at", "2014-11-20 00:04:35.503060"]]  (0.2ms) COMMIT User Load (1.5ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (8.4ms) DROP TABLE "users"  (4.8ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.7ms) DELETE FROM "users"  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:04:42.277880"], ["updated_at", "2014-11-20 00:04:42.288137"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:04:42.278134"], ["updated_at", "2014-11-20 00:04:42.291889"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:04:42.278206"], ["updated_at", "2014-11-20 00:04:42.293099"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:04:42.278257"], ["updated_at", "2014-11-20 00:04:42.294056"]]  (0.2ms) COMMIT PG::GroupingError: ERROR: column "users.id" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...ated_at < '2013-11-01 00:00:00.000000') ORDER BY "users"."i... ^ : SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') ORDER BY "users"."id" ASC LIMIT 1  (7.8ms) DROP TABLE "users"  (3.9ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:04:49.940193"], ["updated_at", "2014-11-20 00:04:49.949180"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:04:49.940346"], ["updated_at", "2014-11-20 00:04:49.953203"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:04:49.940388"], ["updated_at", "2014-11-20 00:04:49.954308"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:04:49.940425"], ["updated_at", "2014-11-20 00:04:49.955264"]]  (0.2ms) COMMIT PG::GroupingError: ERROR: column "users.id" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...ated_at < '2013-10-01 00:00:00.000000') ORDER BY "users"."i... ^ : SELECT SUM(value) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000') ORDER BY "users"."id" ASC LIMIT 1  (2.2ms) DROP TABLE "users"  (3.6ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:00.819386"], ["updated_at", "2014-11-20 00:07:00.827643"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:00.819553"], ["updated_at", "2014-11-20 00:07:00.831564"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:00.819603"], ["updated_at", "2014-11-20 00:07:00.832666"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:00.819642"], ["updated_at", "2014-11-20 00:07:00.833607"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(SUM(value)) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') PG::GroupingError: ERROR: aggregate function calls cannot be nested LINE 1: SELECT COUNT(SUM(value)) FROM "users" WHERE (created_at < '... ^ : SELECT COUNT(SUM(value)) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (8.2ms) DROP TABLE "users"  (5.4ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.8ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:20.363645"], ["updated_at", "2014-11-20 00:07:20.373317"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:20.363831"], ["updated_at", "2014-11-20 00:07:20.377006"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:20.363884"], ["updated_at", "2014-11-20 00:07:20.378081"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:20.363963"], ["updated_at", "2014-11-20 00:07:20.379039"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(SUM(value)) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') PG::GroupingError: ERROR: aggregate function calls cannot be nested LINE 1: SELECT COUNT(SUM(value)) FROM "users" WHERE (created_at < '... ^ : SELECT COUNT(SUM(value)) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (8.3ms) DROP TABLE "users"  (3.9ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:27.182305"], ["updated_at", "2014-11-20 00:07:27.190887"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:27.182460"], ["updated_at", "2014-11-20 00:07:27.194547"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:27.182502"], ["updated_at", "2014-11-20 00:07:27.195623"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:27.182539"], ["updated_at", "2014-11-20 00:07:27.196542"]]  (0.2ms) COMMIT User Load (0.3ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (1.9ms) DROP TABLE "users"  (3.8ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:42.382047"], ["updated_at", "2014-11-20 00:07:42.390796"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:42.382196"], ["updated_at", "2014-11-20 00:07:42.394380"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:42.382239"], ["updated_at", "2014-11-20 00:07:42.395462"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:42.382277"], ["updated_at", "2014-11-20 00:07:42.396416"]]  (0.2ms) COMMIT User Load (0.3ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.3ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (8.1ms) DROP TABLE "users"  (4.5ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.567790"], ["updated_at", "2014-11-20 00:07:45.578037"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.567989"], ["updated_at", "2014-11-20 00:07:45.581578"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.568045"], ["updated_at", "2014-11-20 00:07:45.582643"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.593475"], ["updated_at", "2014-11-20 00:07:45.593959"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.593548"], ["updated_at", "2014-11-20 00:07:45.595061"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.593586"], ["updated_at", "2014-11-20 00:07:45.595935"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.601450"], ["updated_at", "2014-11-20 00:07:45.601878"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.601516"], ["updated_at", "2014-11-20 00:07:45.602909"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.601554"], ["updated_at", "2014-11-20 00:07:45.603832"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.612093"], ["updated_at", "2014-11-20 00:07:45.612537"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.612158"], ["updated_at", "2014-11-20 00:07:45.613546"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.612196"], ["updated_at", "2014-11-20 00:07:45.614396"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.620013"], ["updated_at", "2014-11-20 00:07:45.620468"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.620076"], ["updated_at", "2014-11-20 00:07:45.621454"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.620114"], ["updated_at", "2014-11-20 00:07:45.622320"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.631108"], ["updated_at", "2014-11-20 00:07:45.631587"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.631177"], ["updated_at", "2014-11-20 00:07:45.632705"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.631217"], ["updated_at", "2014-11-20 00:07:45.633639"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.639613"], ["updated_at", "2014-11-20 00:07:45.640073"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.639674"], ["updated_at", "2014-11-20 00:07:45.641210"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.639713"], ["updated_at", "2014-11-20 00:07:45.642215"]]  (0.3ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.650918"], ["updated_at", "2014-11-20 00:07:45.651362"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.650979"], ["updated_at", "2014-11-20 00:07:45.652479"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.651020"], ["updated_at", "2014-11-20 00:07:45.653465"]]  (0.3ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.662384"], ["updated_at", "2014-11-20 00:07:45.662788"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.662444"], ["updated_at", "2014-11-20 00:07:45.663826"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.662483"], ["updated_at", "2014-11-20 00:07:45.664762"]]  (0.3ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.673700"], ["updated_at", "2014-11-20 00:07:45.674222"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.673779"], ["updated_at", "2014-11-20 00:07:45.675332"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.673824"], ["updated_at", "2014-11-20 00:07:45.676321"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.682208"], ["updated_at", "2014-11-20 00:07:45.682648"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.682268"], ["updated_at", "2014-11-20 00:07:45.683655"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.682308"], ["updated_at", "2014-11-20 00:07:45.684642"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.693453"], ["updated_at", "2014-11-20 00:07:45.693921"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.693522"], ["updated_at", "2014-11-20 00:07:45.694999"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.693562"], ["updated_at", "2014-11-20 00:07:45.695944"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.701430"], ["updated_at", "2014-11-20 00:07:45.701870"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.701494"], ["updated_at", "2014-11-20 00:07:45.703061"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.701539"], ["updated_at", "2014-11-20 00:07:45.704376"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.710243"], ["updated_at", "2014-11-20 00:07:45.710694"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.710305"], ["updated_at", "2014-11-20 00:07:45.711712"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.710345"], ["updated_at", "2014-11-20 00:07:45.712624"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.718847"], ["updated_at", "2014-11-20 00:07:45.719300"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.718911"], ["updated_at", "2014-11-20 00:07:45.720444"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.718951"], ["updated_at", "2014-11-20 00:07:45.721414"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.728052"], ["updated_at", "2014-11-20 00:07:45.728484"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.728115"], ["updated_at", "2014-11-20 00:07:45.729534"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.728153"], ["updated_at", "2014-11-20 00:07:45.730475"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.738899"], ["updated_at", "2014-11-20 00:07:45.739358"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.738966"], ["updated_at", "2014-11-20 00:07:45.740588"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.739009"], ["updated_at", "2014-11-20 00:07:45.741633"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:45.749755"], ["updated_at", "2014-11-20 00:07:45.750182"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:45.749819"], ["updated_at", "2014-11-20 00:07:45.751272"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:45.749860"], ["updated_at", "2014-11-20 00:07:45.752321"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:45.762114"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:45.762114"]]  (0.4ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:45.769493"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-20 00:07:45.769493"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/130/edit Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:45.774622"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:45.774622"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 61ms (Views: 53.8ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.6ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:45.839743"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:45.839743"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.5ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 64ms (Views: 63.5ms | ActiveRecord: 0.5ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:45.909201"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:45.909201"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"133"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 133]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.9ms) Prosperity::Graph Exists (0.6ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 133]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 133]] Completed 200 OK in 31ms (Views: 26.2ms | ActiveRecord: 3.6ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:45.944873"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:45.944873"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"134"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 134]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 134]] Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 1.1ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:45.964497"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:45.964497"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"135"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 135]]  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 135]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.6ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 135 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:45.972861"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:45.972861"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:45.982160"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:45.982160"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/151/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (2.1ms) Completed 200 OK in 10ms (Views: 6.4ms | ActiveRecord: 0.2ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.1ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:46.003393"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:46.003393"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"152"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 152]] Prosperity::GraphLine Load (0.4ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 152]] Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:46.012260"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:46.012260"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:07:46.018523"], ["extractor", "count"], ["graph_id", 153], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:07:46.018523"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"153"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 153]] Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 153]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:46.024874"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:46.024874"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"154"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 154]] Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 2ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:46.035153"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:46.035153"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"155"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 155]] Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:46.041152"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:46.041152"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"156"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 156]] Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:46.046995"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:46.046995"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"157"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 157]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.3ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 157]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:46.063123"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:46.063123"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:07:46.065734"], ["extractor", "count"], ["graph_id", 158], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:07:46.065734"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"52"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"158"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 158]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (52) [["graph_id", 158]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 52 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-20 00:07:46.071333"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/158/edit Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 52]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 158]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 158]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:46.077060"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:46.077060"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"159"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 159]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:07:46.081127"], ["extractor", "count"], ["graph_id", 159], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:07:46.081127"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/159/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 159]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 159]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:46.084999"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:46.084999"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:07:46.086798"], ["extractor", "count"], ["graph_id", 160], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:07:46.086798"]]  (0.2ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 160]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"54", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"160"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 160]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (54) [["graph_id", 160]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 54 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-20 00:07:46.092443"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/160/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 160]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 160]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:46.096884"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:46.096884"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:07:46.099005"], ["extractor", "count"], ["graph_id", 161], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:07:46.099005"]]  (0.2ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 161]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"55", "_destroy"=>true}}}, "id"=>"161"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 161]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (55) [["graph_id", 161]] SQL (0.1ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 55]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/graphs/161/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 55 LIMIT 1 Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.5ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.7ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (1.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 1.2ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.3ms) Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:46.178530"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:46.178530"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:46.180277"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:46.180277"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"137", "graph_id"=>"162"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 162]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 137]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 137 AND "prosperity_dashboard_graphs"."graph_id" = 162) LIMIT 1 SQL (0.3ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:46.192362"], ["dashboard_id", 137], ["graph_id", 162], ["updated_at", "2014-11-20 00:07:46.192362"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/137/edit Completed 302 Found in 11ms (ActiveRecord: 1.3ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 162]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 137]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:46.198475"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:46.198475"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:46.200580"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:46.200580"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"138", "graph_id"=>"163"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 163]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 138]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 138 AND "prosperity_dashboard_graphs"."graph_id" = 163) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:46.205716"], ["dashboard_id", 138], ["graph_id", 163], ["updated_at", "2014-11-20 00:07:46.205716"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/138/edit Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"138", "graph_id"=>"163"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 163]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 138]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 138 AND "prosperity_dashboard_graphs"."graph_id" = 163) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/138/edit Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:46.213631"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:46.213631"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:46.215171"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:46.215171"]]  (0.2ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 139 AND "prosperity_dashboard_graphs"."graph_id" = 164) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:46.217050"], ["dashboard_id", 139], ["graph_id", 164], ["updated_at", "2014-11-20 00:07:46.217050"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"139", "graph_id"=>"164"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 164]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 139]] Prosperity::DashboardGraph Load (0.4ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 164 AND "prosperity_dashboard_graphs"."dashboard_id" = 139 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 33]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/139/edit Completed 302 Found in 36ms (ActiveRecord: 1.2ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:46.258016"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:46.258016"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:46.259744"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:46.259744"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"140", "graph_id"=>"165"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 165]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 140]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 165 AND "prosperity_dashboard_graphs"."dashboard_id" = 140 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.265434"], ["updated_at", "2014-11-20 00:07:46.266256"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.265717"], ["updated_at", "2014-11-20 00:07:46.267420"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.265759"], ["updated_at", "2014-11-20 00:07:46.268372"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.265797"], ["updated_at", "2014-11-20 00:07:46.269321"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.272683"], ["updated_at", "2014-11-20 00:07:46.273142"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.272748"], ["updated_at", "2014-11-20 00:07:46.274216"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.272788"], ["updated_at", "2014-11-20 00:07:46.275308"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.272826"], ["updated_at", "2014-11-20 00:07:46.276220"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.285764"], ["updated_at", "2014-11-20 00:07:46.286300"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.285830"], ["updated_at", "2014-11-20 00:07:46.287427"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.285924"], ["updated_at", "2014-11-20 00:07:46.288385"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.285961"], ["updated_at", "2014-11-20 00:07:46.289459"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.307207"], ["updated_at", "2014-11-20 00:07:46.307787"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.307280"], ["updated_at", "2014-11-20 00:07:46.309089"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.307322"], ["updated_at", "2014-11-20 00:07:46.310243"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.307360"], ["updated_at", "2014-11-20 00:07:46.311331"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.321781"], ["updated_at", "2014-11-20 00:07:46.322348"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.321850"], ["updated_at", "2014-11-20 00:07:46.323584"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.321927"], ["updated_at", "2014-11-20 00:07:46.324714"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.321965"], ["updated_at", "2014-11-20 00:07:46.326056"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.341390"], ["updated_at", "2014-11-20 00:07:46.341946"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.341450"], ["updated_at", "2014-11-20 00:07:46.343334"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.341488"], ["updated_at", "2014-11-20 00:07:46.344792"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.341525"], ["updated_at", "2014-11-20 00:07:46.345827"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.355441"], ["updated_at", "2014-11-20 00:07:46.355973"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.355506"], ["updated_at", "2014-11-20 00:07:46.357160"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.355563"], ["updated_at", "2014-11-20 00:07:46.358214"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.355601"], ["updated_at", "2014-11-20 00:07:46.359202"]]  (0.3ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.373153"], ["updated_at", "2014-11-20 00:07:46.373693"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.373221"], ["updated_at", "2014-11-20 00:07:46.374843"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.373261"], ["updated_at", "2014-11-20 00:07:46.375793"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.373344"], ["updated_at", "2014-11-20 00:07:46.376703"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.390284"], ["updated_at", "2014-11-20 00:07:46.390796"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.390348"], ["updated_at", "2014-11-20 00:07:46.391900"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.390390"], ["updated_at", "2014-11-20 00:07:46.392974"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.390428"], ["updated_at", "2014-11-20 00:07:46.394053"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.408966"], ["updated_at", "2014-11-20 00:07:46.409477"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.409032"], ["updated_at", "2014-11-20 00:07:46.410589"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.409071"], ["updated_at", "2014-11-20 00:07:46.411527"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.409108"], ["updated_at", "2014-11-20 00:07:46.412399"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.421681"], ["updated_at", "2014-11-20 00:07:46.422245"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.421748"], ["updated_at", "2014-11-20 00:07:46.423380"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.421791"], ["updated_at", "2014-11-20 00:07:46.424357"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.421830"], ["updated_at", "2014-11-20 00:07:46.425290"]]  (0.2ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.440073"], ["updated_at", "2014-11-20 00:07:46.440593"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.440139"], ["updated_at", "2014-11-20 00:07:46.441758"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.440180"], ["updated_at", "2014-11-20 00:07:46.442801"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.440218"], ["updated_at", "2014-11-20 00:07:46.443767"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.453155"], ["updated_at", "2014-11-20 00:07:46.453662"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.453246"], ["updated_at", "2014-11-20 00:07:46.454824"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.453287"], ["updated_at", "2014-11-20 00:07:46.455878"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.453323"], ["updated_at", "2014-11-20 00:07:46.456852"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.466512"], ["updated_at", "2014-11-20 00:07:46.467037"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.466603"], ["updated_at", "2014-11-20 00:07:46.468123"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.466644"], ["updated_at", "2014-11-20 00:07:46.469128"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.466682"], ["updated_at", "2014-11-20 00:07:46.470237"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.485544"], ["updated_at", "2014-11-20 00:07:46.486116"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.485616"], ["updated_at", "2014-11-20 00:07:46.487329"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.485659"], ["updated_at", "2014-11-20 00:07:46.488351"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.485739"], ["updated_at", "2014-11-20 00:07:46.489345"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.503910"], ["updated_at", "2014-11-20 00:07:46.504409"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.503978"], ["updated_at", "2014-11-20 00:07:46.505569"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.504018"], ["updated_at", "2014-11-20 00:07:46.506676"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.504055"], ["updated_at", "2014-11-20 00:07:46.507681"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.517313"], ["updated_at", "2014-11-20 00:07:46.517857"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:46.517379"], ["updated_at", "2014-11-20 00:07:46.518985"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.517421"], ["updated_at", "2014-11-20 00:07:46.520056"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.517459"], ["updated_at", "2014-11-20 00:07:46.521093"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.543236"], ["updated_at", "2014-11-20 00:07:46.543860"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.543320"], ["updated_at", "2014-11-20 00:07:46.545200"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.543363"], ["updated_at", "2014-11-20 00:07:46.546300"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.547144"], ["updated_at", "2014-11-20 00:07:46.547489"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.551068"], ["updated_at", "2014-11-20 00:07:46.551522"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.551128"], ["updated_at", "2014-11-20 00:07:46.552648"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.551167"], ["updated_at", "2014-11-20 00:07:46.553658"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.554403"], ["updated_at", "2014-11-20 00:07:46.554703"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.558885"], ["updated_at", "2014-11-20 00:07:46.559417"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.558948"], ["updated_at", "2014-11-20 00:07:46.560581"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.558988"], ["updated_at", "2014-11-20 00:07:46.561628"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.562398"], ["updated_at", "2014-11-20 00:07:46.562715"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.566527"], ["updated_at", "2014-11-20 00:07:46.567055"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.566622"], ["updated_at", "2014-11-20 00:07:46.568177"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.566662"], ["updated_at", "2014-11-20 00:07:46.569242"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.570050"], ["updated_at", "2014-11-20 00:07:46.570391"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.574819"], ["updated_at", "2014-11-20 00:07:46.575283"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.574913"], ["updated_at", "2014-11-20 00:07:46.576352"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.574954"], ["updated_at", "2014-11-20 00:07:46.577304"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.578153"], ["updated_at", "2014-11-20 00:07:46.578537"]]  (0.3ms) COMMIT  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.583094"], ["updated_at", "2014-11-20 00:07:46.583729"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.583192"], ["updated_at", "2014-11-20 00:07:46.585047"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.583237"], ["updated_at", "2014-11-20 00:07:46.586135"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.587006"], ["updated_at", "2014-11-20 00:07:46.587378"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.591887"], ["updated_at", "2014-11-20 00:07:46.592431"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.591970"], ["updated_at", "2014-11-20 00:07:46.593725"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.592010"], ["updated_at", "2014-11-20 00:07:46.594863"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.595674"], ["updated_at", "2014-11-20 00:07:46.596001"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.599880"], ["updated_at", "2014-11-20 00:07:46.600403"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.599969"], ["updated_at", "2014-11-20 00:07:46.601582"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.600010"], ["updated_at", "2014-11-20 00:07:46.602582"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.603375"], ["updated_at", "2014-11-20 00:07:46.603694"]]  (0.2ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.608138"], ["updated_at", "2014-11-20 00:07:46.608635"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.608207"], ["updated_at", "2014-11-20 00:07:46.609784"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.608274"], ["updated_at", "2014-11-20 00:07:46.610833"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.611598"], ["updated_at", "2014-11-20 00:07:46.611909"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.616042"], ["updated_at", "2014-11-20 00:07:46.616501"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.616105"], ["updated_at", "2014-11-20 00:07:46.617593"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.616144"], ["updated_at", "2014-11-20 00:07:46.618619"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.619443"], ["updated_at", "2014-11-20 00:07:46.619761"]]  (0.2ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.624464"], ["updated_at", "2014-11-20 00:07:46.625024"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.624557"], ["updated_at", "2014-11-20 00:07:46.626315"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.624602"], ["updated_at", "2014-11-20 00:07:46.627448"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.628270"], ["updated_at", "2014-11-20 00:07:46.628612"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.632588"], ["updated_at", "2014-11-20 00:07:46.633157"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.632665"], ["updated_at", "2014-11-20 00:07:46.634504"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.632710"], ["updated_at", "2014-11-20 00:07:46.635664"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.636517"], ["updated_at", "2014-11-20 00:07:46.636853"]]  (0.2ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.641921"], ["updated_at", "2014-11-20 00:07:46.642746"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.642031"], ["updated_at", "2014-11-20 00:07:46.644462"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.642155"], ["updated_at", "2014-11-20 00:07:46.645782"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.646672"], ["updated_at", "2014-11-20 00:07:46.647064"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.651363"], ["updated_at", "2014-11-20 00:07:46.652113"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.651541"], ["updated_at", "2014-11-20 00:07:46.653506"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.651591"], ["updated_at", "2014-11-20 00:07:46.654870"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.655888"], ["updated_at", "2014-11-20 00:07:46.656279"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.660632"], ["updated_at", "2014-11-20 00:07:46.661211"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.660703"], ["updated_at", "2014-11-20 00:07:46.662621"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.660772"], ["updated_at", "2014-11-20 00:07:46.663830"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.664721"], ["updated_at", "2014-11-20 00:07:46.665072"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.669224"], ["updated_at", "2014-11-20 00:07:46.669893"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.669315"], ["updated_at", "2014-11-20 00:07:46.671339"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.669378"], ["updated_at", "2014-11-20 00:07:46.672486"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.673366"], ["updated_at", "2014-11-20 00:07:46.673843"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.678290"], ["updated_at", "2014-11-20 00:07:46.678920"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.678376"], ["updated_at", "2014-11-20 00:07:46.680503"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.678439"], ["updated_at", "2014-11-20 00:07:46.681665"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.682528"], ["updated_at", "2014-11-20 00:07:46.682852"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.689791"], ["updated_at", "2014-11-20 00:07:46.690322"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.689869"], ["updated_at", "2014-11-20 00:07:46.691577"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.689914"], ["updated_at", "2014-11-20 00:07:46.692654"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.693472"], ["updated_at", "2014-11-20 00:07:46.693789"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.700258"], ["updated_at", "2014-11-20 00:07:46.700711"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.700325"], ["updated_at", "2014-11-20 00:07:46.701788"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.700365"], ["updated_at", "2014-11-20 00:07:46.702743"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.703414"], ["updated_at", "2014-11-20 00:07:46.703724"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.706272"], ["updated_at", "2014-11-20 00:07:46.706732"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.706337"], ["updated_at", "2014-11-20 00:07:46.707843"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.706379"], ["updated_at", "2014-11-20 00:07:46.708830"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.709535"], ["updated_at", "2014-11-20 00:07:46.709820"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.712776"], ["updated_at", "2014-11-20 00:07:46.713194"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.712840"], ["updated_at", "2014-11-20 00:07:46.714171"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.712881"], ["updated_at", "2014-11-20 00:07:46.715062"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.715726"], ["updated_at", "2014-11-20 00:07:46.715991"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.719609"], ["updated_at", "2014-11-20 00:07:46.720268"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.719708"], ["updated_at", "2014-11-20 00:07:46.721671"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.719772"], ["updated_at", "2014-11-20 00:07:46.722633"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.723338"], ["updated_at", "2014-11-20 00:07:46.723614"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.727467"], ["updated_at", "2014-11-20 00:07:46.727886"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.727530"], ["updated_at", "2014-11-20 00:07:46.728857"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.727571"], ["updated_at", "2014-11-20 00:07:46.729737"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.730390"], ["updated_at", "2014-11-20 00:07:46.730653"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:07:46.731558"], ["updated_at", "2014-11-20 00:07:46.731558"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:07:46.732565"], ["updated_at", "2014-11-20 00:07:46.732565"], ["value", 3]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.735572"], ["updated_at", "2014-11-20 00:07:46.735977"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.735635"], ["updated_at", "2014-11-20 00:07:46.736930"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.735675"], ["updated_at", "2014-11-20 00:07:46.737859"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.738634"], ["updated_at", "2014-11-20 00:07:46.738919"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:07:46.739809"], ["updated_at", "2014-11-20 00:07:46.739809"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:07:46.740832"], ["updated_at", "2014-11-20 00:07:46.740832"], ["value", 3]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:46.744873"], ["updated_at", "2014-11-20 00:07:46.745343"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:46.744939"], ["updated_at", "2014-11-20 00:07:46.746392"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:46.744980"], ["updated_at", "2014-11-20 00:07:46.747300"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:46.747970"], ["updated_at", "2014-11-20 00:07:46.748240"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:07:46.749131"], ["updated_at", "2014-11-20 00:07:46.749131"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:07:46.750102"], ["updated_at", "2014-11-20 00:07:46.750102"], ["value", 3]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users"  (2.0ms) DROP TABLE "users"  (3.8ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:52.903114"], ["updated_at", "2014-11-20 00:07:52.910937"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:52.903241"], ["updated_at", "2014-11-20 00:07:52.914548"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:52.903283"], ["updated_at", "2014-11-20 00:07:52.915606"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:52.924873"], ["updated_at", "2014-11-20 00:07:52.925373"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:52.924960"], ["updated_at", "2014-11-20 00:07:52.926547"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:52.925000"], ["updated_at", "2014-11-20 00:07:52.927656"]]  (0.2ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:52.936933"], ["updated_at", "2014-11-20 00:07:52.937414"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:52.937027"], ["updated_at", "2014-11-20 00:07:52.938465"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:52.937067"], ["updated_at", "2014-11-20 00:07:52.939359"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:52.945628"], ["updated_at", "2014-11-20 00:07:52.946126"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:52.945724"], ["updated_at", "2014-11-20 00:07:52.947302"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:52.945768"], ["updated_at", "2014-11-20 00:07:52.948313"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:52.953953"], ["updated_at", "2014-11-20 00:07:52.954344"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:52.954026"], ["updated_at", "2014-11-20 00:07:52.955386"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:52.954065"], ["updated_at", "2014-11-20 00:07:52.956332"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:52.963561"], ["updated_at", "2014-11-20 00:07:52.963987"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:52.963639"], ["updated_at", "2014-11-20 00:07:52.965007"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:52.963681"], ["updated_at", "2014-11-20 00:07:52.966025"]]  (0.2ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:52.976440"], ["updated_at", "2014-11-20 00:07:52.976896"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:52.976510"], ["updated_at", "2014-11-20 00:07:52.977990"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:52.976550"], ["updated_at", "2014-11-20 00:07:52.978907"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:52.984687"], ["updated_at", "2014-11-20 00:07:52.985069"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:52.984746"], ["updated_at", "2014-11-20 00:07:52.986176"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:52.984797"], ["updated_at", "2014-11-20 00:07:52.987135"]]  (0.2ms) COMMIT  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:52.992617"], ["updated_at", "2014-11-20 00:07:52.993047"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:52.992698"], ["updated_at", "2014-11-20 00:07:52.994111"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:52.992741"], ["updated_at", "2014-11-20 00:07:52.995069"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.003821"], ["updated_at", "2014-11-20 00:07:53.004283"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.003898"], ["updated_at", "2014-11-20 00:07:53.005612"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.003946"], ["updated_at", "2014-11-20 00:07:53.006668"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.012484"], ["updated_at", "2014-11-20 00:07:53.012907"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.012546"], ["updated_at", "2014-11-20 00:07:53.014034"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.012585"], ["updated_at", "2014-11-20 00:07:53.015034"]]  (0.3ms) COMMIT User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.024024"], ["updated_at", "2014-11-20 00:07:53.024458"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.024093"], ["updated_at", "2014-11-20 00:07:53.025526"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.024135"], ["updated_at", "2014-11-20 00:07:53.026525"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.035597"], ["updated_at", "2014-11-20 00:07:53.036027"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.035661"], ["updated_at", "2014-11-20 00:07:53.037056"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.035718"], ["updated_at", "2014-11-20 00:07:53.037999"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.046541"], ["updated_at", "2014-11-20 00:07:53.046958"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.046625"], ["updated_at", "2014-11-20 00:07:53.047958"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.046666"], ["updated_at", "2014-11-20 00:07:53.048842"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.055783"], ["updated_at", "2014-11-20 00:07:53.056209"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.055846"], ["updated_at", "2014-11-20 00:07:53.057354"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.055886"], ["updated_at", "2014-11-20 00:07:53.058371"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.064281"], ["updated_at", "2014-11-20 00:07:53.064677"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.064337"], ["updated_at", "2014-11-20 00:07:53.065747"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.064375"], ["updated_at", "2014-11-20 00:07:53.066719"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.074757"], ["updated_at", "2014-11-20 00:07:53.075222"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.074827"], ["updated_at", "2014-11-20 00:07:53.076371"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.074875"], ["updated_at", "2014-11-20 00:07:53.077403"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.085690"], ["updated_at", "2014-11-20 00:07:53.086086"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.085746"], ["updated_at", "2014-11-20 00:07:53.087204"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.085789"], ["updated_at", "2014-11-20 00:07:53.088172"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.097001"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:53.097001"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.5ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/dashboards/index.html.erb within layouts/prosperity/application (63.0ms) Completed 200 OK in 103ms (Views: 102.8ms | ActiveRecord: 0.5ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.206810"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:53.206810"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.225322"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:53.225322"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"143"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 143]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 143]] Prosperity::Graph Load (0.7ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 40ms (Views: 34.5ms | ActiveRecord: 3.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.269817"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:53.269817"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"144"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 144]]  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 144]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.7ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 144 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.278675"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:53.278675"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"145"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 145]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.8ms) Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 145]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 145]] Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.6ms)  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.291498"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:53.291498"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.295705"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-20 00:07:53.295705"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/147/edit Completed 302 Found in 2ms (ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.299326"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:53.299326"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.309583"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:53.309583"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.311255"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.311255"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"149", "graph_id"=>"166"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 166]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 149]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 149 AND "prosperity_dashboard_graphs"."graph_id" = 166) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.323445"], ["dashboard_id", 149], ["graph_id", 166], ["updated_at", "2014-11-20 00:07:53.323445"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/149/edit Completed 302 Found in 11ms (ActiveRecord: 1.3ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 166]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 149]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.328712"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:53.328712"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.330155"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.330155"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"150", "graph_id"=>"167"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 167]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 150]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 150 AND "prosperity_dashboard_graphs"."graph_id" = 167) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.334444"], ["dashboard_id", 150], ["graph_id", 167], ["updated_at", "2014-11-20 00:07:53.334444"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/150/edit Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"150", "graph_id"=>"167"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 167]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 150]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 150 AND "prosperity_dashboard_graphs"."graph_id" = 167) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/150/edit Completed 302 Found in 4ms (ActiveRecord: 0.6ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.341934"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.341934"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.343521"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:53.343521"]]  (0.4ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 151 AND "prosperity_dashboard_graphs"."graph_id" = 168) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.345651"], ["dashboard_id", 151], ["graph_id", 168], ["updated_at", "2014-11-20 00:07:53.345651"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"151", "graph_id"=>"168"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 168]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 151]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 168 AND "prosperity_dashboard_graphs"."dashboard_id" = 151 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 36]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards/151/edit Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:07:53.354015"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:07:53.354015"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.355535"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.355535"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"152", "graph_id"=>"169"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 169]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 152]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 169 AND "prosperity_dashboard_graphs"."dashboard_id" = 152 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.373241"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.373241"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/170/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms)  (0.4ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.6ms) Completed 200 OK in 8ms (Views: 4.4ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.388697"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.388697"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"171"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 171]] Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 171]] Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 1.0ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.397004"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.397004"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:07:53.402513"], ["extractor", "count"], ["graph_id", 172], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:07:53.402513"]]  (0.5ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"172"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 172]] Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 172]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.408878"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.408878"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"173"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 173]] Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.416864"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.416864"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"174"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 174]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.422106"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.422106"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"175"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 175]] Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 2ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.432141"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.432141"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"176"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 176]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.6ms) Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 176]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Completed 200 OK in 15ms (Views: 11.4ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.451074"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.451074"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"177"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 177]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:07:53.455791"], ["extractor", "count"], ["graph_id", 177], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:07:53.455791"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/177/edit Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 177]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 177]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.460386"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.460386"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:07:53.462282"], ["extractor", "count"], ["graph_id", 178], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:07:53.462282"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 178]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"58", "_destroy"=>true}}}, "id"=>"178"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 178]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (58) [["graph_id", 178]] SQL (0.2ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 58]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/178/edit Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 58 LIMIT 1  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.471521"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.471521"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:07:53.473232"], ["extractor", "count"], ["graph_id", 179], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:07:53.473232"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"59"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"179"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 179]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (59) [["graph_id", 179]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 59 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-20 00:07:53.478204"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/179/edit Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 59]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 179]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 179]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:07:53.483521"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:07:53.483521"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:07:53.485237"], ["extractor", "count"], ["graph_id", 180], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:07:53.485237"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 180]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"60", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"180"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 180]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (60) [["graph_id", 180]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 60 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-20 00:07:53.490182"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/180/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 180]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 180]] SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.495379"], ["updated_at", "2014-11-20 00:07:53.496119"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.495479"], ["updated_at", "2014-11-20 00:07:53.497646"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.495531"], ["updated_at", "2014-11-20 00:07:53.498642"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.495572"], ["updated_at", "2014-11-20 00:07:53.499649"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.513596"], ["updated_at", "2014-11-20 00:07:53.514057"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.513658"], ["updated_at", "2014-11-20 00:07:53.515147"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.513698"], ["updated_at", "2014-11-20 00:07:53.516132"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.513737"], ["updated_at", "2014-11-20 00:07:53.517083"]]  (0.4ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.529268"], ["updated_at", "2014-11-20 00:07:53.529719"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.529330"], ["updated_at", "2014-11-20 00:07:53.530822"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.529370"], ["updated_at", "2014-11-20 00:07:53.531828"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.529414"], ["updated_at", "2014-11-20 00:07:53.532879"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.541736"], ["updated_at", "2014-11-20 00:07:53.542165"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.541796"], ["updated_at", "2014-11-20 00:07:53.543304"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.541835"], ["updated_at", "2014-11-20 00:07:53.544247"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.541872"], ["updated_at", "2014-11-20 00:07:53.545213"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.554389"], ["updated_at", "2014-11-20 00:07:53.554843"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.554451"], ["updated_at", "2014-11-20 00:07:53.555919"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.554490"], ["updated_at", "2014-11-20 00:07:53.556912"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.554527"], ["updated_at", "2014-11-20 00:07:53.557838"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.566266"], ["updated_at", "2014-11-20 00:07:53.566725"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.566327"], ["updated_at", "2014-11-20 00:07:53.567733"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.566368"], ["updated_at", "2014-11-20 00:07:53.568617"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.566411"], ["updated_at", "2014-11-20 00:07:53.569517"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.582912"], ["updated_at", "2014-11-20 00:07:53.583362"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.582977"], ["updated_at", "2014-11-20 00:07:53.584395"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.583017"], ["updated_at", "2014-11-20 00:07:53.585354"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.583056"], ["updated_at", "2014-11-20 00:07:53.586278"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.594812"], ["updated_at", "2014-11-20 00:07:53.595310"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.594887"], ["updated_at", "2014-11-20 00:07:53.596431"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.594930"], ["updated_at", "2014-11-20 00:07:53.597422"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.594970"], ["updated_at", "2014-11-20 00:07:53.598393"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.606844"], ["updated_at", "2014-11-20 00:07:53.607314"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.606905"], ["updated_at", "2014-11-20 00:07:53.608318"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.606951"], ["updated_at", "2014-11-20 00:07:53.609210"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.606991"], ["updated_at", "2014-11-20 00:07:53.610222"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.623057"], ["updated_at", "2014-11-20 00:07:53.623497"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.623117"], ["updated_at", "2014-11-20 00:07:53.624485"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.623160"], ["updated_at", "2014-11-20 00:07:53.625356"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.623198"], ["updated_at", "2014-11-20 00:07:53.626466"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.636003"], ["updated_at", "2014-11-20 00:07:53.636518"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.636067"], ["updated_at", "2014-11-20 00:07:53.637958"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.636112"], ["updated_at", "2014-11-20 00:07:53.638945"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.636150"], ["updated_at", "2014-11-20 00:07:53.639900"]]  (0.3ms) COMMIT User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.652402"], ["updated_at", "2014-11-20 00:07:53.652873"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.652463"], ["updated_at", "2014-11-20 00:07:53.653961"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.652504"], ["updated_at", "2014-11-20 00:07:53.654921"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.652542"], ["updated_at", "2014-11-20 00:07:53.655862"]]  (0.3ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.669096"], ["updated_at", "2014-11-20 00:07:53.669539"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.669155"], ["updated_at", "2014-11-20 00:07:53.670684"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.669195"], ["updated_at", "2014-11-20 00:07:53.671718"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.669233"], ["updated_at", "2014-11-20 00:07:53.672654"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.4ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.682442"], ["updated_at", "2014-11-20 00:07:53.682915"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.682511"], ["updated_at", "2014-11-20 00:07:53.684067"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.682552"], ["updated_at", "2014-11-20 00:07:53.685129"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.682590"], ["updated_at", "2014-11-20 00:07:53.686162"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.694573"], ["updated_at", "2014-11-20 00:07:53.695009"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.694635"], ["updated_at", "2014-11-20 00:07:53.696087"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.694676"], ["updated_at", "2014-11-20 00:07:53.697107"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.694715"], ["updated_at", "2014-11-20 00:07:53.698072"]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.701041"], ["updated_at", "2014-11-20 00:07:53.701466"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.701101"], ["updated_at", "2014-11-20 00:07:53.702369"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.701142"], ["updated_at", "2014-11-20 00:07:53.703222"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.701180"], ["updated_at", "2014-11-20 00:07:53.704068"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.717876"], ["updated_at", "2014-11-20 00:07:53.718323"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:07:53.717939"], ["updated_at", "2014-11-20 00:07:53.719419"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.717977"], ["updated_at", "2014-11-20 00:07:53.720680"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.718013"], ["updated_at", "2014-11-20 00:07:53.721923"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.735850"], ["updated_at", "2014-11-20 00:07:53.736282"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.735918"], ["updated_at", "2014-11-20 00:07:53.737362"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.735961"], ["updated_at", "2014-11-20 00:07:53.738375"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.739168"], ["updated_at", "2014-11-20 00:07:53.739478"]]  (0.2ms) COMMIT  (1.5ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.745598"], ["updated_at", "2014-11-20 00:07:53.746028"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.745662"], ["updated_at", "2014-11-20 00:07:53.747050"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.745706"], ["updated_at", "2014-11-20 00:07:53.747962"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.748655"], ["updated_at", "2014-11-20 00:07:53.748903"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.752639"], ["updated_at", "2014-11-20 00:07:53.753052"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.752703"], ["updated_at", "2014-11-20 00:07:53.753977"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.752743"], ["updated_at", "2014-11-20 00:07:53.754818"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.755436"], ["updated_at", "2014-11-20 00:07:53.755683"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.758994"], ["updated_at", "2014-11-20 00:07:53.759442"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.759061"], ["updated_at", "2014-11-20 00:07:53.760517"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.759104"], ["updated_at", "2014-11-20 00:07:53.761516"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.762220"], ["updated_at", "2014-11-20 00:07:53.762476"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.5ms) DELETE FROM "users"  (0.4ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.800436"], ["updated_at", "2014-11-20 00:07:53.801297"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.800502"], ["updated_at", "2014-11-20 00:07:53.802998"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.800543"], ["updated_at", "2014-11-20 00:07:53.804481"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.805454"], ["updated_at", "2014-11-20 00:07:53.805776"]]  (0.2ms) COMMIT  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.810745"], ["updated_at", "2014-11-20 00:07:53.811210"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.810813"], ["updated_at", "2014-11-20 00:07:53.812694"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.810851"], ["updated_at", "2014-11-20 00:07:53.813722"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.814813"], ["updated_at", "2014-11-20 00:07:53.815443"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.821546"], ["updated_at", "2014-11-20 00:07:53.821963"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.821610"], ["updated_at", "2014-11-20 00:07:53.823777"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.821651"], ["updated_at", "2014-11-20 00:07:53.824801"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.825988"], ["updated_at", "2014-11-20 00:07:53.826274"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.831501"], ["updated_at", "2014-11-20 00:07:53.832494"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.831564"], ["updated_at", "2014-11-20 00:07:53.833646"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.832172"], ["updated_at", "2014-11-20 00:07:53.834672"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.835401"], ["updated_at", "2014-11-20 00:07:53.835650"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.839946"], ["updated_at", "2014-11-20 00:07:53.840416"]]  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.840008"], ["updated_at", "2014-11-20 00:07:53.841558"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.840046"], ["updated_at", "2014-11-20 00:07:53.842555"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.843470"], ["updated_at", "2014-11-20 00:07:53.843754"]]  (0.2ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.847867"], ["updated_at", "2014-11-20 00:07:53.848342"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.847928"], ["updated_at", "2014-11-20 00:07:53.849470"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.847990"], ["updated_at", "2014-11-20 00:07:53.850402"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.851114"], ["updated_at", "2014-11-20 00:07:53.851366"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.855018"], ["updated_at", "2014-11-20 00:07:53.855414"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.855077"], ["updated_at", "2014-11-20 00:07:53.856430"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.855116"], ["updated_at", "2014-11-20 00:07:53.857395"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.858142"], ["updated_at", "2014-11-20 00:07:53.858411"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.862322"], ["updated_at", "2014-11-20 00:07:53.862740"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.862388"], ["updated_at", "2014-11-20 00:07:53.863780"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.862427"], ["updated_at", "2014-11-20 00:07:53.864908"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.865626"], ["updated_at", "2014-11-20 00:07:53.865912"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.869754"], ["updated_at", "2014-11-20 00:07:53.870197"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.869848"], ["updated_at", "2014-11-20 00:07:53.871263"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.869888"], ["updated_at", "2014-11-20 00:07:53.872169"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.872876"], ["updated_at", "2014-11-20 00:07:53.873195"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.876564"], ["updated_at", "2014-11-20 00:07:53.876993"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.876624"], ["updated_at", "2014-11-20 00:07:53.878046"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.876663"], ["updated_at", "2014-11-20 00:07:53.878962"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.879579"], ["updated_at", "2014-11-20 00:07:53.879837"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.883308"], ["updated_at", "2014-11-20 00:07:53.883715"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.883368"], ["updated_at", "2014-11-20 00:07:53.884690"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.883406"], ["updated_at", "2014-11-20 00:07:53.885654"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.886362"], ["updated_at", "2014-11-20 00:07:53.886634"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.889881"], ["updated_at", "2014-11-20 00:07:53.890309"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.889945"], ["updated_at", "2014-11-20 00:07:53.891231"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.889984"], ["updated_at", "2014-11-20 00:07:53.892159"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.892891"], ["updated_at", "2014-11-20 00:07:53.893176"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.896852"], ["updated_at", "2014-11-20 00:07:53.897268"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.896939"], ["updated_at", "2014-11-20 00:07:53.898276"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.896979"], ["updated_at", "2014-11-20 00:07:53.899155"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.899823"], ["updated_at", "2014-11-20 00:07:53.900081"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.905816"], ["updated_at", "2014-11-20 00:07:53.906252"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.905939"], ["updated_at", "2014-11-20 00:07:53.907200"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.905980"], ["updated_at", "2014-11-20 00:07:53.908229"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.908908"], ["updated_at", "2014-11-20 00:07:53.909201"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.915747"], ["updated_at", "2014-11-20 00:07:53.916414"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.915847"], ["updated_at", "2014-11-20 00:07:53.917738"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.915951"], ["updated_at", "2014-11-20 00:07:53.919118"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.919906"], ["updated_at", "2014-11-20 00:07:53.920214"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.922882"], ["updated_at", "2014-11-20 00:07:53.923303"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.922974"], ["updated_at", "2014-11-20 00:07:53.924376"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.923014"], ["updated_at", "2014-11-20 00:07:53.925422"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.926229"], ["updated_at", "2014-11-20 00:07:53.926480"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.929630"], ["updated_at", "2014-11-20 00:07:53.930055"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.929694"], ["updated_at", "2014-11-20 00:07:53.931099"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.929734"], ["updated_at", "2014-11-20 00:07:53.932094"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.932819"], ["updated_at", "2014-11-20 00:07:53.933126"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.937075"], ["updated_at", "2014-11-20 00:07:53.937547"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.937142"], ["updated_at", "2014-11-20 00:07:53.938581"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.937182"], ["updated_at", "2014-11-20 00:07:53.939577"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.940291"], ["updated_at", "2014-11-20 00:07:53.940606"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.944793"], ["updated_at", "2014-11-20 00:07:53.945268"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.944863"], ["updated_at", "2014-11-20 00:07:53.946438"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.944935"], ["updated_at", "2014-11-20 00:07:53.947572"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.948469"], ["updated_at", "2014-11-20 00:07:53.948737"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:07:53.949901"], ["updated_at", "2014-11-20 00:07:53.949901"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:07:53.951055"], ["updated_at", "2014-11-20 00:07:53.951055"], ["value", 3]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.955627"], ["updated_at", "2014-11-20 00:07:53.956126"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.955731"], ["updated_at", "2014-11-20 00:07:53.957083"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.955772"], ["updated_at", "2014-11-20 00:07:53.958029"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.958761"], ["updated_at", "2014-11-20 00:07:53.959151"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:07:53.960183"], ["updated_at", "2014-11-20 00:07:53.960183"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:07:53.961276"], ["updated_at", "2014-11-20 00:07:53.961276"], ["value", 3]]  (0.4ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:07:53.965550"], ["updated_at", "2014-11-20 00:07:53.966002"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:07:53.965613"], ["updated_at", "2014-11-20 00:07:53.967154"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:07:53.965652"], ["updated_at", "2014-11-20 00:07:53.968255"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:07:53.969065"], ["updated_at", "2014-11-20 00:07:53.969383"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:07:53.970410"], ["updated_at", "2014-11-20 00:07:53.970410"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:07:53.971490"], ["updated_at", "2014-11-20 00:07:53.971490"], ["value", 3]]  (0.3ms) COMMIT Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.5ms) Completed 200 OK in 6ms (Views: 6.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.4ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)  (2.5ms) DROP TABLE "users"  (3.9ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:12:05.446978"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:12:05.446978"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:12:05.464243"], ["extractor", "count"], ["graph_id", 181], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:12:05.464243"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 181]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"61", "_destroy"=>true}}}, "id"=>"181"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 181]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (61) [["graph_id", 181]] SQL (0.2ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 61]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/181/edit Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 61 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:12:05.481280"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:12:05.481280"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:12:05.483354"], ["extractor", "count"], ["graph_id", 182], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:12:05.483354"]]  (0.2ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 182]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"62", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"182"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 182]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (62) [["graph_id", 182]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 62 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-20 00:12:05.489169"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/182/edit Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 182]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 182]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:12:05.494677"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:12:05.494677"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"183"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 183]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:12:05.499412"], ["extractor", "count"], ["graph_id", 183], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:12:05.499412"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/183/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 183]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 183]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:12:05.504228"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:12:05.504228"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:12:05.506106"], ["extractor", "count"], ["graph_id", 184], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:12:05.506106"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"64"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"184"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 184]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (64) [["graph_id", 184]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 64 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-20 00:12:05.511671"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/184/edit Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 64]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 184]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 184]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:12:05.519939"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:12:05.519939"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/graphs/185/edit Completed 302 Found in 3ms (ActiveRecord: 0.6ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (6.3ms) Completed 200 OK in 59ms (Views: 55.4ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:12:05.584859"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:12:05.584859"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"186"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 186]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 186]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:12:05.590267"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:12:05.590267"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:12:05.592118"], ["extractor", "count"], ["graph_id", 187], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:12:05.592118"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"187"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 187]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 187]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:12:05.598232"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:12:05.598232"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"188"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 188]] Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:12:05.606609"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:12:05.606609"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"189"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 189]] Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:12:05.612454"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:12:05.612454"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"190"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 190]] Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 2ms (Views: 1.0ms | ActiveRecord: 0.4ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:12:05.627153"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:12:05.627153"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"191"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 191]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.2ms) Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 191]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Completed 200 OK in 14ms (Views: 10.4ms | ActiveRecord: 0.5ms)  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:12:05.650145"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:12:05.650145"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"153"} Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 153]]  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 153]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.7ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 153 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:12:05.658308"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:12:05.658308"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:12:05.661532"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-20 00:12:05.661532"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/155/edit Completed 302 Found in 2ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:12:05.665078"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:12:05.665078"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:12:05.675919"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:12:05.675919"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:12:05.682670"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:12:05.682670"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.5ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 72ms (Views: 71.6ms | ActiveRecord: 0.5ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:12:05.758661"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:12:05.758661"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"159"} Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 159]] Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.5ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 159]] Prosperity::Graph Load (0.5ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 28ms (Views: 25.4ms | ActiveRecord: 2.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:12:05.791629"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:12:05.791629"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"160"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 160]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.8ms) Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 160]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 160]] Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.7ms) SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:05.806080"], ["updated_at", "2014-11-20 00:12:05.810608"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:05.806195"], ["updated_at", "2014-11-20 00:12:05.812378"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:05.806237"], ["updated_at", "2014-11-20 00:12:05.813498"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:05.806276"], ["updated_at", "2014-11-20 00:12:05.814511"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:05.823701"], ["updated_at", "2014-11-20 00:12:05.824237"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:05.823780"], ["updated_at", "2014-11-20 00:12:05.825405"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:05.823824"], ["updated_at", "2014-11-20 00:12:05.826399"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:05.823864"], ["updated_at", "2014-11-20 00:12:05.827398"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:05.836557"], ["updated_at", "2014-11-20 00:12:05.837106"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:05.836645"], ["updated_at", "2014-11-20 00:12:05.838240"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:05.836694"], ["updated_at", "2014-11-20 00:12:05.839247"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:05.836733"], ["updated_at", "2014-11-20 00:12:05.840170"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:05.854181"], ["updated_at", "2014-11-20 00:12:05.854713"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:05.854256"], ["updated_at", "2014-11-20 00:12:05.855841"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:05.854297"], ["updated_at", "2014-11-20 00:12:05.856728"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:05.854336"], ["updated_at", "2014-11-20 00:12:05.857572"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:05.871939"], ["updated_at", "2014-11-20 00:12:05.872451"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:05.872017"], ["updated_at", "2014-11-20 00:12:05.873519"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:05.872057"], ["updated_at", "2014-11-20 00:12:05.874437"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:05.872095"], ["updated_at", "2014-11-20 00:12:05.875332"]]  (0.2ms) COMMIT  (0.4ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:05.890709"], ["updated_at", "2014-11-20 00:12:05.891237"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:05.890791"], ["updated_at", "2014-11-20 00:12:05.892402"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:05.890832"], ["updated_at", "2014-11-20 00:12:05.893409"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:05.890871"], ["updated_at", "2014-11-20 00:12:05.894306"]]  (0.2ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:05.908718"], ["updated_at", "2014-11-20 00:12:05.909245"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:05.908799"], ["updated_at", "2014-11-20 00:12:05.910434"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:05.908838"], ["updated_at", "2014-11-20 00:12:05.911435"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:05.908875"], ["updated_at", "2014-11-20 00:12:05.912319"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:05.925326"], ["updated_at", "2014-11-20 00:12:05.925871"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:05.925416"], ["updated_at", "2014-11-20 00:12:05.926889"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:05.925459"], ["updated_at", "2014-11-20 00:12:05.927777"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:05.925497"], ["updated_at", "2014-11-20 00:12:05.928726"]]  (0.2ms) COMMIT  (0.4ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:05.945277"], ["updated_at", "2014-11-20 00:12:05.946199"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:05.945384"], ["updated_at", "2014-11-20 00:12:05.948213"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:05.945448"], ["updated_at", "2014-11-20 00:12:05.950104"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:05.945494"], ["updated_at", "2014-11-20 00:12:05.951506"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:05.966801"], ["updated_at", "2014-11-20 00:12:05.967809"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:05.966938"], ["updated_at", "2014-11-20 00:12:05.969742"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:05.967026"], ["updated_at", "2014-11-20 00:12:05.971205"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:05.967139"], ["updated_at", "2014-11-20 00:12:05.972612"]]  (0.2ms) COMMIT  (0.4ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:05.995171"], ["updated_at", "2014-11-20 00:12:05.995788"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:05.995260"], ["updated_at", "2014-11-20 00:12:05.997074"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:05.995307"], ["updated_at", "2014-11-20 00:12:05.998169"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:05.995375"], ["updated_at", "2014-11-20 00:12:05.999235"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.009862"], ["updated_at", "2014-11-20 00:12:06.010448"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:06.009935"], ["updated_at", "2014-11-20 00:12:06.011672"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.009978"], ["updated_at", "2014-11-20 00:12:06.012728"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.010023"], ["updated_at", "2014-11-20 00:12:06.013727"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.029017"], ["updated_at", "2014-11-20 00:12:06.029569"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:06.029107"], ["updated_at", "2014-11-20 00:12:06.030882"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.029150"], ["updated_at", "2014-11-20 00:12:06.031937"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.029190"], ["updated_at", "2014-11-20 00:12:06.032991"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.4ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.077160"], ["updated_at", "2014-11-20 00:12:06.078027"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:06.077229"], ["updated_at", "2014-11-20 00:12:06.079265"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.077267"], ["updated_at", "2014-11-20 00:12:06.080489"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.077304"], ["updated_at", "2014-11-20 00:12:06.081751"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.094637"], ["updated_at", "2014-11-20 00:12:06.095315"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:06.094726"], ["updated_at", "2014-11-20 00:12:06.096675"]]  (0.6ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.094765"], ["updated_at", "2014-11-20 00:12:06.098109"]]  (1.0ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.094802"], ["updated_at", "2014-11-20 00:12:06.100171"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.116582"], ["updated_at", "2014-11-20 00:12:06.117126"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:06.116652"], ["updated_at", "2014-11-20 00:12:06.118355"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.116692"], ["updated_at", "2014-11-20 00:12:06.119377"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.116729"], ["updated_at", "2014-11-20 00:12:06.120284"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.129312"], ["updated_at", "2014-11-20 00:12:06.129989"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:12:06.129401"], ["updated_at", "2014-11-20 00:12:06.131422"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.129524"], ["updated_at", "2014-11-20 00:12:06.132389"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.129571"], ["updated_at", "2014-11-20 00:12:06.133275"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.141556"], ["updated_at", "2014-11-20 00:12:06.142145"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.141671"], ["updated_at", "2014-11-20 00:12:06.143342"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.141712"], ["updated_at", "2014-11-20 00:12:06.144287"]]  (0.7ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:12:06.145562"], ["updated_at", "2014-11-20 00:12:06.145902"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:12:06.146849"], ["updated_at", "2014-11-20 00:12:06.146849"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:12:06.147866"], ["updated_at", "2014-11-20 00:12:06.147866"], ["value", 3]]  (0.2ms) COMMIT  (1.7ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.154164"], ["updated_at", "2014-11-20 00:12:06.154690"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.154256"], ["updated_at", "2014-11-20 00:12:06.155830"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.154296"], ["updated_at", "2014-11-20 00:12:06.156777"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:12:06.157496"], ["updated_at", "2014-11-20 00:12:06.157810"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:12:06.158731"], ["updated_at", "2014-11-20 00:12:06.158731"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:12:06.159766"], ["updated_at", "2014-11-20 00:12:06.159766"], ["value", 3]]  (1.0ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.166741"], ["updated_at", "2014-11-20 00:12:06.167291"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.166829"], ["updated_at", "2014-11-20 00:12:06.168483"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.166942"], ["updated_at", "2014-11-20 00:12:06.169605"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:12:06.170287"], ["updated_at", "2014-11-20 00:12:06.170590"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:12:06.171466"], ["updated_at", "2014-11-20 00:12:06.171466"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:12:06.172363"], ["updated_at", "2014-11-20 00:12:06.172363"], ["value", 3]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.175723"], ["updated_at", "2014-11-20 00:12:06.176180"]]  (0.7ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.175793"], ["updated_at", "2014-11-20 00:12:06.178123"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.175832"], ["updated_at", "2014-11-20 00:12:06.179379"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:12:06.180252"], ["updated_at", "2014-11-20 00:12:06.180550"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.184157"], ["updated_at", "2014-11-20 00:12:06.184827"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.184298"], ["updated_at", "2014-11-20 00:12:06.185967"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.184415"], ["updated_at", "2014-11-20 00:12:06.186854"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:12:06.187583"], ["updated_at", "2014-11-20 00:12:06.187985"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.192476"], ["updated_at", "2014-11-20 00:12:06.193023"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.192584"], ["updated_at", "2014-11-20 00:12:06.194415"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.192627"], ["updated_at", "2014-11-20 00:12:06.195604"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:12:06.196458"], ["updated_at", "2014-11-20 00:12:06.196817"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.200672"], ["updated_at", "2014-11-20 00:12:06.201320"]]  (0.7ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.200744"], ["updated_at", "2014-11-20 00:12:06.203120"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.200784"], ["updated_at", "2014-11-20 00:12:06.204124"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:12:06.204785"], ["updated_at", "2014-11-20 00:12:06.205054"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.209094"], ["updated_at", "2014-11-20 00:12:06.209795"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.209241"], ["updated_at", "2014-11-20 00:12:06.211097"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.209292"], ["updated_at", "2014-11-20 00:12:06.212359"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:12:06.213237"], ["updated_at", "2014-11-20 00:12:06.213599"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.220505"], ["updated_at", "2014-11-20 00:12:06.220963"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.220578"], ["updated_at", "2014-11-20 00:12:06.222235"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.220618"], ["updated_at", "2014-11-20 00:12:06.223560"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:12:06.224441"], ["updated_at", "2014-11-20 00:12:06.224773"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.232790"], ["updated_at", "2014-11-20 00:12:06.233324"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.232871"], ["updated_at", "2014-11-20 00:12:06.234618"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.232913"], ["updated_at", "2014-11-20 00:12:06.235998"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:12:06.236699"], ["updated_at", "2014-11-20 00:12:06.236959"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.239910"], ["updated_at", "2014-11-20 00:12:06.240341"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.239974"], ["updated_at", "2014-11-20 00:12:06.241872"]]  (1.0ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.240014"], ["updated_at", "2014-11-20 00:12:06.243837"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:12:06.244679"], ["updated_at", "2014-11-20 00:12:06.245053"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.248648"], ["updated_at", "2014-11-20 00:12:06.249146"]]  (0.6ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.248727"], ["updated_at", "2014-11-20 00:12:06.250594"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.248766"], ["updated_at", "2014-11-20 00:12:06.251750"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:12:06.252570"], ["updated_at", "2014-11-20 00:12:06.252910"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.257088"], ["updated_at", "2014-11-20 00:12:06.257588"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.257214"], ["updated_at", "2014-11-20 00:12:06.258664"]]  (0.8ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.257255"], ["updated_at", "2014-11-20 00:12:06.260424"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:12:06.261253"], ["updated_at", "2014-11-20 00:12:06.261560"]]  (0.3ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:12:06.266165"], ["updated_at", "2014-11-20 00:12:06.266687"]]  (0.6ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:12:06.266241"], ["updated_at", "2014-11-20 00:12:06.268284"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:12:06.266339"], ["updated_at", "2014-11-20 00:12:06.269217"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:12:06.269913"], ["updated_at", "2014-11-20 00:12:06.270189"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (1.6ms) Completed 200 OK in 24ms (Views: 23.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"} Completed 200 OK in 9ms (Views: 1.1ms | ActiveRecord: 0.4ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"} Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.4ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"161", "graph_id"=>"192"} Redirected to http://test.host/prosperity/dashboards/161/edit Completed 302 Found in 29ms (ActiveRecord: 1.8ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"162", "graph_id"=>"193"} Redirected to http://test.host/prosperity/dashboards/162/edit Completed 302 Found in 21ms (ActiveRecord: 1.9ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"162", "graph_id"=>"193"} Redirected to http://test.host/prosperity/dashboards/162/edit Completed 302 Found in 18ms (ActiveRecord: 1.4ms) Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"163", "graph_id"=>"194"} Redirected to http://test.host/prosperity/dashboards/163/edit Completed 302 Found in 14ms (ActiveRecord: 1.7ms) Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"164", "graph_id"=>"195"} Completed 404 Not Found in 9ms  (2.2ms) DROP TABLE "users"  (3.9ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.378185"], ["updated_at", "2014-11-20 00:13:44.386844"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.378348"], ["updated_at", "2014-11-20 00:13:44.390081"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.378391"], ["updated_at", "2014-11-20 00:13:44.391269"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.392019"], ["updated_at", "2014-11-20 00:13:44.392326"]]  (0.3ms) COMMIT  (1.5ms) WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.396974"], ["updated_at", "2014-11-20 00:13:44.397539"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.397035"], ["updated_at", "2014-11-20 00:13:44.398868"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.397079"], ["updated_at", "2014-11-20 00:13:44.399869"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.400595"], ["updated_at", "2014-11-20 00:13:44.400890"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.404550"], ["updated_at", "2014-11-20 00:13:44.404969"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.404619"], ["updated_at", "2014-11-20 00:13:44.405981"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.404659"], ["updated_at", "2014-11-20 00:13:44.406914"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.407619"], ["updated_at", "2014-11-20 00:13:44.407889"]]  (0.3ms) COMMIT  (0.4ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.413813"], ["updated_at", "2014-11-20 00:13:44.414333"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.413915"], ["updated_at", "2014-11-20 00:13:44.415389"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.413961"], ["updated_at", "2014-11-20 00:13:44.416310"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.416992"], ["updated_at", "2014-11-20 00:13:44.417257"]]  (0.2ms) COMMIT  (0.5ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.423196"], ["updated_at", "2014-11-20 00:13:44.423889"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.423361"], ["updated_at", "2014-11-20 00:13:44.425226"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.423446"], ["updated_at", "2014-11-20 00:13:44.426356"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.427148"], ["updated_at", "2014-11-20 00:13:44.427506"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:13:44.428630"], ["updated_at", "2014-11-20 00:13:44.428630"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:13:44.429913"], ["updated_at", "2014-11-20 00:13:44.429913"], ["value", 3]]  (0.2ms) COMMIT  (0.4ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.435245"], ["updated_at", "2014-11-20 00:13:44.435701"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.435316"], ["updated_at", "2014-11-20 00:13:44.436656"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.435354"], ["updated_at", "2014-11-20 00:13:44.437526"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.438225"], ["updated_at", "2014-11-20 00:13:44.438520"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:13:44.439503"], ["updated_at", "2014-11-20 00:13:44.439503"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:13:44.440475"], ["updated_at", "2014-11-20 00:13:44.440475"], ["value", 3]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.443832"], ["updated_at", "2014-11-20 00:13:44.444328"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.443913"], ["updated_at", "2014-11-20 00:13:44.445484"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.443952"], ["updated_at", "2014-11-20 00:13:44.446417"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.447112"], ["updated_at", "2014-11-20 00:13:44.447395"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:13:44.448342"], ["updated_at", "2014-11-20 00:13:44.448342"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:13:44.449379"], ["updated_at", "2014-11-20 00:13:44.449379"], ["value", 3]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.453418"], ["updated_at", "2014-11-20 00:13:44.453852"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.453485"], ["updated_at", "2014-11-20 00:13:44.454932"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.453522"], ["updated_at", "2014-11-20 00:13:44.455838"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.456506"], ["updated_at", "2014-11-20 00:13:44.456790"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.460379"], ["updated_at", "2014-11-20 00:13:44.460748"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.460436"], ["updated_at", "2014-11-20 00:13:44.461774"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.460479"], ["updated_at", "2014-11-20 00:13:44.462742"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.463492"], ["updated_at", "2014-11-20 00:13:44.463744"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.467119"], ["updated_at", "2014-11-20 00:13:44.467561"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.467183"], ["updated_at", "2014-11-20 00:13:44.468569"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.467220"], ["updated_at", "2014-11-20 00:13:44.469442"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.470186"], ["updated_at", "2014-11-20 00:13:44.470425"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.476892"], ["updated_at", "2014-11-20 00:13:44.477325"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.476966"], ["updated_at", "2014-11-20 00:13:44.478384"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.477003"], ["updated_at", "2014-11-20 00:13:44.479459"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.480216"], ["updated_at", "2014-11-20 00:13:44.480484"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.486412"], ["updated_at", "2014-11-20 00:13:44.486798"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.486484"], ["updated_at", "2014-11-20 00:13:44.487868"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.486521"], ["updated_at", "2014-11-20 00:13:44.488818"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.489566"], ["updated_at", "2014-11-20 00:13:44.489858"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.492512"], ["updated_at", "2014-11-20 00:13:44.492942"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.492578"], ["updated_at", "2014-11-20 00:13:44.494055"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.492615"], ["updated_at", "2014-11-20 00:13:44.494984"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.495667"], ["updated_at", "2014-11-20 00:13:44.495953"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.499202"], ["updated_at", "2014-11-20 00:13:44.499643"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.499269"], ["updated_at", "2014-11-20 00:13:44.500743"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.499308"], ["updated_at", "2014-11-20 00:13:44.501790"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.502577"], ["updated_at", "2014-11-20 00:13:44.502839"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.506328"], ["updated_at", "2014-11-20 00:13:44.506782"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.506402"], ["updated_at", "2014-11-20 00:13:44.507788"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.506457"], ["updated_at", "2014-11-20 00:13:44.508713"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.509449"], ["updated_at", "2014-11-20 00:13:44.509697"]]  (0.2ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.514321"], ["updated_at", "2014-11-20 00:13:44.514751"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.514387"], ["updated_at", "2014-11-20 00:13:44.515768"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.514443"], ["updated_at", "2014-11-20 00:13:44.516691"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.517382"], ["updated_at", "2014-11-20 00:13:44.517623"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.520904"], ["updated_at", "2014-11-20 00:13:44.521271"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.520966"], ["updated_at", "2014-11-20 00:13:44.522262"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.521004"], ["updated_at", "2014-11-20 00:13:44.523189"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.523878"], ["updated_at", "2014-11-20 00:13:44.524125"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.528980"], ["updated_at", "2014-11-20 00:13:44.529477"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.529058"], ["updated_at", "2014-11-20 00:13:44.530560"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.529118"], ["updated_at", "2014-11-20 00:13:44.531554"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.532276"], ["updated_at", "2014-11-20 00:13:44.532523"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.536165"], ["updated_at", "2014-11-20 00:13:44.536558"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.536240"], ["updated_at", "2014-11-20 00:13:44.537442"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.536281"], ["updated_at", "2014-11-20 00:13:44.538247"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.538853"], ["updated_at", "2014-11-20 00:13:44.539092"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.542770"], ["updated_at", "2014-11-20 00:13:44.543186"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.542835"], ["updated_at", "2014-11-20 00:13:44.544284"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.542873"], ["updated_at", "2014-11-20 00:13:44.545305"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.546026"], ["updated_at", "2014-11-20 00:13:44.546288"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.549798"], ["updated_at", "2014-11-20 00:13:44.550218"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.549859"], ["updated_at", "2014-11-20 00:13:44.551437"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.549897"], ["updated_at", "2014-11-20 00:13:44.552371"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.553085"], ["updated_at", "2014-11-20 00:13:44.553332"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.557324"], ["updated_at", "2014-11-20 00:13:44.557763"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.557389"], ["updated_at", "2014-11-20 00:13:44.558747"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.557427"], ["updated_at", "2014-11-20 00:13:44.559628"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.560304"], ["updated_at", "2014-11-20 00:13:44.560606"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.563943"], ["updated_at", "2014-11-20 00:13:44.564337"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.564026"], ["updated_at", "2014-11-20 00:13:44.565330"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.564063"], ["updated_at", "2014-11-20 00:13:44.566236"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.566926"], ["updated_at", "2014-11-20 00:13:44.567168"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.571493"], ["updated_at", "2014-11-20 00:13:44.571871"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.571559"], ["updated_at", "2014-11-20 00:13:44.572815"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.571596"], ["updated_at", "2014-11-20 00:13:44.573712"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.574445"], ["updated_at", "2014-11-20 00:13:44.574698"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:44.578263"], ["updated_at", "2014-11-20 00:13:44.578699"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:44.578325"], ["updated_at", "2014-11-20 00:13:44.579751"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:44.578365"], ["updated_at", "2014-11-20 00:13:44.580668"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:44.581397"], ["updated_at", "2014-11-20 00:13:44.581646"]]  (0.2ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.597528"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.597528"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/196/edit Completed 302 Found in 6ms (ActiveRecord: 0.8ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (6.9ms) Completed 200 OK in 68ms (Views: 61.0ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.672970"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.672970"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"197"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 197]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.2ms) Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 197]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.3ms) Completed 200 OK in 29ms (Views: 9.8ms | ActiveRecord: 1.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.705911"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.705911"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:13:44.708118"], ["extractor", "count"], ["graph_id", 198], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:13:44.708118"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"66"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"198"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 198]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (66) [["graph_id", 198]] SQL (0.3ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 66 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-20 00:13:44.715984"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/198/edit Completed 302 Found in 8ms (ActiveRecord: 1.2ms) Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 66]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 198]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 198]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.722370"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.722370"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:13:44.724166"], ["extractor", "count"], ["graph_id", 199], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:13:44.724166"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 199]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"67", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"199"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 199]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (67) [["graph_id", 199]] SQL (0.3ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 67 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-20 00:13:44.729841"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/199/edit Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 199]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 199]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.735195"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.735195"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:13:44.737539"], ["extractor", "count"], ["graph_id", 200], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:13:44.737539"]]  (0.4ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 200]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"68", "_destroy"=>true}}}, "id"=>"200"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 200]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (68) [["graph_id", 200]] SQL (0.2ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 68]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/200/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 68 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.746348"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.746348"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"201"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 201]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:13:44.750402"], ["extractor", "count"], ["graph_id", 201], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:13:44.750402"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/201/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 201]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 201]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.755243"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.755243"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"202"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 202]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 202]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.760578"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.760578"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:13:44.762455"], ["extractor", "count"], ["graph_id", 203], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:13:44.762455"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"203"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 203]] Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 203]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.767624"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.767624"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"204"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 204]] Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.774427"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.774427"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"205"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 205]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 1ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.781662"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.781662"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"206"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 206]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.4ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:44.799422"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:44.799422"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.801845"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.801845"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"165", "graph_id"=>"207"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 207]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 165]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 165 AND "prosperity_dashboard_graphs"."graph_id" = 207) LIMIT 1 SQL (0.3ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:44.821060"], ["dashboard_id", 165], ["graph_id", 207], ["updated_at", "2014-11-20 00:13:44.821060"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/165/edit Completed 302 Found in 18ms (ActiveRecord: 1.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 207]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 165]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:44.827201"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:44.827201"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.828797"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.828797"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"166", "graph_id"=>"208"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 208]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 166]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 166 AND "prosperity_dashboard_graphs"."graph_id" = 208) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:44.832996"], ["dashboard_id", 166], ["graph_id", 208], ["updated_at", "2014-11-20 00:13:44.832996"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/166/edit Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"166", "graph_id"=>"208"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 208]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 166]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 166 AND "prosperity_dashboard_graphs"."graph_id" = 208) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/166/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.841031"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.841031"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:44.842519"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:44.842519"]]  (0.3ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 167 AND "prosperity_dashboard_graphs"."graph_id" = 209) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:44.844437"], ["dashboard_id", 167], ["graph_id", 209], ["updated_at", "2014-11-20 00:13:44.844437"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"167", "graph_id"=>"209"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 209]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 167]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 209 AND "prosperity_dashboard_graphs"."dashboard_id" = 167 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 42]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/167/edit Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:44.851964"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:44.851964"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:44.853430"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:44.853430"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"168", "graph_id"=>"210"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 210]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 168]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 210 AND "prosperity_dashboard_graphs"."dashboard_id" = 168 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:44.858634"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:44.858634"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:44.867979"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:44.867979"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"170"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 170]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.7ms) Prosperity::Graph Exists (0.4ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 170]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 170]] Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:44.884874"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:44.884874"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"171"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 171]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 171]] Prosperity::Graph Load (0.5ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 1.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:44.904435"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:44.904435"]]  (0.4ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:44.908476"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-20 00:13:44.908476"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/173/edit Completed 302 Found in 2ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:44.912120"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:44.912120"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:44.919819"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:44.919819"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.4ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 84ms (Views: 82.9ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:45.007131"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:45.007131"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"176"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 176]]  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 176]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 3ms (ActiveRecord: 0.9ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 176 LIMIT 1 SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.020710"], ["updated_at", "2014-11-20 00:13:45.021522"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.020842"], ["updated_at", "2014-11-20 00:13:45.022990"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.020902"], ["updated_at", "2014-11-20 00:13:45.024184"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.020955"], ["updated_at", "2014-11-20 00:13:45.025216"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.028383"], ["updated_at", "2014-11-20 00:13:45.028803"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.028446"], ["updated_at", "2014-11-20 00:13:45.029846"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.028490"], ["updated_at", "2014-11-20 00:13:45.030905"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.028526"], ["updated_at", "2014-11-20 00:13:45.031882"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.045878"], ["updated_at", "2014-11-20 00:13:45.046366"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.045945"], ["updated_at", "2014-11-20 00:13:45.047466"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.045999"], ["updated_at", "2014-11-20 00:13:45.048404"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.046036"], ["updated_at", "2014-11-20 00:13:45.049421"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.065507"], ["updated_at", "2014-11-20 00:13:45.066005"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.065580"], ["updated_at", "2014-11-20 00:13:45.067175"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.065627"], ["updated_at", "2014-11-20 00:13:45.068208"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.065667"], ["updated_at", "2014-11-20 00:13:45.069161"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.077443"], ["updated_at", "2014-11-20 00:13:45.077859"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.077504"], ["updated_at", "2014-11-20 00:13:45.078810"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.077542"], ["updated_at", "2014-11-20 00:13:45.079692"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.077578"], ["updated_at", "2014-11-20 00:13:45.080565"]]  (0.2ms) COMMIT  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.089285"], ["updated_at", "2014-11-20 00:13:45.089732"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.089354"], ["updated_at", "2014-11-20 00:13:45.090739"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.089394"], ["updated_at", "2014-11-20 00:13:45.091642"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.089437"], ["updated_at", "2014-11-20 00:13:45.092610"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.101359"], ["updated_at", "2014-11-20 00:13:45.101834"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.101418"], ["updated_at", "2014-11-20 00:13:45.102999"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.101456"], ["updated_at", "2014-11-20 00:13:45.137637"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.101497"], ["updated_at", "2014-11-20 00:13:45.139162"]]  (0.3ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.164153"], ["updated_at", "2014-11-20 00:13:45.164765"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.164230"], ["updated_at", "2014-11-20 00:13:45.166075"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.164271"], ["updated_at", "2014-11-20 00:13:45.167470"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.164308"], ["updated_at", "2014-11-20 00:13:45.168522"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.177885"], ["updated_at", "2014-11-20 00:13:45.178364"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.177991"], ["updated_at", "2014-11-20 00:13:45.179639"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.178030"], ["updated_at", "2014-11-20 00:13:45.180776"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.178066"], ["updated_at", "2014-11-20 00:13:45.181786"]]  (0.3ms) COMMIT User Load (0.4ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.195064"], ["updated_at", "2014-11-20 00:13:45.195601"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.195133"], ["updated_at", "2014-11-20 00:13:45.196709"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.195172"], ["updated_at", "2014-11-20 00:13:45.197756"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.195209"], ["updated_at", "2014-11-20 00:13:45.198723"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.213078"], ["updated_at", "2014-11-20 00:13:45.213632"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.213146"], ["updated_at", "2014-11-20 00:13:45.214847"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.213187"], ["updated_at", "2014-11-20 00:13:45.215938"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.213223"], ["updated_at", "2014-11-20 00:13:45.217012"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.226228"], ["updated_at", "2014-11-20 00:13:45.226703"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.226289"], ["updated_at", "2014-11-20 00:13:45.227817"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.226326"], ["updated_at", "2014-11-20 00:13:45.228899"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.226361"], ["updated_at", "2014-11-20 00:13:45.229886"]]  (0.2ms) COMMIT  (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.238085"], ["updated_at", "2014-11-20 00:13:45.238532"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.238140"], ["updated_at", "2014-11-20 00:13:45.239539"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.238176"], ["updated_at", "2014-11-20 00:13:45.240453"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.238211"], ["updated_at", "2014-11-20 00:13:45.241374"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.256098"], ["updated_at", "2014-11-20 00:13:45.256555"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.256160"], ["updated_at", "2014-11-20 00:13:45.257571"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.256214"], ["updated_at", "2014-11-20 00:13:45.258525"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.256251"], ["updated_at", "2014-11-20 00:13:45.259467"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.268456"], ["updated_at", "2014-11-20 00:13:45.268890"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.268518"], ["updated_at", "2014-11-20 00:13:45.269898"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.268557"], ["updated_at", "2014-11-20 00:13:45.270825"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.268592"], ["updated_at", "2014-11-20 00:13:45.271754"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.285238"], ["updated_at", "2014-11-20 00:13:45.285719"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.285306"], ["updated_at", "2014-11-20 00:13:45.286762"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.285345"], ["updated_at", "2014-11-20 00:13:45.287801"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.285382"], ["updated_at", "2014-11-20 00:13:45.288857"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.298298"], ["updated_at", "2014-11-20 00:13:45.298837"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:45.298438"], ["updated_at", "2014-11-20 00:13:45.300170"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.298480"], ["updated_at", "2014-11-20 00:13:45.301143"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.298516"], ["updated_at", "2014-11-20 00:13:45.302075"]]  (0.3ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.3ms) Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) SQL (1.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.392859"], ["updated_at", "2014-11-20 00:13:45.393590"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.392967"], ["updated_at", "2014-11-20 00:13:45.395182"]]  (0.6ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.393015"], ["updated_at", "2014-11-20 00:13:45.396670"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.406632"], ["updated_at", "2014-11-20 00:13:45.407122"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.406697"], ["updated_at", "2014-11-20 00:13:45.408286"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.406754"], ["updated_at", "2014-11-20 00:13:45.409316"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.418349"], ["updated_at", "2014-11-20 00:13:45.418832"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.418448"], ["updated_at", "2014-11-20 00:13:45.419976"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.418491"], ["updated_at", "2014-11-20 00:13:45.420969"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.429382"], ["updated_at", "2014-11-20 00:13:45.429797"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.429441"], ["updated_at", "2014-11-20 00:13:45.430817"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.429494"], ["updated_at", "2014-11-20 00:13:45.431941"]]  (0.3ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.434862"], ["updated_at", "2014-11-20 00:13:45.435286"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.434938"], ["updated_at", "2014-11-20 00:13:45.436339"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.434979"], ["updated_at", "2014-11-20 00:13:45.437472"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.443185"], ["updated_at", "2014-11-20 00:13:45.443653"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.443253"], ["updated_at", "2014-11-20 00:13:45.444871"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.443294"], ["updated_at", "2014-11-20 00:13:45.445829"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.451484"], ["updated_at", "2014-11-20 00:13:45.451929"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.451563"], ["updated_at", "2014-11-20 00:13:45.453005"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.451602"], ["updated_at", "2014-11-20 00:13:45.453952"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.459847"], ["updated_at", "2014-11-20 00:13:45.460299"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.459906"], ["updated_at", "2014-11-20 00:13:45.461350"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.459965"], ["updated_at", "2014-11-20 00:13:45.462420"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.470576"], ["updated_at", "2014-11-20 00:13:45.470994"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.470650"], ["updated_at", "2014-11-20 00:13:45.472025"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.470690"], ["updated_at", "2014-11-20 00:13:45.473023"]]  (0.2ms) COMMIT  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.479250"], ["updated_at", "2014-11-20 00:13:45.479692"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.479316"], ["updated_at", "2014-11-20 00:13:45.480862"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.479359"], ["updated_at", "2014-11-20 00:13:45.481963"]]  (0.3ms) COMMIT User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.489871"], ["updated_at", "2014-11-20 00:13:45.490274"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.489940"], ["updated_at", "2014-11-20 00:13:45.491296"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.489986"], ["updated_at", "2014-11-20 00:13:45.492418"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.501141"], ["updated_at", "2014-11-20 00:13:45.501592"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.501215"], ["updated_at", "2014-11-20 00:13:45.502751"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.501261"], ["updated_at", "2014-11-20 00:13:45.503778"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.509770"], ["updated_at", "2014-11-20 00:13:45.510191"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.509832"], ["updated_at", "2014-11-20 00:13:45.511396"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.509870"], ["updated_at", "2014-11-20 00:13:45.512415"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.517631"], ["updated_at", "2014-11-20 00:13:45.518040"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.517704"], ["updated_at", "2014-11-20 00:13:45.519161"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.517744"], ["updated_at", "2014-11-20 00:13:45.520169"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.528314"], ["updated_at", "2014-11-20 00:13:45.528714"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.528377"], ["updated_at", "2014-11-20 00:13:45.529767"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.528418"], ["updated_at", "2014-11-20 00:13:45.530724"]]  (0.3ms) COMMIT  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.535949"], ["updated_at", "2014-11-20 00:13:45.536305"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.536008"], ["updated_at", "2014-11-20 00:13:45.537313"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.536047"], ["updated_at", "2014-11-20 00:13:45.538311"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.4ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.546732"], ["updated_at", "2014-11-20 00:13:45.547171"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.546805"], ["updated_at", "2014-11-20 00:13:45.548209"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.546848"], ["updated_at", "2014-11-20 00:13:45.549126"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:45.554585"], ["updated_at", "2014-11-20 00:13:45.554964"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:45.554645"], ["updated_at", "2014-11-20 00:13:45.555863"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:45.554685"], ["updated_at", "2014-11-20 00:13:45.556759"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (8.3ms) DROP TABLE "users"  (4.4ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.6ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 3.8ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.3ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.6ms) Completed 200 OK in 25ms (Views: 24.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.4ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:54.234807"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:54.234807"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.242148"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.242148"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"177", "graph_id"=>"211"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 211]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 177]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 177 AND "prosperity_dashboard_graphs"."graph_id" = 211) LIMIT 1 SQL (0.3ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:54.287617"], ["dashboard_id", 177], ["graph_id", 211], ["updated_at", "2014-11-20 00:13:54.287617"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/177/edit Completed 302 Found in 44ms (ActiveRecord: 1.6ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 211]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 177]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:54.294403"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:54.294403"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.295770"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.295770"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"178", "graph_id"=>"212"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 212]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 178]]  (0.2ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 178 AND "prosperity_dashboard_graphs"."graph_id" = 212) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:54.300188"], ["dashboard_id", 178], ["graph_id", 212], ["updated_at", "2014-11-20 00:13:54.300188"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/178/edit Completed 302 Found in 4ms (ActiveRecord: 1.3ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"178", "graph_id"=>"212"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 212]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 178]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 178 AND "prosperity_dashboard_graphs"."graph_id" = 212) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/178/edit Completed 302 Found in 6ms (ActiveRecord: 0.6ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.310913"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.310913"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:54.313095"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:54.313095"]]  (0.3ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 179 AND "prosperity_dashboard_graphs"."graph_id" = 213) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:54.315991"], ["dashboard_id", 179], ["graph_id", 213], ["updated_at", "2014-11-20 00:13:54.315991"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"179", "graph_id"=>"213"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 213]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 179]] Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 213 AND "prosperity_dashboard_graphs"."dashboard_id" = 179 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 45]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/179/edit Completed 302 Found in 6ms (ActiveRecord: 1.2ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:54.327881"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:54.327881"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.329521"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.329521"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"180", "graph_id"=>"214"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 214]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 180]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 214 AND "prosperity_dashboard_graphs"."dashboard_id" = 180 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms SQL (0.1ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.335187"], ["updated_at", "2014-11-20 00:13:54.338190"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.335284"], ["updated_at", "2014-11-20 00:13:54.339856"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.335331"], ["updated_at", "2014-11-20 00:13:54.341080"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.341861"], ["updated_at", "2014-11-20 00:13:54.342142"]]  (0.2ms) COMMIT  (1.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.346620"], ["updated_at", "2014-11-20 00:13:54.347012"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.346681"], ["updated_at", "2014-11-20 00:13:54.347996"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.346721"], ["updated_at", "2014-11-20 00:13:54.348898"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.350076"], ["updated_at", "2014-11-20 00:13:54.350408"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.354202"], ["updated_at", "2014-11-20 00:13:54.354706"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.354274"], ["updated_at", "2014-11-20 00:13:54.355756"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.354317"], ["updated_at", "2014-11-20 00:13:54.356707"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.357419"], ["updated_at", "2014-11-20 00:13:54.357702"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.364207"], ["updated_at", "2014-11-20 00:13:54.364636"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.364272"], ["updated_at", "2014-11-20 00:13:54.365734"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.364311"], ["updated_at", "2014-11-20 00:13:54.366659"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.367385"], ["updated_at", "2014-11-20 00:13:54.367678"]]  (0.2ms) COMMIT  (0.5ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.374138"], ["updated_at", "2014-11-20 00:13:54.374591"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.374201"], ["updated_at", "2014-11-20 00:13:54.375653"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.374242"], ["updated_at", "2014-11-20 00:13:54.376600"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.377352"], ["updated_at", "2014-11-20 00:13:54.377629"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.380143"], ["updated_at", "2014-11-20 00:13:54.380549"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.380208"], ["updated_at", "2014-11-20 00:13:54.381555"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.380248"], ["updated_at", "2014-11-20 00:13:54.382468"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.383160"], ["updated_at", "2014-11-20 00:13:54.383410"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.386163"], ["updated_at", "2014-11-20 00:13:54.386550"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.386221"], ["updated_at", "2014-11-20 00:13:54.387526"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.386261"], ["updated_at", "2014-11-20 00:13:54.388433"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.389118"], ["updated_at", "2014-11-20 00:13:54.389365"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.392940"], ["updated_at", "2014-11-20 00:13:54.393321"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.393002"], ["updated_at", "2014-11-20 00:13:54.394491"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.393041"], ["updated_at", "2014-11-20 00:13:54.395597"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.396305"], ["updated_at", "2014-11-20 00:13:54.396552"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.400524"], ["updated_at", "2014-11-20 00:13:54.400929"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.400589"], ["updated_at", "2014-11-20 00:13:54.401948"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.400630"], ["updated_at", "2014-11-20 00:13:54.402877"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.403558"], ["updated_at", "2014-11-20 00:13:54.403808"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.407237"], ["updated_at", "2014-11-20 00:13:54.407853"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.407328"], ["updated_at", "2014-11-20 00:13:54.408782"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.407391"], ["updated_at", "2014-11-20 00:13:54.409663"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.410384"], ["updated_at", "2014-11-20 00:13:54.410663"]]  (0.2ms) COMMIT  (0.5ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.414469"], ["updated_at", "2014-11-20 00:13:54.414897"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.414532"], ["updated_at", "2014-11-20 00:13:54.416078"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.414573"], ["updated_at", "2014-11-20 00:13:54.417085"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.417827"], ["updated_at", "2014-11-20 00:13:54.418097"]]  (0.2ms) COMMIT  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.421738"], ["updated_at", "2014-11-20 00:13:54.422177"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.421799"], ["updated_at", "2014-11-20 00:13:54.423286"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.421840"], ["updated_at", "2014-11-20 00:13:54.424287"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.425039"], ["updated_at", "2014-11-20 00:13:54.425322"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.430088"], ["updated_at", "2014-11-20 00:13:54.430463"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.430146"], ["updated_at", "2014-11-20 00:13:54.431474"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.430184"], ["updated_at", "2014-11-20 00:13:54.432466"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.433164"], ["updated_at", "2014-11-20 00:13:54.433415"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.436844"], ["updated_at", "2014-11-20 00:13:54.437213"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.436901"], ["updated_at", "2014-11-20 00:13:54.438170"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.436939"], ["updated_at", "2014-11-20 00:13:54.439080"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.439755"], ["updated_at", "2014-11-20 00:13:54.439997"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.443640"], ["updated_at", "2014-11-20 00:13:54.444105"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.443716"], ["updated_at", "2014-11-20 00:13:54.445268"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.443756"], ["updated_at", "2014-11-20 00:13:54.446344"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.447093"], ["updated_at", "2014-11-20 00:13:54.447352"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.452011"], ["updated_at", "2014-11-20 00:13:54.452476"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.452074"], ["updated_at", "2014-11-20 00:13:54.453490"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.452119"], ["updated_at", "2014-11-20 00:13:54.454443"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.455122"], ["updated_at", "2014-11-20 00:13:54.455371"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.459109"], ["updated_at", "2014-11-20 00:13:54.459513"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.459174"], ["updated_at", "2014-11-20 00:13:54.460523"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.459213"], ["updated_at", "2014-11-20 00:13:54.461429"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.462166"], ["updated_at", "2014-11-20 00:13:54.462431"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.466151"], ["updated_at", "2014-11-20 00:13:54.466551"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.466212"], ["updated_at", "2014-11-20 00:13:54.467621"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.466251"], ["updated_at", "2014-11-20 00:13:54.468679"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.469408"], ["updated_at", "2014-11-20 00:13:54.469688"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.473113"], ["updated_at", "2014-11-20 00:13:54.473504"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.473176"], ["updated_at", "2014-11-20 00:13:54.474677"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.473215"], ["updated_at", "2014-11-20 00:13:54.475655"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.476299"], ["updated_at", "2014-11-20 00:13:54.476545"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.481033"], ["updated_at", "2014-11-20 00:13:54.481404"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.481095"], ["updated_at", "2014-11-20 00:13:54.482371"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.481133"], ["updated_at", "2014-11-20 00:13:54.483273"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.483950"], ["updated_at", "2014-11-20 00:13:54.484188"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.487914"], ["updated_at", "2014-11-20 00:13:54.488300"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.487988"], ["updated_at", "2014-11-20 00:13:54.489418"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.488027"], ["updated_at", "2014-11-20 00:13:54.490332"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.491019"], ["updated_at", "2014-11-20 00:13:54.491282"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.495014"], ["updated_at", "2014-11-20 00:13:54.495437"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.495079"], ["updated_at", "2014-11-20 00:13:54.496387"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.495118"], ["updated_at", "2014-11-20 00:13:54.497352"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.498014"], ["updated_at", "2014-11-20 00:13:54.498309"]]  (0.2ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.503050"], ["updated_at", "2014-11-20 00:13:54.503465"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.503116"], ["updated_at", "2014-11-20 00:13:54.504500"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.503157"], ["updated_at", "2014-11-20 00:13:54.505457"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.506144"], ["updated_at", "2014-11-20 00:13:54.506392"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:13:54.507281"], ["updated_at", "2014-11-20 00:13:54.507281"], ["value", 1]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:13:54.508278"], ["updated_at", "2014-11-20 00:13:54.508278"], ["value", 3]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.511233"], ["updated_at", "2014-11-20 00:13:54.511611"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.511293"], ["updated_at", "2014-11-20 00:13:54.512551"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.511337"], ["updated_at", "2014-11-20 00:13:54.513479"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.514148"], ["updated_at", "2014-11-20 00:13:54.514390"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:13:54.515231"], ["updated_at", "2014-11-20 00:13:54.515231"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:13:54.516159"], ["updated_at", "2014-11-20 00:13:54.516159"], ["value", 3]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.519899"], ["updated_at", "2014-11-20 00:13:54.520277"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.519960"], ["updated_at", "2014-11-20 00:13:54.521277"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.519999"], ["updated_at", "2014-11-20 00:13:54.522142"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:13:54.522798"], ["updated_at", "2014-11-20 00:13:54.523034"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:13:54.523943"], ["updated_at", "2014-11-20 00:13:54.523943"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:13:54.524923"], ["updated_at", "2014-11-20 00:13:54.524923"], ["value", 3]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.532559"], ["updated_at", "2014-11-20 00:13:54.533093"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.532631"], ["updated_at", "2014-11-20 00:13:54.534390"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.532675"], ["updated_at", "2014-11-20 00:13:54.535407"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.540591"], ["updated_at", "2014-11-20 00:13:54.540964"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.540646"], ["updated_at", "2014-11-20 00:13:54.541936"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.540684"], ["updated_at", "2014-11-20 00:13:54.542816"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.548372"], ["updated_at", "2014-11-20 00:13:54.548753"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.548428"], ["updated_at", "2014-11-20 00:13:54.549805"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.548466"], ["updated_at", "2014-11-20 00:13:54.550838"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.558742"], ["updated_at", "2014-11-20 00:13:54.559162"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.558806"], ["updated_at", "2014-11-20 00:13:54.560314"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.558847"], ["updated_at", "2014-11-20 00:13:54.561388"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.569458"], ["updated_at", "2014-11-20 00:13:54.569837"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.569514"], ["updated_at", "2014-11-20 00:13:54.570941"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.569552"], ["updated_at", "2014-11-20 00:13:54.571998"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.580644"], ["updated_at", "2014-11-20 00:13:54.581083"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.580711"], ["updated_at", "2014-11-20 00:13:54.582154"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.580751"], ["updated_at", "2014-11-20 00:13:54.583222"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.588736"], ["updated_at", "2014-11-20 00:13:54.589114"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.588791"], ["updated_at", "2014-11-20 00:13:54.590146"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.588835"], ["updated_at", "2014-11-20 00:13:54.591103"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.599308"], ["updated_at", "2014-11-20 00:13:54.599699"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.599369"], ["updated_at", "2014-11-20 00:13:54.600753"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.599409"], ["updated_at", "2014-11-20 00:13:54.601708"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.607233"], ["updated_at", "2014-11-20 00:13:54.607589"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.607287"], ["updated_at", "2014-11-20 00:13:54.608600"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.607326"], ["updated_at", "2014-11-20 00:13:54.609549"]]  (0.3ms) COMMIT  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.614759"], ["updated_at", "2014-11-20 00:13:54.615118"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.614815"], ["updated_at", "2014-11-20 00:13:54.616230"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.614854"], ["updated_at", "2014-11-20 00:13:54.617155"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.625289"], ["updated_at", "2014-11-20 00:13:54.625715"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.625355"], ["updated_at", "2014-11-20 00:13:54.626794"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.625395"], ["updated_at", "2014-11-20 00:13:54.627758"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.635130"], ["updated_at", "2014-11-20 00:13:54.635505"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.635187"], ["updated_at", "2014-11-20 00:13:54.636558"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.635224"], ["updated_at", "2014-11-20 00:13:54.637517"]]  (0.3ms) COMMIT  (0.5ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.643173"], ["updated_at", "2014-11-20 00:13:54.643566"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.643237"], ["updated_at", "2014-11-20 00:13:54.644578"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.643277"], ["updated_at", "2014-11-20 00:13:54.645552"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.651945"], ["updated_at", "2014-11-20 00:13:54.652326"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.652002"], ["updated_at", "2014-11-20 00:13:54.653336"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.652041"], ["updated_at", "2014-11-20 00:13:54.654274"]]  (0.3ms) COMMIT  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.661435"], ["updated_at", "2014-11-20 00:13:54.661810"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.661491"], ["updated_at", "2014-11-20 00:13:54.662983"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.661530"], ["updated_at", "2014-11-20 00:13:54.664040"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.671888"], ["updated_at", "2014-11-20 00:13:54.672270"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.671947"], ["updated_at", "2014-11-20 00:13:54.673230"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.671984"], ["updated_at", "2014-11-20 00:13:54.674149"]]  (0.4ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.680543"], ["updated_at", "2014-11-20 00:13:54.680993"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.680605"], ["updated_at", "2014-11-20 00:13:54.682219"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.680644"], ["updated_at", "2014-11-20 00:13:54.683214"]]  (0.3ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.691678"], ["updated_at", "2014-11-20 00:13:54.692111"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.691743"], ["updated_at", "2014-11-20 00:13:54.693211"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.691788"], ["updated_at", "2014-11-20 00:13:54.694257"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.697616"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.697616"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"215"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 215]] Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 215]] Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.9ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.709124"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.709124"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:13:54.716645"], ["extractor", "count"], ["graph_id", 216], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:13:54.716645"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"216"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 216]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 216]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.724476"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.724476"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"217"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 217]] Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 2ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.736290"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.736290"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"218"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 218]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.741693"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.741693"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"219"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 219]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.747180"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.747180"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"220"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 220]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (6.5ms) Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 220]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Completed 200 OK in 19ms (Views: 17.0ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.772107"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.772107"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/221/edit Completed 302 Found in 3ms (ActiveRecord: 0.6ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.2ms) Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.2ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.791203"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.791203"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:13:54.793276"], ["extractor", "count"], ["graph_id", 222], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:13:54.793276"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"72"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"222"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 222]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (72) [["graph_id", 222]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 72 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-20 00:13:54.798576"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/222/edit Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 72]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 222]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 222]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.804278"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.804278"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:13:54.806109"], ["extractor", "count"], ["graph_id", 223], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:13:54.806109"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 223]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"73", "_destroy"=>true}}}, "id"=>"223"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 223]]  (31.7ms) BEGIN Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (73) [["graph_id", 223]] SQL (0.2ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 73]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/223/edit Completed 302 Found in 36ms (ActiveRecord: 32.5ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 73 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.847392"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.847392"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:13:54.849250"], ["extractor", "count"], ["graph_id", 224], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:13:54.849250"]]  (0.4ms) COMMIT Prosperity::GraphLine Load (0.5ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 224]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"74", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"224"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 224]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (74) [["graph_id", 224]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 74 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-20 00:13:54.855124"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/224/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 224]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 224]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:13:54.859769"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:13:54.859769"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"225"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 225]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:13:54.864068"], ["extractor", "count"], ["graph_id", 225], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:13:54.864068"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/225/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 225]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 225]] SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.869399"], ["updated_at", "2014-11-20 00:13:54.869958"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:54.869486"], ["updated_at", "2014-11-20 00:13:54.871472"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.869527"], ["updated_at", "2014-11-20 00:13:54.872883"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.869565"], ["updated_at", "2014-11-20 00:13:54.874393"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.877878"], ["updated_at", "2014-11-20 00:13:54.878329"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:54.877941"], ["updated_at", "2014-11-20 00:13:54.879562"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.877979"], ["updated_at", "2014-11-20 00:13:54.880737"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.878015"], ["updated_at", "2014-11-20 00:13:54.881807"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.891440"], ["updated_at", "2014-11-20 00:13:54.892000"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:54.891498"], ["updated_at", "2014-11-20 00:13:54.893295"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.891536"], ["updated_at", "2014-11-20 00:13:54.894253"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.891573"], ["updated_at", "2014-11-20 00:13:54.895175"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.904693"], ["updated_at", "2014-11-20 00:13:54.905255"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:54.904790"], ["updated_at", "2014-11-20 00:13:54.906394"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.904830"], ["updated_at", "2014-11-20 00:13:54.907676"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.904866"], ["updated_at", "2014-11-20 00:13:54.908813"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.922178"], ["updated_at", "2014-11-20 00:13:54.922675"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:54.922318"], ["updated_at", "2014-11-20 00:13:54.923882"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.922355"], ["updated_at", "2014-11-20 00:13:54.924802"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.922390"], ["updated_at", "2014-11-20 00:13:54.926024"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.945145"], ["updated_at", "2014-11-20 00:13:54.945876"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:54.945228"], ["updated_at", "2014-11-20 00:13:54.947304"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.945330"], ["updated_at", "2014-11-20 00:13:54.948447"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.945378"], ["updated_at", "2014-11-20 00:13:54.949481"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.958601"], ["updated_at", "2014-11-20 00:13:54.959090"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:54.958657"], ["updated_at", "2014-11-20 00:13:54.960358"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.958694"], ["updated_at", "2014-11-20 00:13:54.961322"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.958729"], ["updated_at", "2014-11-20 00:13:54.962223"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.975135"], ["updated_at", "2014-11-20 00:13:54.975601"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:54.975199"], ["updated_at", "2014-11-20 00:13:54.976659"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.975238"], ["updated_at", "2014-11-20 00:13:54.977602"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.975275"], ["updated_at", "2014-11-20 00:13:54.978559"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:54.987871"], ["updated_at", "2014-11-20 00:13:54.988369"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:54.987959"], ["updated_at", "2014-11-20 00:13:54.989431"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:54.987998"], ["updated_at", "2014-11-20 00:13:54.990505"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:54.988035"], ["updated_at", "2014-11-20 00:13:54.991637"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:55.000527"], ["updated_at", "2014-11-20 00:13:55.001053"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:55.000629"], ["updated_at", "2014-11-20 00:13:55.002080"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:55.000679"], ["updated_at", "2014-11-20 00:13:55.003016"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:55.000715"], ["updated_at", "2014-11-20 00:13:55.003939"]]  (0.2ms) COMMIT  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:55.016809"], ["updated_at", "2014-11-20 00:13:55.017252"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:55.016865"], ["updated_at", "2014-11-20 00:13:55.018412"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:55.016902"], ["updated_at", "2014-11-20 00:13:55.019408"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:55.016937"], ["updated_at", "2014-11-20 00:13:55.020360"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:55.033981"], ["updated_at", "2014-11-20 00:13:55.034479"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:55.034049"], ["updated_at", "2014-11-20 00:13:55.035699"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:55.034088"], ["updated_at", "2014-11-20 00:13:55.036777"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:55.034149"], ["updated_at", "2014-11-20 00:13:55.037761"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:55.046647"], ["updated_at", "2014-11-20 00:13:55.047148"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:55.046706"], ["updated_at", "2014-11-20 00:13:55.048265"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:55.046745"], ["updated_at", "2014-11-20 00:13:55.049316"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:55.046781"], ["updated_at", "2014-11-20 00:13:55.050380"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:55.062130"], ["updated_at", "2014-11-20 00:13:55.062641"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:55.062194"], ["updated_at", "2014-11-20 00:13:55.063780"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:55.062234"], ["updated_at", "2014-11-20 00:13:55.064750"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:55.062271"], ["updated_at", "2014-11-20 00:13:55.065637"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:55.081299"], ["updated_at", "2014-11-20 00:13:55.081813"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:55.081369"], ["updated_at", "2014-11-20 00:13:55.082885"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:55.081435"], ["updated_at", "2014-11-20 00:13:55.084053"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:55.081472"], ["updated_at", "2014-11-20 00:13:55.085024"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:55.099712"], ["updated_at", "2014-11-20 00:13:55.100202"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:55.099777"], ["updated_at", "2014-11-20 00:13:55.101242"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:55.099815"], ["updated_at", "2014-11-20 00:13:55.102178"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:55.099851"], ["updated_at", "2014-11-20 00:13:55.103107"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:13:55.111214"], ["updated_at", "2014-11-20 00:13:55.111649"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:13:55.111271"], ["updated_at", "2014-11-20 00:13:55.112897"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:13:55.111310"], ["updated_at", "2014-11-20 00:13:55.113934"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:13:55.111346"], ["updated_at", "2014-11-20 00:13:55.114866"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:55.158647"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:55.158647"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 5ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:55.169188"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:55.169188"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"182"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 182]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 182]] Prosperity::Graph Load (0.6ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 25ms (Views: 23.3ms | ActiveRecord: 1.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:55.198612"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:55.198612"]]  (0.4ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:55.202367"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-20 00:13:55.202367"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/184/edit Completed 302 Found in 2ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:55.205714"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:55.205714"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:55.214198"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:55.214198"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.5ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 106ms (Views: 105.6ms | ActiveRecord: 0.5ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:55.324538"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:55.324538"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"187"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 187]]  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 187]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.9ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 187 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:13:55.331647"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:13:55.331647"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"188"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 188]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.5ms) Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 188]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 188]] Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.8ms)  (5.3ms) DROP TABLE "users"  (4.8ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.210690"], ["updated_at", "2014-11-20 00:22:17.226182"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.210870"], ["updated_at", "2014-11-20 00:22:17.229904"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.210914"], ["updated_at", "2014-11-20 00:22:17.231026"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.210953"], ["updated_at", "2014-11-20 00:22:17.231926"]]  (0.2ms) COMMIT  (1.0ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.243140"], ["updated_at", "2014-11-20 00:22:17.243680"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.243213"], ["updated_at", "2014-11-20 00:22:17.244696"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.243280"], ["updated_at", "2014-11-20 00:22:17.245727"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.243319"], ["updated_at", "2014-11-20 00:22:17.246758"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (2.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.259891"], ["updated_at", "2014-11-20 00:22:17.260547"]]  (2.1ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.260011"], ["updated_at", "2014-11-20 00:22:17.263722"]]  (6.7ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.260058"], ["updated_at", "2014-11-20 00:22:17.271588"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.260105"], ["updated_at", "2014-11-20 00:22:17.272766"]]  (0.2ms) COMMIT User Load (0.8ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.3ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.289341"], ["updated_at", "2014-11-20 00:22:17.289888"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.289416"], ["updated_at", "2014-11-20 00:22:17.291033"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.289458"], ["updated_at", "2014-11-20 00:22:17.291972"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.289515"], ["updated_at", "2014-11-20 00:22:17.292903"]]  (0.2ms) COMMIT  (0.5ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (1.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.303611"], ["updated_at", "2014-11-20 00:22:17.304322"]]  (0.8ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.303736"], ["updated_at", "2014-11-20 00:22:17.306261"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.303778"], ["updated_at", "2014-11-20 00:22:17.307279"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.303868"], ["updated_at", "2014-11-20 00:22:17.308184"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.317682"], ["updated_at", "2014-11-20 00:22:17.318233"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.317761"], ["updated_at", "2014-11-20 00:22:17.319389"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.317806"], ["updated_at", "2014-11-20 00:22:17.320413"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.317845"], ["updated_at", "2014-11-20 00:22:17.321371"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.330379"], ["updated_at", "2014-11-20 00:22:17.330891"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.330447"], ["updated_at", "2014-11-20 00:22:17.331854"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.330486"], ["updated_at", "2014-11-20 00:22:17.332717"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.330524"], ["updated_at", "2014-11-20 00:22:17.333573"]]  (0.2ms) COMMIT  (0.4ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.348482"], ["updated_at", "2014-11-20 00:22:17.349018"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.348563"], ["updated_at", "2014-11-20 00:22:17.350112"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.348603"], ["updated_at", "2014-11-20 00:22:17.350998"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.348639"], ["updated_at", "2014-11-20 00:22:17.351871"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.366343"], ["updated_at", "2014-11-20 00:22:17.366887"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.366422"], ["updated_at", "2014-11-20 00:22:17.367992"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.366462"], ["updated_at", "2014-11-20 00:22:17.368943"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.366500"], ["updated_at", "2014-11-20 00:22:17.369847"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.379525"], ["updated_at", "2014-11-20 00:22:17.380114"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.379605"], ["updated_at", "2014-11-20 00:22:17.381452"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.379644"], ["updated_at", "2014-11-20 00:22:17.382480"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.379688"], ["updated_at", "2014-11-20 00:22:17.383381"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.392773"], ["updated_at", "2014-11-20 00:22:17.393311"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.392859"], ["updated_at", "2014-11-20 00:22:17.394358"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.392899"], ["updated_at", "2014-11-20 00:22:17.395249"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.392937"], ["updated_at", "2014-11-20 00:22:17.396258"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.411336"], ["updated_at", "2014-11-20 00:22:17.411876"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.411410"], ["updated_at", "2014-11-20 00:22:17.413089"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.411450"], ["updated_at", "2014-11-20 00:22:17.414058"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.411488"], ["updated_at", "2014-11-20 00:22:17.415009"]]  (0.3ms) COMMIT  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.426475"], ["updated_at", "2014-11-20 00:22:17.427036"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.426562"], ["updated_at", "2014-11-20 00:22:17.428182"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.426605"], ["updated_at", "2014-11-20 00:22:17.429122"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.426645"], ["updated_at", "2014-11-20 00:22:17.429971"]]  (0.2ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.445566"], ["updated_at", "2014-11-20 00:22:17.446100"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.445646"], ["updated_at", "2014-11-20 00:22:17.447214"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.445705"], ["updated_at", "2014-11-20 00:22:17.448140"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.445742"], ["updated_at", "2014-11-20 00:22:17.449030"]]  (0.2ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.463943"], ["updated_at", "2014-11-20 00:22:17.464486"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.464019"], ["updated_at", "2014-11-20 00:22:17.465615"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.464066"], ["updated_at", "2014-11-20 00:22:17.466618"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.464104"], ["updated_at", "2014-11-20 00:22:17.467643"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.482183"], ["updated_at", "2014-11-20 00:22:17.482708"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.482254"], ["updated_at", "2014-11-20 00:22:17.483755"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.482312"], ["updated_at", "2014-11-20 00:22:17.484698"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.482351"], ["updated_at", "2014-11-20 00:22:17.485610"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.499923"], ["updated_at", "2014-11-20 00:22:17.500447"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:17.499996"], ["updated_at", "2014-11-20 00:22:17.501519"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.500041"], ["updated_at", "2014-11-20 00:22:17.502372"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.500079"], ["updated_at", "2014-11-20 00:22:17.503262"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.514171"], ["updated_at", "2014-11-20 00:22:17.514761"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.514280"], ["updated_at", "2014-11-20 00:22:17.516266"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.514324"], ["updated_at", "2014-11-20 00:22:17.517578"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.518455"], ["updated_at", "2014-11-20 00:22:17.518912"]]  (0.2ms) COMMIT  (2.5ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.526480"], ["updated_at", "2014-11-20 00:22:17.526986"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.526549"], ["updated_at", "2014-11-20 00:22:17.528105"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.526591"], ["updated_at", "2014-11-20 00:22:17.529072"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.529764"], ["updated_at", "2014-11-20 00:22:17.530073"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.534272"], ["updated_at", "2014-11-20 00:22:17.534755"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.534345"], ["updated_at", "2014-11-20 00:22:17.535982"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.534387"], ["updated_at", "2014-11-20 00:22:17.537072"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.537850"], ["updated_at", "2014-11-20 00:22:17.538252"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.542459"], ["updated_at", "2014-11-20 00:22:17.542951"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.542529"], ["updated_at", "2014-11-20 00:22:17.544052"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.542578"], ["updated_at", "2014-11-20 00:22:17.545000"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.545749"], ["updated_at", "2014-11-20 00:22:17.546099"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.550037"], ["updated_at", "2014-11-20 00:22:17.550563"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.550108"], ["updated_at", "2014-11-20 00:22:17.551778"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.550158"], ["updated_at", "2014-11-20 00:22:17.552918"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.553810"], ["updated_at", "2014-11-20 00:22:17.554210"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.558109"], ["updated_at", "2014-11-20 00:22:17.558578"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.558174"], ["updated_at", "2014-11-20 00:22:17.559696"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.558213"], ["updated_at", "2014-11-20 00:22:17.560645"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.561367"], ["updated_at", "2014-11-20 00:22:17.561688"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.565413"], ["updated_at", "2014-11-20 00:22:17.565926"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.565493"], ["updated_at", "2014-11-20 00:22:17.567095"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.565537"], ["updated_at", "2014-11-20 00:22:17.568135"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.568861"], ["updated_at", "2014-11-20 00:22:17.569185"]]  (0.2ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.573515"], ["updated_at", "2014-11-20 00:22:17.574019"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.573587"], ["updated_at", "2014-11-20 00:22:17.575187"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.573635"], ["updated_at", "2014-11-20 00:22:17.576101"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.576758"], ["updated_at", "2014-11-20 00:22:17.577046"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.581023"], ["updated_at", "2014-11-20 00:22:17.581497"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.581091"], ["updated_at", "2014-11-20 00:22:17.582527"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.581133"], ["updated_at", "2014-11-20 00:22:17.583530"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.584231"], ["updated_at", "2014-11-20 00:22:17.584514"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.588741"], ["updated_at", "2014-11-20 00:22:17.589381"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.588820"], ["updated_at", "2014-11-20 00:22:17.590598"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.588883"], ["updated_at", "2014-11-20 00:22:17.591634"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.592409"], ["updated_at", "2014-11-20 00:22:17.592724"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.607494"], ["updated_at", "2014-11-20 00:22:17.608025"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.607575"], ["updated_at", "2014-11-20 00:22:17.609202"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.607620"], ["updated_at", "2014-11-20 00:22:17.610274"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.611265"], ["updated_at", "2014-11-20 00:22:17.611578"]]  (0.3ms) COMMIT  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.617101"], ["updated_at", "2014-11-20 00:22:17.617877"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.617176"], ["updated_at", "2014-11-20 00:22:17.619344"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.617219"], ["updated_at", "2014-11-20 00:22:17.620718"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.621555"], ["updated_at", "2014-11-20 00:22:17.621872"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.626061"], ["updated_at", "2014-11-20 00:22:17.626543"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.626134"], ["updated_at", "2014-11-20 00:22:17.627732"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.626177"], ["updated_at", "2014-11-20 00:22:17.628759"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.629698"], ["updated_at", "2014-11-20 00:22:17.630019"]]  (0.2ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.636328"], ["updated_at", "2014-11-20 00:22:17.637237"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.636404"], ["updated_at", "2014-11-20 00:22:17.638846"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.636451"], ["updated_at", "2014-11-20 00:22:17.640119"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.641014"], ["updated_at", "2014-11-20 00:22:17.641499"]]  (0.2ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.646949"], ["updated_at", "2014-11-20 00:22:17.647820"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.647361"], ["updated_at", "2014-11-20 00:22:17.648997"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.647410"], ["updated_at", "2014-11-20 00:22:17.650153"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.651182"], ["updated_at", "2014-11-20 00:22:17.651475"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.656156"], ["updated_at", "2014-11-20 00:22:17.656671"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.656228"], ["updated_at", "2014-11-20 00:22:17.657883"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.656273"], ["updated_at", "2014-11-20 00:22:17.659099"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.660223"], ["updated_at", "2014-11-20 00:22:17.660766"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.664654"], ["updated_at", "2014-11-20 00:22:17.665144"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.664725"], ["updated_at", "2014-11-20 00:22:17.666219"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.664776"], ["updated_at", "2014-11-20 00:22:17.667247"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.668002"], ["updated_at", "2014-11-20 00:22:17.668360"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:22:17.669463"], ["updated_at", "2014-11-20 00:22:17.669463"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:22:17.670772"], ["updated_at", "2014-11-20 00:22:17.670772"], ["value", 3]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.674175"], ["updated_at", "2014-11-20 00:22:17.674664"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.674280"], ["updated_at", "2014-11-20 00:22:17.675785"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.674321"], ["updated_at", "2014-11-20 00:22:17.676784"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.677478"], ["updated_at", "2014-11-20 00:22:17.677764"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:22:17.678664"], ["updated_at", "2014-11-20 00:22:17.678664"], ["value", 1]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:22:17.679628"], ["updated_at", "2014-11-20 00:22:17.679628"], ["value", 3]]  (0.2ms) COMMIT  (0.4ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.684288"], ["updated_at", "2014-11-20 00:22:17.684757"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.684366"], ["updated_at", "2014-11-20 00:22:17.685800"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.684409"], ["updated_at", "2014-11-20 00:22:17.686746"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.687389"], ["updated_at", "2014-11-20 00:22:17.687717"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:22:17.688779"], ["updated_at", "2014-11-20 00:22:17.688779"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:22:17.690083"], ["updated_at", "2014-11-20 00:22:17.690083"], ["value", 3]]  (0.2ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.694775"], ["updated_at", "2014-11-20 00:22:17.695240"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.694843"], ["updated_at", "2014-11-20 00:22:17.696231"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.694885"], ["updated_at", "2014-11-20 00:22:17.697159"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.697919"], ["updated_at", "2014-11-20 00:22:17.698291"]]  (0.2ms) COMMIT  (0.4ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.701998"], ["updated_at", "2014-11-20 00:22:17.702456"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.702066"], ["updated_at", "2014-11-20 00:22:17.703592"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.702108"], ["updated_at", "2014-11-20 00:22:17.704616"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.705358"], ["updated_at", "2014-11-20 00:22:17.705656"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.709338"], ["updated_at", "2014-11-20 00:22:17.709851"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.709409"], ["updated_at", "2014-11-20 00:22:17.710952"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.709452"], ["updated_at", "2014-11-20 00:22:17.711939"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.712688"], ["updated_at", "2014-11-20 00:22:17.713005"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.720590"], ["updated_at", "2014-11-20 00:22:17.721144"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.720668"], ["updated_at", "2014-11-20 00:22:17.722328"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.720711"], ["updated_at", "2014-11-20 00:22:17.723347"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.724122"], ["updated_at", "2014-11-20 00:22:17.724454"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.731348"], ["updated_at", "2014-11-20 00:22:17.731939"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.731437"], ["updated_at", "2014-11-20 00:22:17.733352"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.731497"], ["updated_at", "2014-11-20 00:22:17.734603"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.735453"], ["updated_at", "2014-11-20 00:22:17.735819"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:17.738956"], ["updated_at", "2014-11-20 00:22:17.739469"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:17.739027"], ["updated_at", "2014-11-20 00:22:17.740672"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:17.739102"], ["updated_at", "2014-11-20 00:22:17.741699"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:17.742498"], ["updated_at", "2014-11-20 00:22:17.742809"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  (0.1ms) BEGIN SQL (0.6ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:17.752750"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:17.752750"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"189"} Prosperity::Dashboard Load (0.5ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 189]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.9ms) Prosperity::Graph Exists (1.2ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 189]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 189]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/dashboards/show.html.erb within layouts/prosperity/application (28.7ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/layouts/prosperity/base.html.erb (1.2ms) Completed 200 OK in 53ms (Views: 46.7ms | ActiveRecord: 4.1ms)  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:17.812775"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:17.812775"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.6ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 95ms (Views: 93.7ms | ActiveRecord: 0.6ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:17.911627"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:17.911627"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:17.915908"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-20 00:22:17.915908"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards/192/edit Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:17.920154"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:17.920154"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 14ms (Views: 8.9ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:17.938117"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:17.938117"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:17.945085"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:17.945085"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"195"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 195]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 195]] Prosperity::Graph Load (0.7ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 19ms (Views: 17.4ms | ActiveRecord: 1.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:17.968417"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:17.968417"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"196"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 196]]  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 196]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.7ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 196 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:17.980296"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:17.980296"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:17.981870"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:17.981870"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"197", "graph_id"=>"226"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 226]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 197]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 197 AND "prosperity_dashboard_graphs"."graph_id" = 226) LIMIT 1 SQL (0.3ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:17.994430"], ["dashboard_id", 197], ["graph_id", 226], ["updated_at", "2014-11-20 00:22:17.994430"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/197/edit Completed 302 Found in 11ms (ActiveRecord: 1.3ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 226]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 197]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:17.999982"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:17.999982"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:18.001555"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:18.001555"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"198", "graph_id"=>"227"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 227]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 198]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 198 AND "prosperity_dashboard_graphs"."graph_id" = 227) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:18.006446"], ["dashboard_id", 198], ["graph_id", 227], ["updated_at", "2014-11-20 00:22:18.006446"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/198/edit Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"198", "graph_id"=>"227"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 227]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 198]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 198 AND "prosperity_dashboard_graphs"."graph_id" = 227) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/198/edit Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:18.014273"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:18.014273"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:18.015925"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:18.015925"]]  (0.2ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 199 AND "prosperity_dashboard_graphs"."graph_id" = 228) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:18.018039"], ["dashboard_id", 199], ["graph_id", 228], ["updated_at", "2014-11-20 00:22:18.018039"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"199", "graph_id"=>"228"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 228]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 199]] Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 228 AND "prosperity_dashboard_graphs"."dashboard_id" = 199 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 48]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards/199/edit Completed 302 Found in 4ms (ActiveRecord: 1.1ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:18.026917"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:18.026917"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:18.028522"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:18.028522"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"200", "graph_id"=>"229"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 229]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 200]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 229 AND "prosperity_dashboard_graphs"."dashboard_id" = 200 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.3ms) Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 41ms (Views: 39.6ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:18.120095"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:18.120095"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"230"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 230]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (3.6ms) Prosperity::GraphLine Load (0.8ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 230]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 15.6ms | ActiveRecord: 2.1ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:18.160955"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:18.160955"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/231/edit Completed 302 Found in 3ms (ActiveRecord: 0.6ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (2.0ms) Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:18.175307"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:18.175307"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:22:18.177609"], ["extractor", "count"], ["graph_id", 232], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:22:18.177609"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 232]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"76", "_destroy"=>true}}}, "id"=>"232"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 232]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (76) [["graph_id", 232]] SQL (0.1ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 76]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/graphs/232/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 76 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:18.188247"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:18.188247"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"233"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 233]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:22:18.192912"], ["extractor", "count"], ["graph_id", 233], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:22:18.192912"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/233/edit Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 233]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 233]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:18.197661"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:18.197661"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:22:18.199584"], ["extractor", "count"], ["graph_id", 234], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:22:18.199584"]]  (0.2ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 234]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"78", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"234"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 234]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (78) [["graph_id", 234]] SQL (6.3ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 78 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-20 00:22:18.206005"]]  (0.5ms) COMMIT Redirected to http://test.host/prosperity/graphs/234/edit Completed 302 Found in 12ms (ActiveRecord: 7.4ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 234]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 234]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:18.218974"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:18.218974"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:22:18.221351"], ["extractor", "count"], ["graph_id", 235], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:22:18.221351"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"79"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"235"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 235]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (79) [["graph_id", 235]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 79 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-20 00:22:18.227286"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/graphs/235/edit Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 79]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 235]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 235]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:18.232902"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:18.232902"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"236"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 236]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 236]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:18.238257"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:18.238257"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:22:18.240291"], ["extractor", "count"], ["graph_id", 237], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:22:18.240291"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"237"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 237]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 237]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:18.246765"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:18.246765"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"238"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 238]] Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 2ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:18.259432"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:18.259432"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"239"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 239]] Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:18.265534"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:18.265534"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"240"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 240]] Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms) SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.282278"], ["updated_at", "2014-11-20 00:22:18.282968"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.282390"], ["updated_at", "2014-11-20 00:22:18.284224"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.282439"], ["updated_at", "2014-11-20 00:22:18.285284"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.296062"], ["updated_at", "2014-11-20 00:22:18.296681"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.296148"], ["updated_at", "2014-11-20 00:22:18.297992"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.296198"], ["updated_at", "2014-11-20 00:22:18.299127"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.310920"], ["updated_at", "2014-11-20 00:22:18.311481"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.311001"], ["updated_at", "2014-11-20 00:22:18.312699"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.311046"], ["updated_at", "2014-11-20 00:22:18.313754"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.322598"], ["updated_at", "2014-11-20 00:22:18.323109"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.322675"], ["updated_at", "2014-11-20 00:22:18.324170"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.322720"], ["updated_at", "2014-11-20 00:22:18.325098"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.330813"], ["updated_at", "2014-11-20 00:22:18.331302"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.330885"], ["updated_at", "2014-11-20 00:22:18.332367"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.330926"], ["updated_at", "2014-11-20 00:22:18.333351"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.339543"], ["updated_at", "2014-11-20 00:22:18.340039"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.339619"], ["updated_at", "2014-11-20 00:22:18.341263"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.339663"], ["updated_at", "2014-11-20 00:22:18.342265"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.348354"], ["updated_at", "2014-11-20 00:22:18.348872"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.348428"], ["updated_at", "2014-11-20 00:22:18.350033"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.348492"], ["updated_at", "2014-11-20 00:22:18.351065"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.360286"], ["updated_at", "2014-11-20 00:22:18.360808"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.360358"], ["updated_at", "2014-11-20 00:22:18.361915"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.360401"], ["updated_at", "2014-11-20 00:22:18.362882"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (2.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.374982"], ["updated_at", "2014-11-20 00:22:18.375584"]]  (4.8ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.375087"], ["updated_at", "2014-11-20 00:22:18.381695"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.375132"], ["updated_at", "2014-11-20 00:22:18.382907"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.389600"], ["updated_at", "2014-11-20 00:22:18.390145"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.389677"], ["updated_at", "2014-11-20 00:22:18.391468"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.389743"], ["updated_at", "2014-11-20 00:22:18.392516"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.398441"], ["updated_at", "2014-11-20 00:22:18.398970"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.398511"], ["updated_at", "2014-11-20 00:22:18.400167"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.398553"], ["updated_at", "2014-11-20 00:22:18.401304"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.410708"], ["updated_at", "2014-11-20 00:22:18.411206"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.410804"], ["updated_at", "2014-11-20 00:22:18.412283"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.410849"], ["updated_at", "2014-11-20 00:22:18.413300"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.419929"], ["updated_at", "2014-11-20 00:22:18.420441"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.420011"], ["updated_at", "2014-11-20 00:22:18.421605"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.420054"], ["updated_at", "2014-11-20 00:22:18.422644"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.431330"], ["updated_at", "2014-11-20 00:22:18.431861"]]  (3.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.431407"], ["updated_at", "2014-11-20 00:22:18.436196"]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.431451"], ["updated_at", "2014-11-20 00:22:18.438971"]]  (0.6ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.449084"], ["updated_at", "2014-11-20 00:22:18.449614"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.449166"], ["updated_at", "2014-11-20 00:22:18.450811"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.449212"], ["updated_at", "2014-11-20 00:22:18.451874"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.462421"], ["updated_at", "2014-11-20 00:22:18.463016"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.462519"], ["updated_at", "2014-11-20 00:22:18.464444"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.462581"], ["updated_at", "2014-11-20 00:22:18.465621"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.468667"], ["updated_at", "2014-11-20 00:22:18.469172"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.468737"], ["updated_at", "2014-11-20 00:22:18.470402"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.468793"], ["updated_at", "2014-11-20 00:22:18.471531"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:18.477249"], ["updated_at", "2014-11-20 00:22:18.477718"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:18.477313"], ["updated_at", "2014-11-20 00:22:18.478797"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:18.477354"], ["updated_at", "2014-11-20 00:22:18.479782"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (3.2ms) DROP TABLE "users"  (5.1ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (2.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.512710"], ["updated_at", "2014-11-20 00:22:52.524398"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.512875"], ["updated_at", "2014-11-20 00:22:52.530180"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.512919"], ["updated_at", "2014-11-20 00:22:52.531426"]]  (0.2ms) COMMIT  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.538748"], ["updated_at", "2014-11-20 00:22:52.539253"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.538839"], ["updated_at", "2014-11-20 00:22:52.540301"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.538878"], ["updated_at", "2014-11-20 00:22:52.541239"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.547459"], ["updated_at", "2014-11-20 00:22:52.547969"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.547535"], ["updated_at", "2014-11-20 00:22:52.549064"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.547579"], ["updated_at", "2014-11-20 00:22:52.549952"]]  (0.2ms) COMMIT  (0.5ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.561608"], ["updated_at", "2014-11-20 00:22:52.562184"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.561711"], ["updated_at", "2014-11-20 00:22:52.563998"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.561773"], ["updated_at", "2014-11-20 00:22:52.565341"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.576121"], ["updated_at", "2014-11-20 00:22:52.576626"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.576197"], ["updated_at", "2014-11-20 00:22:52.577904"]]  (0.9ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.576245"], ["updated_at", "2014-11-20 00:22:52.579663"]]  (0.2ms) COMMIT  (0.4ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.590177"], ["updated_at", "2014-11-20 00:22:52.590678"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.590255"], ["updated_at", "2014-11-20 00:22:52.591776"]]  (0.6ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.590298"], ["updated_at", "2014-11-20 00:22:52.593299"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.599352"], ["updated_at", "2014-11-20 00:22:52.599863"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.599419"], ["updated_at", "2014-11-20 00:22:52.600957"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.599460"], ["updated_at", "2014-11-20 00:22:52.601920"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.608433"], ["updated_at", "2014-11-20 00:22:52.608968"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.608499"], ["updated_at", "2014-11-20 00:22:52.610199"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.608540"], ["updated_at", "2014-11-20 00:22:52.611198"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.623787"], ["updated_at", "2014-11-20 00:22:52.624304"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.623875"], ["updated_at", "2014-11-20 00:22:52.625398"]]  (0.8ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.623920"], ["updated_at", "2014-11-20 00:22:52.627025"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.633362"], ["updated_at", "2014-11-20 00:22:52.633868"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.633429"], ["updated_at", "2014-11-20 00:22:52.634945"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.633512"], ["updated_at", "2014-11-20 00:22:52.635891"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.641970"], ["updated_at", "2014-11-20 00:22:52.642463"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.642040"], ["updated_at", "2014-11-20 00:22:52.643760"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.642097"], ["updated_at", "2014-11-20 00:22:52.644962"]]  (0.9ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (1.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.657000"], ["updated_at", "2014-11-20 00:22:52.657602"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.657111"], ["updated_at", "2014-11-20 00:22:52.658867"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.657163"], ["updated_at", "2014-11-20 00:22:52.659976"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.670760"], ["updated_at", "2014-11-20 00:22:52.671361"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.670832"], ["updated_at", "2014-11-20 00:22:52.672585"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.670874"], ["updated_at", "2014-11-20 00:22:52.673925"]]  (0.3ms) COMMIT SQL (0.8ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.678033"], ["updated_at", "2014-11-20 00:22:52.678608"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.678131"], ["updated_at", "2014-11-20 00:22:52.679995"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.678183"], ["updated_at", "2014-11-20 00:22:52.681139"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.4ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.689398"], ["updated_at", "2014-11-20 00:22:52.689913"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.689482"], ["updated_at", "2014-11-20 00:22:52.691142"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.689525"], ["updated_at", "2014-11-20 00:22:52.692462"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.700216"], ["updated_at", "2014-11-20 00:22:52.700742"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.700313"], ["updated_at", "2014-11-20 00:22:52.701949"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.700361"], ["updated_at", "2014-11-20 00:22:52.703106"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.716548"], ["updated_at", "2014-11-20 00:22:52.717263"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.716660"], ["updated_at", "2014-11-20 00:22:52.718857"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.716735"], ["updated_at", "2014-11-20 00:22:52.720544"]]  (1.7ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (2.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.734350"], ["updated_at", "2014-11-20 00:22:52.734868"]]  (1.7ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.734429"], ["updated_at", "2014-11-20 00:22:52.737590"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.734470"], ["updated_at", "2014-11-20 00:22:52.738772"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.750358"], ["updated_at", "2014-11-20 00:22:52.750942"]]  (0.2ms) COMMIT  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.750454"], ["updated_at", "2014-11-20 00:22:52.752461"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.750502"], ["updated_at", "2014-11-20 00:22:52.753821"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.754710"], ["updated_at", "2014-11-20 00:22:52.755188"]]  (0.2ms) COMMIT  (1.5ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.760914"], ["updated_at", "2014-11-20 00:22:52.761445"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.760985"], ["updated_at", "2014-11-20 00:22:52.762661"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.761028"], ["updated_at", "2014-11-20 00:22:52.763926"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.764812"], ["updated_at", "2014-11-20 00:22:52.765311"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.769967"], ["updated_at", "2014-11-20 00:22:52.770646"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.770136"], ["updated_at", "2014-11-20 00:22:52.772154"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.770188"], ["updated_at", "2014-11-20 00:22:52.773273"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.774123"], ["updated_at", "2014-11-20 00:22:52.774460"]]  (0.2ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.780126"], ["updated_at", "2014-11-20 00:22:52.780900"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.780252"], ["updated_at", "2014-11-20 00:22:52.782267"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.780342"], ["updated_at", "2014-11-20 00:22:52.783381"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.784215"], ["updated_at", "2014-11-20 00:22:52.784573"]]  (0.2ms) COMMIT User Load (0.3ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.789522"], ["updated_at", "2014-11-20 00:22:52.790107"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.789613"], ["updated_at", "2014-11-20 00:22:52.792689"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.789661"], ["updated_at", "2014-11-20 00:22:52.793876"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.794823"], ["updated_at", "2014-11-20 00:22:52.795189"]]  (0.2ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.800080"], ["updated_at", "2014-11-20 00:22:52.800775"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.800179"], ["updated_at", "2014-11-20 00:22:52.803641"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.800237"], ["updated_at", "2014-11-20 00:22:52.805085"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.806013"], ["updated_at", "2014-11-20 00:22:52.806388"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.810566"], ["updated_at", "2014-11-20 00:22:52.811276"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.810689"], ["updated_at", "2014-11-20 00:22:52.812668"]]  (0.8ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.810780"], ["updated_at", "2014-11-20 00:22:52.814795"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.815745"], ["updated_at", "2014-11-20 00:22:52.816210"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.820692"], ["updated_at", "2014-11-20 00:22:52.821188"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.820781"], ["updated_at", "2014-11-20 00:22:52.822759"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.820824"], ["updated_at", "2014-11-20 00:22:52.824086"]]  (0.6ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.825324"], ["updated_at", "2014-11-20 00:22:52.825678"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.830782"], ["updated_at", "2014-11-20 00:22:52.831456"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.830872"], ["updated_at", "2014-11-20 00:22:52.833149"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.830915"], ["updated_at", "2014-11-20 00:22:52.834447"]]  (0.8ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.835955"], ["updated_at", "2014-11-20 00:22:52.836358"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.840466"], ["updated_at", "2014-11-20 00:22:52.840996"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.840546"], ["updated_at", "2014-11-20 00:22:52.843006"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.840588"], ["updated_at", "2014-11-20 00:22:52.844901"]]  (1.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.847027"], ["updated_at", "2014-11-20 00:22:52.847555"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.852141"], ["updated_at", "2014-11-20 00:22:52.852666"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.852211"], ["updated_at", "2014-11-20 00:22:52.854048"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.852253"], ["updated_at", "2014-11-20 00:22:52.855345"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.857640"], ["updated_at", "2014-11-20 00:22:52.858015"]]  (0.2ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.862640"], ["updated_at", "2014-11-20 00:22:52.863322"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.862756"], ["updated_at", "2014-11-20 00:22:52.864824"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.862911"], ["updated_at", "2014-11-20 00:22:52.866150"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.868296"], ["updated_at", "2014-11-20 00:22:52.868731"]]  (0.3ms) COMMIT  (0.4ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.874579"], ["updated_at", "2014-11-20 00:22:52.875134"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.874674"], ["updated_at", "2014-11-20 00:22:52.876934"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.874718"], ["updated_at", "2014-11-20 00:22:52.878405"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.879602"], ["updated_at", "2014-11-20 00:22:52.879985"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:22:52.881413"], ["updated_at", "2014-11-20 00:22:52.881413"], ["value", 1]]  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:22:52.883199"], ["updated_at", "2014-11-20 00:22:52.883199"], ["value", 3]]  (0.3ms) COMMIT  (0.4ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.8ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.890570"], ["updated_at", "2014-11-20 00:22:52.891644"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.890990"], ["updated_at", "2014-11-20 00:22:52.893607"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.891057"], ["updated_at", "2014-11-20 00:22:52.894949"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.895834"], ["updated_at", "2014-11-20 00:22:52.896236"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:22:52.897322"], ["updated_at", "2014-11-20 00:22:52.897322"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:22:52.899053"], ["updated_at", "2014-11-20 00:22:52.899053"], ["value", 3]]  (0.7ms) COMMIT SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.904605"], ["updated_at", "2014-11-20 00:22:52.905474"]]  (3.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.904712"], ["updated_at", "2014-11-20 00:22:52.910630"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.904876"], ["updated_at", "2014-11-20 00:22:52.912356"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.913709"], ["updated_at", "2014-11-20 00:22:52.914258"]]  (0.9ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:22:52.916565"], ["updated_at", "2014-11-20 00:22:52.916565"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:22:52.918184"], ["updated_at", "2014-11-20 00:22:52.918184"], ["value", 3]]  (0.6ms) COMMIT  (0.5ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.925006"], ["updated_at", "2014-11-20 00:22:52.925695"]]  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.925103"], ["updated_at", "2014-11-20 00:22:52.927625"]]  (0.7ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.925160"], ["updated_at", "2014-11-20 00:22:52.929325"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.930222"], ["updated_at", "2014-11-20 00:22:52.930761"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.934989"], ["updated_at", "2014-11-20 00:22:52.935555"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.935072"], ["updated_at", "2014-11-20 00:22:52.937187"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.935127"], ["updated_at", "2014-11-20 00:22:52.938293"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.940402"], ["updated_at", "2014-11-20 00:22:52.940781"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.944511"], ["updated_at", "2014-11-20 00:22:52.945002"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.944598"], ["updated_at", "2014-11-20 00:22:52.946085"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.944640"], ["updated_at", "2014-11-20 00:22:52.947062"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.948300"], ["updated_at", "2014-11-20 00:22:52.948802"]]  (1.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.957833"], ["updated_at", "2014-11-20 00:22:52.958789"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.957902"], ["updated_at", "2014-11-20 00:22:52.960556"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.957943"], ["updated_at", "2014-11-20 00:22:52.962245"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.963110"], ["updated_at", "2014-11-20 00:22:52.963467"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.8ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.972998"], ["updated_at", "2014-11-20 00:22:52.973764"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.973095"], ["updated_at", "2014-11-20 00:22:52.975191"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.973148"], ["updated_at", "2014-11-20 00:22:52.976476"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:52.977315"], ["updated_at", "2014-11-20 00:22:52.977686"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (1.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:52.995033"], ["updated_at", "2014-11-20 00:22:52.995830"]]  (1.6ms) COMMIT  (0.4ms) BEGIN SQL (0.7ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:52.995152"], ["updated_at", "2014-11-20 00:22:53.000752"]]  (2.5ms) COMMIT  (1.6ms) BEGIN SQL (2.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:52.995213"], ["updated_at", "2014-11-20 00:22:53.007389"]]  (1.1ms) COMMIT  (0.4ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:53.011752"], ["updated_at", "2014-11-20 00:22:53.012731"]]  (0.3ms) COMMIT  (1.0ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (1.4ms) DELETE FROM "users"  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.026209"], ["updated_at", "2014-11-20 00:22:53.027114"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.026354"], ["updated_at", "2014-11-20 00:22:53.029393"]]  (0.3ms) COMMIT  (1.4ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.026424"], ["updated_at", "2014-11-20 00:22:53.032666"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:53.033710"], ["updated_at", "2014-11-20 00:22:53.034411"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.039565"], ["updated_at", "2014-11-20 00:22:53.040393"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.039655"], ["updated_at", "2014-11-20 00:22:53.041945"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.039696"], ["updated_at", "2014-11-20 00:22:53.043222"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:53.044286"], ["updated_at", "2014-11-20 00:22:53.044603"]]  (0.4ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.9ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.050592"], ["updated_at", "2014-11-20 00:22:53.051108"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.050682"], ["updated_at", "2014-11-20 00:22:53.052414"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.050721"], ["updated_at", "2014-11-20 00:22:53.053853"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:53.054702"], ["updated_at", "2014-11-20 00:22:53.055166"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.060745"], ["updated_at", "2014-11-20 00:22:53.061292"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.060865"], ["updated_at", "2014-11-20 00:22:53.062819"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.060908"], ["updated_at", "2014-11-20 00:22:53.064476"]]  (1.1ms) COMMIT  (0.4ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:22:53.066400"], ["updated_at", "2014-11-20 00:22:53.067173"]]  (0.2ms) COMMIT  (0.4ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.082326"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:53.082326"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.089911"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.089911"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"201", "graph_id"=>"241"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 241]] Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 201]] Prosperity::DashboardGraph Load (0.5ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 241 AND "prosperity_dashboard_graphs"."dashboard_id" = 201 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 8ms  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.104471"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.104471"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.106058"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:53.106058"]]  (0.2ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 202 AND "prosperity_dashboard_graphs"."graph_id" = 242) LIMIT 1 SQL (0.3ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.124219"], ["dashboard_id", 202], ["graph_id", 242], ["updated_at", "2014-11-20 00:22:53.124219"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"202", "graph_id"=>"242"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 242]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 202]] Prosperity::DashboardGraph Load (0.4ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 242 AND "prosperity_dashboard_graphs"."dashboard_id" = 202 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 49]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/202/edit Completed 302 Found in 4ms (ActiveRecord: 1.2ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.134231"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:53.134231"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.135875"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.135875"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"203", "graph_id"=>"243"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 243]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 203]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 203 AND "prosperity_dashboard_graphs"."graph_id" = 243) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.140472"], ["dashboard_id", 203], ["graph_id", 243], ["updated_at", "2014-11-20 00:22:53.140472"]]  (1.0ms) COMMIT Redirected to http://test.host/prosperity/dashboards/203/edit Completed 302 Found in 5ms (ActiveRecord: 1.9ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"203", "graph_id"=>"243"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 243]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 203]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 203 AND "prosperity_dashboard_graphs"."graph_id" = 243) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/203/edit Completed 302 Found in 8ms (ActiveRecord: 0.8ms)  (0.3ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.154094"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:53.154094"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.155679"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.155679"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"204", "graph_id"=>"244"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 244]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 204]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 204 AND "prosperity_dashboard_graphs"."graph_id" = 244) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.160109"], ["dashboard_id", 204], ["graph_id", 244], ["updated_at", "2014-11-20 00:22:53.160109"]]  (1.1ms) COMMIT Redirected to http://test.host/prosperity/dashboards/204/edit Completed 302 Found in 5ms (ActiveRecord: 2.0ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 244]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 204]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.173752"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:53.173752"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"205"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 205]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.9ms) Prosperity::Graph Exists (0.4ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 205]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 205]] Completed 200 OK in 39ms (Views: 38.0ms | ActiveRecord: 0.8ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.219244"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:53.219244"]]  (4.8ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"206"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 206]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 206]] Prosperity::Graph Load (0.6ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 19ms (Views: 17.6ms | ActiveRecord: 1.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.247456"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:53.247456"]]  (22.2ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.284003"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:53.284003"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.5ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 106ms (Views: 105.2ms | ActiveRecord: 0.5ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.393804"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:53.393804"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.403179"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:53.403179"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.407125"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-20 00:22:53.407125"]]  (0.6ms) COMMIT Redirected to http://test.host/prosperity/dashboards/211/edit Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:22:53.412364"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:22:53.412364"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"212"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 212]]  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 212]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.6ms) Prosperity::Dashboard Load (0.4ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 212 LIMIT 1 Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (2.7ms) Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.437896"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.437896"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:22:53.446454"], ["extractor", "count"], ["graph_id", 245], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:22:53.446454"]]  (1.0ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"81"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"245"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 245]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (81) [["graph_id", 245]] SQL (0.3ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 81 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-20 00:22:53.453825"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/graphs/245/edit Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 81]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 245]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 245]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.460158"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.460158"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:22:53.463133"], ["extractor", "count"], ["graph_id", 246], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:22:53.463133"]]  (0.4ms) COMMIT Prosperity::GraphLine Load (0.4ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 246]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"82", "_destroy"=>true}}}, "id"=>"246"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 246]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (82) [["graph_id", 246]] SQL (0.2ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 82]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/246/edit Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 82 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.476736"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.476736"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"247"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 247]]  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:22:53.482566"], ["extractor", "count"], ["graph_id", 247], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:22:53.482566"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/graphs/247/edit Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 247]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 247]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.487412"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.487412"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:22:53.489291"], ["extractor", "count"], ["graph_id", 248], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:22:53.489291"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 248]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"84", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"248"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 248]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (84) [["graph_id", 248]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 84 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-20 00:22:53.495667"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/graphs/248/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 248]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 248]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.501024"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.501024"]]  (1.5ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"249"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 249]] Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.510884"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.510884"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"250"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 250]] Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 2ms (Views: 1.5ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.520183"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.520183"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"251"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 251]] Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.526816"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.526816"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:22:53.528840"], ["extractor", "count"], ["graph_id", 252], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:22:53.528840"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"252"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 252]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 252]] Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.536298"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.536298"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"253"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 253]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 253]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.3ms) Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.553865"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.553865"]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/graphs/254/edit Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:22:53.557774"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:22:53.557774"]]  (11.1ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"255"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 255]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.4ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 255]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.5ms) Completed 200 OK in 52ms (Views: 49.4ms | ActiveRecord: 0.4ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.4ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.4ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.4ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.2ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.5ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms) SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.703517"], ["updated_at", "2014-11-20 00:22:53.704219"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.703622"], ["updated_at", "2014-11-20 00:22:53.705436"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.703700"], ["updated_at", "2014-11-20 00:22:53.707052"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.703738"], ["updated_at", "2014-11-20 00:22:53.708364"]]  (0.6ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.712372"], ["updated_at", "2014-11-20 00:22:53.712926"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.712446"], ["updated_at", "2014-11-20 00:22:53.714240"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.712486"], ["updated_at", "2014-11-20 00:22:53.715777"]]  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.712558"], ["updated_at", "2014-11-20 00:22:53.717655"]]  (0.4ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.726974"], ["updated_at", "2014-11-20 00:22:53.727527"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.727049"], ["updated_at", "2014-11-20 00:22:53.730019"]]  (3.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.727132"], ["updated_at", "2014-11-20 00:22:53.734728"]]  (3.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.727168"], ["updated_at", "2014-11-20 00:22:53.739106"]]  (9.0ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.758827"], ["updated_at", "2014-11-20 00:22:53.759538"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.758932"], ["updated_at", "2014-11-20 00:22:53.760728"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.758997"], ["updated_at", "2014-11-20 00:22:53.761676"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.759111"], ["updated_at", "2014-11-20 00:22:53.762539"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.773035"], ["updated_at", "2014-11-20 00:22:53.773596"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.773112"], ["updated_at", "2014-11-20 00:22:53.774799"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.773166"], ["updated_at", "2014-11-20 00:22:53.775985"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.773203"], ["updated_at", "2014-11-20 00:22:53.777307"]]  (0.7ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.789903"], ["updated_at", "2014-11-20 00:22:53.790565"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.789997"], ["updated_at", "2014-11-20 00:22:53.791741"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.790037"], ["updated_at", "2014-11-20 00:22:53.792655"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.790117"], ["updated_at", "2014-11-20 00:22:53.793696"]]  (0.2ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (1.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.810523"], ["updated_at", "2014-11-20 00:22:53.811079"]]  (2.9ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.810596"], ["updated_at", "2014-11-20 00:22:53.815068"]]  (11.7ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.810680"], ["updated_at", "2014-11-20 00:22:53.828018"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.810720"], ["updated_at", "2014-11-20 00:22:53.829333"]]  (0.4ms) COMMIT User Load (0.3ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.3ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.844691"], ["updated_at", "2014-11-20 00:22:53.845238"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.844771"], ["updated_at", "2014-11-20 00:22:53.846381"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.844840"], ["updated_at", "2014-11-20 00:22:53.847608"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.844876"], ["updated_at", "2014-11-20 00:22:53.848596"]]  (0.4ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.866086"], ["updated_at", "2014-11-20 00:22:53.866794"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.866193"], ["updated_at", "2014-11-20 00:22:53.868022"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.866232"], ["updated_at", "2014-11-20 00:22:53.869229"]]  (0.7ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.866315"], ["updated_at", "2014-11-20 00:22:53.870823"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.880191"], ["updated_at", "2014-11-20 00:22:53.880742"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.880266"], ["updated_at", "2014-11-20 00:22:53.881993"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.880304"], ["updated_at", "2014-11-20 00:22:53.883084"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.880359"], ["updated_at", "2014-11-20 00:22:53.884031"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.894175"], ["updated_at", "2014-11-20 00:22:53.894705"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.894254"], ["updated_at", "2014-11-20 00:22:53.895827"]]  (0.7ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.894293"], ["updated_at", "2014-11-20 00:22:53.897391"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.894344"], ["updated_at", "2014-11-20 00:22:53.898928"]]  (0.6ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.916196"], ["updated_at", "2014-11-20 00:22:53.917096"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.916360"], ["updated_at", "2014-11-20 00:22:53.918420"]]  (1.0ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.916435"], ["updated_at", "2014-11-20 00:22:53.921084"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.916504"], ["updated_at", "2014-11-20 00:22:53.922341"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.934661"], ["updated_at", "2014-11-20 00:22:53.935188"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.934741"], ["updated_at", "2014-11-20 00:22:53.936288"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.934781"], ["updated_at", "2014-11-20 00:22:53.937226"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.934817"], ["updated_at", "2014-11-20 00:22:53.938217"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.948157"], ["updated_at", "2014-11-20 00:22:53.948842"]]  (0.7ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.948272"], ["updated_at", "2014-11-20 00:22:53.950653"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.948313"], ["updated_at", "2014-11-20 00:22:53.951783"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.948350"], ["updated_at", "2014-11-20 00:22:53.952875"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.967699"], ["updated_at", "2014-11-20 00:22:53.968695"]]  (0.7ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.967829"], ["updated_at", "2014-11-20 00:22:53.970434"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.967940"], ["updated_at", "2014-11-20 00:22:53.971457"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.968010"], ["updated_at", "2014-11-20 00:22:53.972378"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (1.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:53.989537"], ["updated_at", "2014-11-20 00:22:53.990347"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:53.989676"], ["updated_at", "2014-11-20 00:22:53.991806"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:53.989719"], ["updated_at", "2014-11-20 00:22:53.992908"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:53.989756"], ["updated_at", "2014-11-20 00:22:53.993896"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:22:54.010508"], ["updated_at", "2014-11-20 00:22:54.011030"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:22:54.010580"], ["updated_at", "2014-11-20 00:22:54.012141"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:22:54.010620"], ["updated_at", "2014-11-20 00:22:54.013049"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:22:54.010679"], ["updated_at", "2014-11-20 00:22:54.013890"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (3.1ms) DROP TABLE "users"  (4.6ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.572070"], ["updated_at", "2014-11-20 00:24:40.581597"]]  (1.9ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.572230"], ["updated_at", "2014-11-20 00:24:40.587436"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.572281"], ["updated_at", "2014-11-20 00:24:40.588885"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.572347"], ["updated_at", "2014-11-20 00:24:40.589897"]]  (0.2ms) COMMIT  (0.4ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.599495"], ["updated_at", "2014-11-20 00:24:40.600007"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.599573"], ["updated_at", "2014-11-20 00:24:40.601155"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.599610"], ["updated_at", "2014-11-20 00:24:40.602206"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.599645"], ["updated_at", "2014-11-20 00:24:40.603149"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.611721"], ["updated_at", "2014-11-20 00:24:40.612180"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.611795"], ["updated_at", "2014-11-20 00:24:40.613250"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.611837"], ["updated_at", "2014-11-20 00:24:40.614188"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.611873"], ["updated_at", "2014-11-20 00:24:40.615054"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.629964"], ["updated_at", "2014-11-20 00:24:40.630454"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.630025"], ["updated_at", "2014-11-20 00:24:40.631462"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.630072"], ["updated_at", "2014-11-20 00:24:40.632331"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.630108"], ["updated_at", "2014-11-20 00:24:40.633191"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.648830"], ["updated_at", "2014-11-20 00:24:40.649331"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.648894"], ["updated_at", "2014-11-20 00:24:40.650351"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.648931"], ["updated_at", "2014-11-20 00:24:40.651252"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.648971"], ["updated_at", "2014-11-20 00:24:40.652302"]]  (0.3ms) COMMIT User Load (0.3ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.3ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.670326"], ["updated_at", "2014-11-20 00:24:40.670964"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.670436"], ["updated_at", "2014-11-20 00:24:40.672348"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.670499"], ["updated_at", "2014-11-20 00:24:40.673315"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.670559"], ["updated_at", "2014-11-20 00:24:40.674291"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.688790"], ["updated_at", "2014-11-20 00:24:40.689307"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.688853"], ["updated_at", "2014-11-20 00:24:40.690493"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.688915"], ["updated_at", "2014-11-20 00:24:40.691524"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.688953"], ["updated_at", "2014-11-20 00:24:40.692515"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.700904"], ["updated_at", "2014-11-20 00:24:40.701394"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.700968"], ["updated_at", "2014-11-20 00:24:40.702469"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.701034"], ["updated_at", "2014-11-20 00:24:40.703525"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.701074"], ["updated_at", "2014-11-20 00:24:40.704686"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.713533"], ["updated_at", "2014-11-20 00:24:40.713973"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.713590"], ["updated_at", "2014-11-20 00:24:40.715089"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.713632"], ["updated_at", "2014-11-20 00:24:40.716038"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.713684"], ["updated_at", "2014-11-20 00:24:40.717038"]]  (0.3ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.731770"], ["updated_at", "2014-11-20 00:24:40.732241"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.731833"], ["updated_at", "2014-11-20 00:24:40.733456"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.731871"], ["updated_at", "2014-11-20 00:24:40.734537"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.731907"], ["updated_at", "2014-11-20 00:24:40.735487"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.750555"], ["updated_at", "2014-11-20 00:24:40.751105"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.750627"], ["updated_at", "2014-11-20 00:24:40.752406"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.750667"], ["updated_at", "2014-11-20 00:24:40.753470"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.750725"], ["updated_at", "2014-11-20 00:24:40.754497"]]  (0.4ms) COMMIT  (0.4ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.771778"], ["updated_at", "2014-11-20 00:24:40.772314"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.771846"], ["updated_at", "2014-11-20 00:24:40.773517"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.771884"], ["updated_at", "2014-11-20 00:24:40.774592"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.771920"], ["updated_at", "2014-11-20 00:24:40.775597"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.784284"], ["updated_at", "2014-11-20 00:24:40.784725"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.784342"], ["updated_at", "2014-11-20 00:24:40.785932"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.784378"], ["updated_at", "2014-11-20 00:24:40.786949"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.784412"], ["updated_at", "2014-11-20 00:24:40.787984"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.796484"], ["updated_at", "2014-11-20 00:24:40.796934"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.796549"], ["updated_at", "2014-11-20 00:24:40.797931"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.796589"], ["updated_at", "2014-11-20 00:24:40.798851"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.796629"], ["updated_at", "2014-11-20 00:24:40.799743"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.813907"], ["updated_at", "2014-11-20 00:24:40.814400"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.813969"], ["updated_at", "2014-11-20 00:24:40.815455"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.814028"], ["updated_at", "2014-11-20 00:24:40.816373"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.814065"], ["updated_at", "2014-11-20 00:24:40.817266"]]  (0.2ms) COMMIT  (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.826696"], ["updated_at", "2014-11-20 00:24:40.827188"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.826757"], ["updated_at", "2014-11-20 00:24:40.828279"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.826813"], ["updated_at", "2014-11-20 00:24:40.829240"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.826851"], ["updated_at", "2014-11-20 00:24:40.830206"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.839976"], ["updated_at", "2014-11-20 00:24:40.840478"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:40.840038"], ["updated_at", "2014-11-20 00:24:40.841640"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.840077"], ["updated_at", "2014-11-20 00:24:40.842665"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.840115"], ["updated_at", "2014-11-20 00:24:40.843666"]]  (0.3ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:40.855884"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:40.855884"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:40.862070"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:40.862070"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"213", "graph_id"=>"256"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 256]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 213]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 213 AND "prosperity_dashboard_graphs"."graph_id" = 256) LIMIT 1 SQL (0.3ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:40.883691"], ["dashboard_id", 213], ["graph_id", 256], ["updated_at", "2014-11-20 00:24:40.883691"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/213/edit Completed 302 Found in 19ms (ActiveRecord: 1.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 256]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 213]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:40.891043"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:40.891043"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:40.892869"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:40.892869"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"214", "graph_id"=>"257"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 257]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 214]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 214 AND "prosperity_dashboard_graphs"."graph_id" = 257) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:40.897223"], ["dashboard_id", 214], ["graph_id", 257], ["updated_at", "2014-11-20 00:24:40.897223"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/214/edit Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"214", "graph_id"=>"257"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 257]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 214]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 214 AND "prosperity_dashboard_graphs"."graph_id" = 257) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/214/edit Completed 302 Found in 7ms (ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:40.908379"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:40.908379"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:40.910633"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:40.910633"]]  (0.3ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 215 AND "prosperity_dashboard_graphs"."graph_id" = 258) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:40.913417"], ["dashboard_id", 215], ["graph_id", 258], ["updated_at", "2014-11-20 00:24:40.913417"]]  (0.4ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"215", "graph_id"=>"258"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 258]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 215]] Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 258 AND "prosperity_dashboard_graphs"."dashboard_id" = 215 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 54]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/215/edit Completed 302 Found in 6ms (ActiveRecord: 1.2ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:40.925105"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:40.925105"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:40.926784"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:40.926784"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"216", "graph_id"=>"259"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 259]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 216]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 259 AND "prosperity_dashboard_graphs"."dashboard_id" = 216 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.954597"], ["updated_at", "2014-11-20 00:24:40.955293"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.954685"], ["updated_at", "2014-11-20 00:24:40.956742"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.954768"], ["updated_at", "2014-11-20 00:24:40.957853"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.963659"], ["updated_at", "2014-11-20 00:24:40.964055"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.963716"], ["updated_at", "2014-11-20 00:24:40.965373"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.963753"], ["updated_at", "2014-11-20 00:24:40.966393"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.972024"], ["updated_at", "2014-11-20 00:24:40.972411"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.972081"], ["updated_at", "2014-11-20 00:24:40.973525"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.972117"], ["updated_at", "2014-11-20 00:24:40.974550"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.982966"], ["updated_at", "2014-11-20 00:24:40.983367"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.983021"], ["updated_at", "2014-11-20 00:24:40.984568"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.983058"], ["updated_at", "2014-11-20 00:24:40.985545"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:40.994138"], ["updated_at", "2014-11-20 00:24:40.994584"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:40.994199"], ["updated_at", "2014-11-20 00:24:40.995644"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:40.994237"], ["updated_at", "2014-11-20 00:24:40.996596"]]  (0.2ms) COMMIT User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.004935"], ["updated_at", "2014-11-20 00:24:41.005393"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.005006"], ["updated_at", "2014-11-20 00:24:41.007313"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.005046"], ["updated_at", "2014-11-20 00:24:41.008479"]]  (0.3ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.5ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.019713"], ["updated_at", "2014-11-20 00:24:41.020256"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.019783"], ["updated_at", "2014-11-20 00:24:41.021815"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.019824"], ["updated_at", "2014-11-20 00:24:41.022892"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.029840"], ["updated_at", "2014-11-20 00:24:41.030313"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.029914"], ["updated_at", "2014-11-20 00:24:41.031375"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.029979"], ["updated_at", "2014-11-20 00:24:41.032536"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.039678"], ["updated_at", "2014-11-20 00:24:41.040320"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.039741"], ["updated_at", "2014-11-20 00:24:41.041902"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.039962"], ["updated_at", "2014-11-20 00:24:41.043207"]]  (0.4ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.052268"], ["updated_at", "2014-11-20 00:24:41.052783"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.052345"], ["updated_at", "2014-11-20 00:24:41.054069"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.052421"], ["updated_at", "2014-11-20 00:24:41.055206"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.063734"], ["updated_at", "2014-11-20 00:24:41.064254"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.063815"], ["updated_at", "2014-11-20 00:24:41.065463"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.063855"], ["updated_at", "2014-11-20 00:24:41.066579"]]  (0.3ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.075470"], ["updated_at", "2014-11-20 00:24:41.075953"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.075537"], ["updated_at", "2014-11-20 00:24:41.077223"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.075608"], ["updated_at", "2014-11-20 00:24:41.078278"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.083863"], ["updated_at", "2014-11-20 00:24:41.084277"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.083919"], ["updated_at", "2014-11-20 00:24:41.085528"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.083957"], ["updated_at", "2014-11-20 00:24:41.086544"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.092198"], ["updated_at", "2014-11-20 00:24:41.092645"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.092289"], ["updated_at", "2014-11-20 00:24:41.093738"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.092331"], ["updated_at", "2014-11-20 00:24:41.094666"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.103662"], ["updated_at", "2014-11-20 00:24:41.104168"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.103732"], ["updated_at", "2014-11-20 00:24:41.105310"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.103772"], ["updated_at", "2014-11-20 00:24:41.106341"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.111939"], ["updated_at", "2014-11-20 00:24:41.112329"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.111997"], ["updated_at", "2014-11-20 00:24:41.113329"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.112035"], ["updated_at", "2014-11-20 00:24:41.114233"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.120007"], ["updated_at", "2014-11-20 00:24:41.120436"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.120068"], ["updated_at", "2014-11-20 00:24:41.121526"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.120119"], ["updated_at", "2014-11-20 00:24:41.122416"]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.125070"], ["updated_at", "2014-11-20 00:24:41.125488"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.125129"], ["updated_at", "2014-11-20 00:24:41.126445"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.125202"], ["updated_at", "2014-11-20 00:24:41.127468"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (1.5ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 1.6ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.7ms) Completed 200 OK in 31ms (Views: 30.4ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.225011"], ["updated_at", "2014-11-20 00:24:41.225653"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.225117"], ["updated_at", "2014-11-20 00:24:41.227047"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.225194"], ["updated_at", "2014-11-20 00:24:41.228167"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.228991"], ["updated_at", "2014-11-20 00:24:41.229269"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.232599"], ["updated_at", "2014-11-20 00:24:41.233024"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.232670"], ["updated_at", "2014-11-20 00:24:41.234170"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.232710"], ["updated_at", "2014-11-20 00:24:41.235284"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.236117"], ["updated_at", "2014-11-20 00:24:41.236422"]]  (0.2ms) COMMIT  (0.5ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.240427"], ["updated_at", "2014-11-20 00:24:41.240938"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.240496"], ["updated_at", "2014-11-20 00:24:41.242091"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.240551"], ["updated_at", "2014-11-20 00:24:41.243124"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.243883"], ["updated_at", "2014-11-20 00:24:41.244162"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.250962"], ["updated_at", "2014-11-20 00:24:41.251465"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.251031"], ["updated_at", "2014-11-20 00:24:41.252719"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.251080"], ["updated_at", "2014-11-20 00:24:41.253805"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.254606"], ["updated_at", "2014-11-20 00:24:41.254898"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.261563"], ["updated_at", "2014-11-20 00:24:41.262277"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.261669"], ["updated_at", "2014-11-20 00:24:41.264118"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.261747"], ["updated_at", "2014-11-20 00:24:41.265602"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.266438"], ["updated_at", "2014-11-20 00:24:41.266726"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.269777"], ["updated_at", "2014-11-20 00:24:41.270261"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.269855"], ["updated_at", "2014-11-20 00:24:41.271546"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.269905"], ["updated_at", "2014-11-20 00:24:41.272538"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.273237"], ["updated_at", "2014-11-20 00:24:41.273528"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.276479"], ["updated_at", "2014-11-20 00:24:41.276905"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.276540"], ["updated_at", "2014-11-20 00:24:41.277913"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.276589"], ["updated_at", "2014-11-20 00:24:41.278863"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.279578"], ["updated_at", "2014-11-20 00:24:41.279846"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.283613"], ["updated_at", "2014-11-20 00:24:41.284029"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.283671"], ["updated_at", "2014-11-20 00:24:41.285047"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.283718"], ["updated_at", "2014-11-20 00:24:41.286078"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.286813"], ["updated_at", "2014-11-20 00:24:41.287099"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.291101"], ["updated_at", "2014-11-20 00:24:41.291535"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.291165"], ["updated_at", "2014-11-20 00:24:41.292561"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.291205"], ["updated_at", "2014-11-20 00:24:41.293509"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.294190"], ["updated_at", "2014-11-20 00:24:41.294444"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.297946"], ["updated_at", "2014-11-20 00:24:41.298351"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.298008"], ["updated_at", "2014-11-20 00:24:41.299277"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.298049"], ["updated_at", "2014-11-20 00:24:41.300121"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.300781"], ["updated_at", "2014-11-20 00:24:41.301059"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.304878"], ["updated_at", "2014-11-20 00:24:41.305329"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.304943"], ["updated_at", "2014-11-20 00:24:41.306447"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.304983"], ["updated_at", "2014-11-20 00:24:41.307425"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.308186"], ["updated_at", "2014-11-20 00:24:41.308438"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.311829"], ["updated_at", "2014-11-20 00:24:41.312229"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.311887"], ["updated_at", "2014-11-20 00:24:41.313281"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.311926"], ["updated_at", "2014-11-20 00:24:41.314287"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.315148"], ["updated_at", "2014-11-20 00:24:41.315443"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.318826"], ["updated_at", "2014-11-20 00:24:41.319232"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.318891"], ["updated_at", "2014-11-20 00:24:41.320149"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.318932"], ["updated_at", "2014-11-20 00:24:41.320984"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.321653"], ["updated_at", "2014-11-20 00:24:41.321965"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.325780"], ["updated_at", "2014-11-20 00:24:41.326205"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.325844"], ["updated_at", "2014-11-20 00:24:41.327319"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.325885"], ["updated_at", "2014-11-20 00:24:41.328301"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.329061"], ["updated_at", "2014-11-20 00:24:41.329320"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.333160"], ["updated_at", "2014-11-20 00:24:41.333572"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.333223"], ["updated_at", "2014-11-20 00:24:41.334632"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.333262"], ["updated_at", "2014-11-20 00:24:41.335574"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.336236"], ["updated_at", "2014-11-20 00:24:41.336509"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.340287"], ["updated_at", "2014-11-20 00:24:41.340755"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.340353"], ["updated_at", "2014-11-20 00:24:41.341819"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.340393"], ["updated_at", "2014-11-20 00:24:41.342766"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.343472"], ["updated_at", "2014-11-20 00:24:41.343732"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.347040"], ["updated_at", "2014-11-20 00:24:41.347465"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.347105"], ["updated_at", "2014-11-20 00:24:41.348453"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.347145"], ["updated_at", "2014-11-20 00:24:41.349434"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.350199"], ["updated_at", "2014-11-20 00:24:41.350476"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.354031"], ["updated_at", "2014-11-20 00:24:41.354459"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.354092"], ["updated_at", "2014-11-20 00:24:41.355567"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.354133"], ["updated_at", "2014-11-20 00:24:41.356563"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.357341"], ["updated_at", "2014-11-20 00:24:41.357594"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.361402"], ["updated_at", "2014-11-20 00:24:41.361888"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.361464"], ["updated_at", "2014-11-20 00:24:41.362927"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.361503"], ["updated_at", "2014-11-20 00:24:41.363814"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.364425"], ["updated_at", "2014-11-20 00:24:41.364690"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.367933"], ["updated_at", "2014-11-20 00:24:41.368394"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.367996"], ["updated_at", "2014-11-20 00:24:41.369517"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.368037"], ["updated_at", "2014-11-20 00:24:41.370503"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.371260"], ["updated_at", "2014-11-20 00:24:41.371515"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.374931"], ["updated_at", "2014-11-20 00:24:41.375335"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.374989"], ["updated_at", "2014-11-20 00:24:41.376479"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.375028"], ["updated_at", "2014-11-20 00:24:41.377489"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.378250"], ["updated_at", "2014-11-20 00:24:41.378516"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:24:41.379490"], ["updated_at", "2014-11-20 00:24:41.379490"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:24:41.380599"], ["updated_at", "2014-11-20 00:24:41.380599"], ["value", 3]]  (0.3ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.383669"], ["updated_at", "2014-11-20 00:24:41.384106"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.383730"], ["updated_at", "2014-11-20 00:24:41.385108"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.383769"], ["updated_at", "2014-11-20 00:24:41.386129"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.386904"], ["updated_at", "2014-11-20 00:24:41.387191"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:24:41.388101"], ["updated_at", "2014-11-20 00:24:41.388101"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:24:41.389098"], ["updated_at", "2014-11-20 00:24:41.389098"], ["value", 3]]  (0.4ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket   (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.393430"], ["updated_at", "2014-11-20 00:24:41.393836"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.393493"], ["updated_at", "2014-11-20 00:24:41.394884"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.393534"], ["updated_at", "2014-11-20 00:24:41.395867"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.396621"], ["updated_at", "2014-11-20 00:24:41.396911"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:24:41.397929"], ["updated_at", "2014-11-20 00:24:41.397929"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:24:41.398954"], ["updated_at", "2014-11-20 00:24:41.398954"], ["value", 3]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.403317"], ["updated_at", "2014-11-20 00:24:41.403831"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.403398"], ["updated_at", "2014-11-20 00:24:41.404927"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.403442"], ["updated_at", "2014-11-20 00:24:41.405924"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.406673"], ["updated_at", "2014-11-20 00:24:41.406964"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:41.410183"], ["updated_at", "2014-11-20 00:24:41.410621"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:41.410245"], ["updated_at", "2014-11-20 00:24:41.411624"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:41.410284"], ["updated_at", "2014-11-20 00:24:41.412559"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:41.413246"], ["updated_at", "2014-11-20 00:24:41.413532"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket   (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:41.417857"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:41.417857"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"260"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 260]] Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 260]] Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.9ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:41.429422"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:41.429422"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:24:41.436871"], ["extractor", "count"], ["graph_id", 261], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:24:41.436871"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"261"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 261]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 261]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:41.443220"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:41.443220"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"262"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 262]] Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 1ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:41.452557"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:41.452557"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"263"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 263]] Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:41.457982"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:41.457982"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"264"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 264]] Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:41.464787"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:41.464787"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"265"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 265]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (6.3ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 265]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.4ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:41.491009"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:41.491009"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:24:41.493100"], ["extractor", "count"], ["graph_id", 266], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:24:41.493100"]]  (0.2ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 266]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"87", "_destroy"=>true}}}, "id"=>"266"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 266]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (87) [["graph_id", 266]] SQL (0.2ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 87]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/266/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 87 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:41.501442"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:41.501442"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:24:41.503276"], ["extractor", "count"], ["graph_id", 267], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:24:41.503276"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 267]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"88", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"267"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 267]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (88) [["graph_id", 267]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 88 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-20 00:24:41.508477"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/267/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 267]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 267]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:41.513104"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:41.513104"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"268"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 268]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:24:41.518167"], ["extractor", "count"], ["graph_id", 268], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:24:41.518167"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/268/edit Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 268]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 268]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:41.522517"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:41.522517"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:24:41.524181"], ["extractor", "count"], ["graph_id", 269], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:24:41.524181"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"90"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"269"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 269]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (90) [["graph_id", 269]] SQL (0.4ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 90 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-20 00:24:41.564487"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/269/edit Completed 302 Found in 40ms (ActiveRecord: 1.4ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 90]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 269]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 269]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:41.573213"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:41.573213"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/270/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms)  (0.4ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.3ms) Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:41.587323"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:41.587323"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"217"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 217]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 217]] Prosperity::Graph Load (0.6ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 31ms (Views: 28.8ms | ActiveRecord: 1.2ms)  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:41.623554"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:41.623554"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"218"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 218]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.4ms) Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 218]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 218]] Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:41.636267"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:41.636267"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"219"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 219]]  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 219]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.7ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 219 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:41.643401"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:41.643401"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.5ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 115ms (Views: 113.8ms | ActiveRecord: 0.5ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:41.761956"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:41.761956"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:41.765107"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-20 00:24:41.765107"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/222/edit Completed 302 Found in 2ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:41.768577"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:41.768577"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:41.778557"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:41.778557"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (8.1ms) DROP TABLE "users"  (3.6ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.598851"], ["updated_at", "2014-11-20 00:24:57.608019"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.599009"], ["updated_at", "2014-11-20 00:24:57.611660"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.599058"], ["updated_at", "2014-11-20 00:24:57.612770"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.599109"], ["updated_at", "2014-11-20 00:24:57.613761"]]  (0.2ms) COMMIT  (0.4ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.625282"], ["updated_at", "2014-11-20 00:24:57.625887"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.625394"], ["updated_at", "2014-11-20 00:24:57.627076"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.625434"], ["updated_at", "2014-11-20 00:24:57.628215"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.625472"], ["updated_at", "2014-11-20 00:24:57.629283"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.638934"], ["updated_at", "2014-11-20 00:24:57.639451"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.639017"], ["updated_at", "2014-11-20 00:24:57.640452"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.639056"], ["updated_at", "2014-11-20 00:24:57.641309"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.639092"], ["updated_at", "2014-11-20 00:24:57.642128"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.657258"], ["updated_at", "2014-11-20 00:24:57.657789"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.657339"], ["updated_at", "2014-11-20 00:24:57.659029"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.657399"], ["updated_at", "2014-11-20 00:24:57.660048"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.657438"], ["updated_at", "2014-11-20 00:24:57.661086"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.676026"], ["updated_at", "2014-11-20 00:24:57.676524"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.676099"], ["updated_at", "2014-11-20 00:24:57.677697"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.676137"], ["updated_at", "2014-11-20 00:24:57.678724"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.676177"], ["updated_at", "2014-11-20 00:24:57.679703"]]  (0.3ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.682989"], ["updated_at", "2014-11-20 00:24:57.683512"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.683064"], ["updated_at", "2014-11-20 00:24:57.684673"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.683102"], ["updated_at", "2014-11-20 00:24:57.685678"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.683138"], ["updated_at", "2014-11-20 00:24:57.686701"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.695965"], ["updated_at", "2014-11-20 00:24:57.696468"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.696029"], ["updated_at", "2014-11-20 00:24:57.697583"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.696073"], ["updated_at", "2014-11-20 00:24:57.698638"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.696110"], ["updated_at", "2014-11-20 00:24:57.699590"]]  (0.2ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.714342"], ["updated_at", "2014-11-20 00:24:57.714987"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.714418"], ["updated_at", "2014-11-20 00:24:57.716219"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.714479"], ["updated_at", "2014-11-20 00:24:57.717200"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.714575"], ["updated_at", "2014-11-20 00:24:57.718231"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.727620"], ["updated_at", "2014-11-20 00:24:57.728151"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.727686"], ["updated_at", "2014-11-20 00:24:57.729288"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.727723"], ["updated_at", "2014-11-20 00:24:57.730295"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.727765"], ["updated_at", "2014-11-20 00:24:57.731322"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.740831"], ["updated_at", "2014-11-20 00:24:57.741325"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.740892"], ["updated_at", "2014-11-20 00:24:57.742541"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.740931"], ["updated_at", "2014-11-20 00:24:57.743558"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.740972"], ["updated_at", "2014-11-20 00:24:57.744517"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.753628"], ["updated_at", "2014-11-20 00:24:57.754095"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.753687"], ["updated_at", "2014-11-20 00:24:57.755218"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.753725"], ["updated_at", "2014-11-20 00:24:57.756231"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.753766"], ["updated_at", "2014-11-20 00:24:57.757221"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.771316"], ["updated_at", "2014-11-20 00:24:57.771760"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.771381"], ["updated_at", "2014-11-20 00:24:57.772896"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.771419"], ["updated_at", "2014-11-20 00:24:57.773921"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.771456"], ["updated_at", "2014-11-20 00:24:57.774919"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.784116"], ["updated_at", "2014-11-20 00:24:57.784617"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.784189"], ["updated_at", "2014-11-20 00:24:57.785912"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.784230"], ["updated_at", "2014-11-20 00:24:57.787013"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.784269"], ["updated_at", "2014-11-20 00:24:57.788080"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.803548"], ["updated_at", "2014-11-20 00:24:57.804074"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.803619"], ["updated_at", "2014-11-20 00:24:57.805266"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.803661"], ["updated_at", "2014-11-20 00:24:57.806251"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.803699"], ["updated_at", "2014-11-20 00:24:57.807209"]]  (0.3ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.822162"], ["updated_at", "2014-11-20 00:24:57.822661"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.822233"], ["updated_at", "2014-11-20 00:24:57.823720"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.822275"], ["updated_at", "2014-11-20 00:24:57.824721"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.822312"], ["updated_at", "2014-11-20 00:24:57.825643"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.834657"], ["updated_at", "2014-11-20 00:24:57.835079"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.834714"], ["updated_at", "2014-11-20 00:24:57.836169"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.834751"], ["updated_at", "2014-11-20 00:24:57.837255"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.834790"], ["updated_at", "2014-11-20 00:24:57.838293"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.854315"], ["updated_at", "2014-11-20 00:24:57.854878"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:24:57.854398"], ["updated_at", "2014-11-20 00:24:57.856409"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.854439"], ["updated_at", "2014-11-20 00:24:57.857864"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.854479"], ["updated_at", "2014-11-20 00:24:57.858852"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.874302"], ["updated_at", "2014-11-20 00:24:57.874801"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.874379"], ["updated_at", "2014-11-20 00:24:57.876074"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.874420"], ["updated_at", "2014-11-20 00:24:57.877136"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:57.877920"], ["updated_at", "2014-11-20 00:24:57.878197"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:24:57.879242"], ["updated_at", "2014-11-20 00:24:57.879242"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:24:57.880335"], ["updated_at", "2014-11-20 00:24:57.880335"], ["value", 3]]  (0.3ms) COMMIT  (1.5ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket   (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.885638"], ["updated_at", "2014-11-20 00:24:57.886048"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.885701"], ["updated_at", "2014-11-20 00:24:57.887062"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.885739"], ["updated_at", "2014-11-20 00:24:57.888027"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:57.888769"], ["updated_at", "2014-11-20 00:24:57.889047"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:24:57.889986"], ["updated_at", "2014-11-20 00:24:57.889986"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:24:57.890992"], ["updated_at", "2014-11-20 00:24:57.890992"], ["value", 3]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.896290"], ["updated_at", "2014-11-20 00:24:57.896831"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.896356"], ["updated_at", "2014-11-20 00:24:57.897898"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.896397"], ["updated_at", "2014-11-20 00:24:57.898900"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:57.899689"], ["updated_at", "2014-11-20 00:24:57.900010"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:24:57.901145"], ["updated_at", "2014-11-20 00:24:57.901145"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:24:57.902203"], ["updated_at", "2014-11-20 00:24:57.902203"], ["value", 3]]  (0.3ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.905546"], ["updated_at", "2014-11-20 00:24:57.906061"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.905625"], ["updated_at", "2014-11-20 00:24:57.907163"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.905670"], ["updated_at", "2014-11-20 00:24:57.908101"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:57.908807"], ["updated_at", "2014-11-20 00:24:57.909065"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.912395"], ["updated_at", "2014-11-20 00:24:57.912776"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.912461"], ["updated_at", "2014-11-20 00:24:57.913794"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.912498"], ["updated_at", "2014-11-20 00:24:57.914816"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:57.915547"], ["updated_at", "2014-11-20 00:24:57.915831"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.919710"], ["updated_at", "2014-11-20 00:24:57.920201"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.919788"], ["updated_at", "2014-11-20 00:24:57.921303"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.919829"], ["updated_at", "2014-11-20 00:24:57.922370"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:57.923119"], ["updated_at", "2014-11-20 00:24:57.923411"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.927262"], ["updated_at", "2014-11-20 00:24:57.927710"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.927338"], ["updated_at", "2014-11-20 00:24:57.928765"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.927379"], ["updated_at", "2014-11-20 00:24:57.929819"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:57.930647"], ["updated_at", "2014-11-20 00:24:57.930964"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.935061"], ["updated_at", "2014-11-20 00:24:57.935478"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.935131"], ["updated_at", "2014-11-20 00:24:57.936621"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.935171"], ["updated_at", "2014-11-20 00:24:57.937631"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:57.938342"], ["updated_at", "2014-11-20 00:24:57.938643"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.942069"], ["updated_at", "2014-11-20 00:24:57.942492"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.942133"], ["updated_at", "2014-11-20 00:24:57.943633"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.942173"], ["updated_at", "2014-11-20 00:24:57.944533"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:57.945235"], ["updated_at", "2014-11-20 00:24:57.945519"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.949013"], ["updated_at", "2014-11-20 00:24:57.949474"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.949084"], ["updated_at", "2014-11-20 00:24:57.950505"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.949124"], ["updated_at", "2014-11-20 00:24:57.951643"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:57.952496"], ["updated_at", "2014-11-20 00:24:57.952793"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.972653"], ["updated_at", "2014-11-20 00:24:57.973633"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.972748"], ["updated_at", "2014-11-20 00:24:57.975580"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.972810"], ["updated_at", "2014-11-20 00:24:57.977090"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:57.978022"], ["updated_at", "2014-11-20 00:24:57.978337"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.987056"], ["updated_at", "2014-11-20 00:24:57.987559"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.987125"], ["updated_at", "2014-11-20 00:24:57.989134"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.987166"], ["updated_at", "2014-11-20 00:24:57.990358"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:57.991442"], ["updated_at", "2014-11-20 00:24:57.991720"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:57.994803"], ["updated_at", "2014-11-20 00:24:57.995370"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:57.994867"], ["updated_at", "2014-11-20 00:24:57.996524"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:57.994908"], ["updated_at", "2014-11-20 00:24:57.997779"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:57.998657"], ["updated_at", "2014-11-20 00:24:57.998942"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.003145"], ["updated_at", "2014-11-20 00:24:58.003574"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.003216"], ["updated_at", "2014-11-20 00:24:58.004876"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.003256"], ["updated_at", "2014-11-20 00:24:58.006126"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:58.006902"], ["updated_at", "2014-11-20 00:24:58.007262"]]  (0.6ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.011775"], ["updated_at", "2014-11-20 00:24:58.012248"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.011836"], ["updated_at", "2014-11-20 00:24:58.013911"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.011874"], ["updated_at", "2014-11-20 00:24:58.015391"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:58.016265"], ["updated_at", "2014-11-20 00:24:58.016524"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.021420"], ["updated_at", "2014-11-20 00:24:58.021880"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.021489"], ["updated_at", "2014-11-20 00:24:58.023064"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.021530"], ["updated_at", "2014-11-20 00:24:58.024237"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:58.024976"], ["updated_at", "2014-11-20 00:24:58.025255"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.028858"], ["updated_at", "2014-11-20 00:24:58.029319"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.028923"], ["updated_at", "2014-11-20 00:24:58.030342"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.028963"], ["updated_at", "2014-11-20 00:24:58.031276"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:58.031974"], ["updated_at", "2014-11-20 00:24:58.032276"]]  (0.3ms) COMMIT  (0.4ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.036693"], ["updated_at", "2014-11-20 00:24:58.037112"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.036758"], ["updated_at", "2014-11-20 00:24:58.038092"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.036797"], ["updated_at", "2014-11-20 00:24:58.039053"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:58.039843"], ["updated_at", "2014-11-20 00:24:58.040178"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.043878"], ["updated_at", "2014-11-20 00:24:58.044257"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.043936"], ["updated_at", "2014-11-20 00:24:58.045239"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.043974"], ["updated_at", "2014-11-20 00:24:58.046187"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:58.046903"], ["updated_at", "2014-11-20 00:24:58.047188"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.051529"], ["updated_at", "2014-11-20 00:24:58.051998"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.051595"], ["updated_at", "2014-11-20 00:24:58.053187"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.051683"], ["updated_at", "2014-11-20 00:24:58.054259"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:58.055189"], ["updated_at", "2014-11-20 00:24:58.055458"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.059145"], ["updated_at", "2014-11-20 00:24:58.059553"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.059210"], ["updated_at", "2014-11-20 00:24:58.060691"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.059251"], ["updated_at", "2014-11-20 00:24:58.061684"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:58.062458"], ["updated_at", "2014-11-20 00:24:58.062703"]]  (0.3ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.066790"], ["updated_at", "2014-11-20 00:24:58.067319"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.066865"], ["updated_at", "2014-11-20 00:24:58.068515"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.066915"], ["updated_at", "2014-11-20 00:24:58.069579"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:58.070396"], ["updated_at", "2014-11-20 00:24:58.070710"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.074761"], ["updated_at", "2014-11-20 00:24:58.075193"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.074857"], ["updated_at", "2014-11-20 00:24:58.076269"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.074900"], ["updated_at", "2014-11-20 00:24:58.077420"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:58.078165"], ["updated_at", "2014-11-20 00:24:58.078422"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.081795"], ["updated_at", "2014-11-20 00:24:58.082225"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.081864"], ["updated_at", "2014-11-20 00:24:58.083320"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.081905"], ["updated_at", "2014-11-20 00:24:58.084283"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:58.084983"], ["updated_at", "2014-11-20 00:24:58.085258"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.089530"], ["updated_at", "2014-11-20 00:24:58.089944"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.089592"], ["updated_at", "2014-11-20 00:24:58.091014"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.089631"], ["updated_at", "2014-11-20 00:24:58.092049"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:24:58.092754"], ["updated_at", "2014-11-20 00:24:58.093057"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.136809"], ["updated_at", "2014-11-20 00:24:58.137478"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.136918"], ["updated_at", "2014-11-20 00:24:58.138798"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.136966"], ["updated_at", "2014-11-20 00:24:58.139868"]]  (0.3ms) COMMIT SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.142698"], ["updated_at", "2014-11-20 00:24:58.143139"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.142761"], ["updated_at", "2014-11-20 00:24:58.144233"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.142810"], ["updated_at", "2014-11-20 00:24:58.145244"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.155282"], ["updated_at", "2014-11-20 00:24:58.155781"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.155370"], ["updated_at", "2014-11-20 00:24:58.156968"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.155411"], ["updated_at", "2014-11-20 00:24:58.158017"]]  (0.4ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.166216"], ["updated_at", "2014-11-20 00:24:58.166775"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.166293"], ["updated_at", "2014-11-20 00:24:58.168029"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.166369"], ["updated_at", "2014-11-20 00:24:58.169085"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.177497"], ["updated_at", "2014-11-20 00:24:58.177981"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.177577"], ["updated_at", "2014-11-20 00:24:58.179209"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.177624"], ["updated_at", "2014-11-20 00:24:58.180243"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.185997"], ["updated_at", "2014-11-20 00:24:58.186436"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.186056"], ["updated_at", "2014-11-20 00:24:58.187827"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.186094"], ["updated_at", "2014-11-20 00:24:58.188960"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.194693"], ["updated_at", "2014-11-20 00:24:58.195146"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.194755"], ["updated_at", "2014-11-20 00:24:58.196255"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.194793"], ["updated_at", "2014-11-20 00:24:58.197224"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.203187"], ["updated_at", "2014-11-20 00:24:58.203669"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.203254"], ["updated_at", "2014-11-20 00:24:58.204877"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.203313"], ["updated_at", "2014-11-20 00:24:58.205864"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.214671"], ["updated_at", "2014-11-20 00:24:58.215136"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.214734"], ["updated_at", "2014-11-20 00:24:58.216292"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.214774"], ["updated_at", "2014-11-20 00:24:58.217401"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.223432"], ["updated_at", "2014-11-20 00:24:58.223879"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.223494"], ["updated_at", "2014-11-20 00:24:58.225033"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.223569"], ["updated_at", "2014-11-20 00:24:58.226028"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.231517"], ["updated_at", "2014-11-20 00:24:58.231908"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.231572"], ["updated_at", "2014-11-20 00:24:58.232927"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.231615"], ["updated_at", "2014-11-20 00:24:58.233860"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.239798"], ["updated_at", "2014-11-20 00:24:58.240475"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.239898"], ["updated_at", "2014-11-20 00:24:58.242028"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.240001"], ["updated_at", "2014-11-20 00:24:58.243570"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.253739"], ["updated_at", "2014-11-20 00:24:58.254218"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.253803"], ["updated_at", "2014-11-20 00:24:58.255433"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.253841"], ["updated_at", "2014-11-20 00:24:58.256513"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.262159"], ["updated_at", "2014-11-20 00:24:58.262559"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.262222"], ["updated_at", "2014-11-20 00:24:58.263631"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.262264"], ["updated_at", "2014-11-20 00:24:58.264695"]]  (0.3ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.273234"], ["updated_at", "2014-11-20 00:24:58.273781"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.273322"], ["updated_at", "2014-11-20 00:24:58.274862"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.273374"], ["updated_at", "2014-11-20 00:24:58.275870"]]  (0.3ms) COMMIT User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.284473"], ["updated_at", "2014-11-20 00:24:58.285019"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.284565"], ["updated_at", "2014-11-20 00:24:58.286242"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.284623"], ["updated_at", "2014-11-20 00:24:58.287308"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.293176"], ["updated_at", "2014-11-20 00:24:58.293590"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.293241"], ["updated_at", "2014-11-20 00:24:58.294631"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.293285"], ["updated_at", "2014-11-20 00:24:58.295597"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:24:58.304385"], ["updated_at", "2014-11-20 00:24:58.304844"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:24:58.304457"], ["updated_at", "2014-11-20 00:24:58.305991"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:24:58.304499"], ["updated_at", "2014-11-20 00:24:58.307077"]]  (0.3ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.6ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/metrics/show.html.erb within layouts/prosperity/application (6.1ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/layouts/prosperity/base.html.erb (1.2ms) Completed 200 OK in 26ms (Views: 25.5ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.389901"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:58.389901"]]  (0.4ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.395234"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-20 00:24:58.395234"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/226/edit Completed 302 Found in 2ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.398949"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:58.398949"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.415377"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:58.415377"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"228"} Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 228]] Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.6ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 228]] Prosperity::Graph Load (1.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 42ms (Views: 37.3ms | ActiveRecord: 2.8ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.461951"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:58.461951"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.468557"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:58.468557"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"230"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 230]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.4ms) Prosperity::Graph Exists (0.5ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 230]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 230]] Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 1.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.480653"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:58.480653"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.7ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 163ms (Views: 162.3ms | ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.648223"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:58.648223"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"232"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 232]]  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 232]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.7ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 232 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.657434"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.657434"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:24:58.667751"], ["extractor", "count"], ["graph_id", 271], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:24:58.667751"]]  (0.4ms) COMMIT Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 271]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"91", "_destroy"=>true}}}, "id"=>"271"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 271]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (91) [["graph_id", 271]] SQL (0.2ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 91]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/271/edit Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 91 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.680654"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.680654"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:24:58.682992"], ["extractor", "count"], ["graph_id", 272], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:24:58.682992"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 272]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"92", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"272"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 272]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (92) [["graph_id", 272]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 92 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-20 00:24:58.688906"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/272/edit Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 272]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 272]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.693816"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.693816"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:24:58.695673"], ["extractor", "count"], ["graph_id", 273], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:24:58.695673"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"93"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"273"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 273]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (93) [["graph_id", 273]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 93 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-20 00:24:58.701144"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/273/edit Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 93]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 273]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 273]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.706241"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.706241"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"274"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 274]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:24:58.710301"], ["extractor", "count"], ["graph_id", 274], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:24:58.710301"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/274/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 274]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 274]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.717899"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.717899"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/275/edit Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (2.5ms) Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.733832"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.733832"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"276"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 276]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.4ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 276]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.749816"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.749816"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"277"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 277]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 277]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.756549"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.756549"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:24:58.758918"], ["extractor", "count"], ["graph_id", 278], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:24:58.758918"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"278"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 278]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 278]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.765194"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.765194"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"279"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 279]] Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.773022"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.773022"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"280"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 280]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.778587"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.778587"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"281"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 281]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 2ms (Views: 1.5ms | ActiveRecord: 0.3ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.796632"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:58.796632"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.798434"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.798434"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"233", "graph_id"=>"282"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 282]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 233]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 233 AND "prosperity_dashboard_graphs"."graph_id" = 282) LIMIT 1 SQL (0.3ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.811243"], ["dashboard_id", 233], ["graph_id", 282], ["updated_at", "2014-11-20 00:24:58.811243"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/233/edit Completed 302 Found in 12ms (ActiveRecord: 1.3ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 282]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 233]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.817525"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:58.817525"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.819638"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.819638"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"234", "graph_id"=>"283"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 283]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 234]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 234 AND "prosperity_dashboard_graphs"."graph_id" = 283) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.825254"], ["dashboard_id", 234], ["graph_id", 283], ["updated_at", "2014-11-20 00:24:58.825254"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/234/edit Completed 302 Found in 5ms (ActiveRecord: 1.2ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"234", "graph_id"=>"283"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 283]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 234]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 234 AND "prosperity_dashboard_graphs"."graph_id" = 283) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/234/edit Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.833420"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.833420"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.835076"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:58.835076"]]  (0.2ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 235 AND "prosperity_dashboard_graphs"."graph_id" = 284) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.837241"], ["dashboard_id", 235], ["graph_id", 284], ["updated_at", "2014-11-20 00:24:58.837241"]]  (0.4ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"235", "graph_id"=>"284"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 284]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 235]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 284 AND "prosperity_dashboard_graphs"."dashboard_id" = 235 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 57]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/235/edit Completed 302 Found in 3ms (ActiveRecord: 1.0ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:24:58.845190"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:24:58.845190"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:24:58.847155"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:24:58.847155"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"236", "graph_id"=>"285"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 285]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 236]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 285 AND "prosperity_dashboard_graphs"."dashboard_id" = 236 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms  (8.4ms) DROP TABLE "users"  (4.2ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  (0.3ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:21.904059"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:21.904059"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:21.911929"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:21.911929"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"237", "graph_id"=>"286"} Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 286]] Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 237]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.4ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 237 AND "prosperity_dashboard_graphs"."graph_id" = 286) LIMIT 1 SQL (0.3ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:21.934898"], ["dashboard_id", 237], ["graph_id", 286], ["updated_at", "2014-11-20 00:25:21.934898"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/237/edit Completed 302 Found in 21ms (ActiveRecord: 1.8ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 286]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 237]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:21.942250"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:21.942250"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:21.944151"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:21.944151"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"238", "graph_id"=>"287"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 287]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 238]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 238 AND "prosperity_dashboard_graphs"."graph_id" = 287) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:21.948276"], ["dashboard_id", 238], ["graph_id", 287], ["updated_at", "2014-11-20 00:25:21.948276"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/238/edit Completed 302 Found in 3ms (ActiveRecord: 1.0ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"238", "graph_id"=>"287"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 287]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 238]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 238 AND "prosperity_dashboard_graphs"."graph_id" = 287) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/238/edit Completed 302 Found in 7ms (ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:21.958666"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:21.958666"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:21.960399"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:21.960399"]]  (0.3ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 239 AND "prosperity_dashboard_graphs"."graph_id" = 288) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:21.962452"], ["dashboard_id", 239], ["graph_id", 288], ["updated_at", "2014-11-20 00:25:21.962452"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"239", "graph_id"=>"288"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 288]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 239]] Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 288 AND "prosperity_dashboard_graphs"."dashboard_id" = 239 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 60]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/239/edit Completed 302 Found in 5ms (ActiveRecord: 1.2ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:21.971702"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:21.971702"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:21.973288"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:21.973288"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"240", "graph_id"=>"289"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 289]] Prosperity::Dashboard Load (0.5ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 240]] Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 289 AND "prosperity_dashboard_graphs"."dashboard_id" = 240 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 3ms SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:21.979986"], ["updated_at", "2014-11-20 00:25:21.984992"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:21.980183"], ["updated_at", "2014-11-20 00:25:21.986845"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:21.980237"], ["updated_at", "2014-11-20 00:25:21.987847"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:21.994532"], ["updated_at", "2014-11-20 00:25:21.994986"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:21.994606"], ["updated_at", "2014-11-20 00:25:21.996028"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:21.994646"], ["updated_at", "2014-11-20 00:25:21.997090"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.002717"], ["updated_at", "2014-11-20 00:25:22.003193"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.002794"], ["updated_at", "2014-11-20 00:25:22.004370"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.002855"], ["updated_at", "2014-11-20 00:25:22.005380"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.013947"], ["updated_at", "2014-11-20 00:25:22.014357"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.014027"], ["updated_at", "2014-11-20 00:25:22.015420"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.014066"], ["updated_at", "2014-11-20 00:25:22.016432"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.024774"], ["updated_at", "2014-11-20 00:25:22.025243"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.024835"], ["updated_at", "2014-11-20 00:25:22.026505"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.024874"], ["updated_at", "2014-11-20 00:25:22.027489"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.034968"], ["updated_at", "2014-11-20 00:25:22.035399"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.035035"], ["updated_at", "2014-11-20 00:25:22.036547"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.035074"], ["updated_at", "2014-11-20 00:25:22.037608"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.046416"], ["updated_at", "2014-11-20 00:25:22.046853"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.046483"], ["updated_at", "2014-11-20 00:25:22.048032"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.046521"], ["updated_at", "2014-11-20 00:25:22.049044"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.054764"], ["updated_at", "2014-11-20 00:25:22.055174"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.054821"], ["updated_at", "2014-11-20 00:25:22.056165"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.054862"], ["updated_at", "2014-11-20 00:25:22.057111"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.062540"], ["updated_at", "2014-11-20 00:25:22.062925"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.062597"], ["updated_at", "2014-11-20 00:25:22.063905"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.062634"], ["updated_at", "2014-11-20 00:25:22.064828"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.070289"], ["updated_at", "2014-11-20 00:25:22.070699"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.070351"], ["updated_at", "2014-11-20 00:25:22.071847"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.070389"], ["updated_at", "2014-11-20 00:25:22.072842"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.078704"], ["updated_at", "2014-11-20 00:25:22.079168"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.078777"], ["updated_at", "2014-11-20 00:25:22.080218"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.078819"], ["updated_at", "2014-11-20 00:25:22.081241"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.087394"], ["updated_at", "2014-11-20 00:25:22.087813"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.087451"], ["updated_at", "2014-11-20 00:25:22.088932"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.087488"], ["updated_at", "2014-11-20 00:25:22.090004"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.099257"], ["updated_at", "2014-11-20 00:25:22.099753"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.099329"], ["updated_at", "2014-11-20 00:25:22.101230"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.099370"], ["updated_at", "2014-11-20 00:25:22.102284"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.111484"], ["updated_at", "2014-11-20 00:25:22.111999"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.111551"], ["updated_at", "2014-11-20 00:25:22.113156"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.111604"], ["updated_at", "2014-11-20 00:25:22.114139"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.123296"], ["updated_at", "2014-11-20 00:25:22.123779"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.123370"], ["updated_at", "2014-11-20 00:25:22.124899"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.123413"], ["updated_at", "2014-11-20 00:25:22.125858"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.131471"], ["updated_at", "2014-11-20 00:25:22.131915"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.131531"], ["updated_at", "2014-11-20 00:25:22.132904"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.131577"], ["updated_at", "2014-11-20 00:25:22.133819"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.143256"], ["updated_at", "2014-11-20 00:25:22.143755"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.143319"], ["updated_at", "2014-11-20 00:25:22.144996"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.143359"], ["updated_at", "2014-11-20 00:25:22.146105"]]  (0.3ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.149804"], ["updated_at", "2014-11-20 00:25:22.150234"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.149881"], ["updated_at", "2014-11-20 00:25:22.151248"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.149919"], ["updated_at", "2014-11-20 00:25:22.152193"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:22.164627"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:22.164627"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 59ms (Views: 58.4ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:22.228546"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:22.228546"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"242"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 242]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 242]] Prosperity::Graph Load (1.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 30ms (Views: 27.4ms | ActiveRecord: 1.8ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:22.262946"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:22.262946"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.6ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 121ms (Views: 120.1ms | ActiveRecord: 0.6ms)  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:22.388459"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:22.388459"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"244"} Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 244]]  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 244]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 3ms (ActiveRecord: 1.0ms) Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 244 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:22.395690"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:22.395690"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:22.398725"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-20 00:25:22.398725"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/246/edit Completed 302 Found in 2ms (ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:22.401741"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:22.401741"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:22.410106"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:22.410106"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"248"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 248]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.7ms) Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 248]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 248]] Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:22.423814"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:22.423814"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"290"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 290]] Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 290]] Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.9ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:22.432549"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:22.432549"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:25:22.438305"], ["extractor", "count"], ["graph_id", 291], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:25:22.438305"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"291"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 291]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 291]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:22.444482"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:22.444482"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"292"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 292]] Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:22.452592"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:22.452592"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"293"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 293]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:22.458042"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:22.458042"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"294"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 294]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:22.465446"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:22.465446"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"295"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 295]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (2.4ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 295]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Completed 200 OK in 15ms (Views: 12.0ms | ActiveRecord: 0.4ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:22.490919"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:22.490919"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:25:22.492983"], ["extractor", "count"], ["graph_id", 296], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:25:22.492983"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 296]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"97", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"296"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 296]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (97) [["graph_id", 296]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 97 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-20 00:25:22.498720"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/296/edit Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 296]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 296]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:22.503495"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:22.503495"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:25:22.505357"], ["extractor", "count"], ["graph_id", 297], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:25:22.505357"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 297]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"98", "_destroy"=>true}}}, "id"=>"297"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 297]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (98) [["graph_id", 297]] SQL (0.1ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 98]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/graphs/297/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 98 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:22.513867"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:22.513867"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"298"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 298]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:25:22.518300"], ["extractor", "count"], ["graph_id", 298], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:25:22.518300"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/298/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 298]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 298]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:22.522778"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:22.522778"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:25:22.524583"], ["extractor", "count"], ["graph_id", 299], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:25:22.524583"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"100"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"299"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 299]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (100) [["graph_id", 299]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 100 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-20 00:25:22.529736"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/299/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 100]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 299]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 299]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:22.537067"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:22.537067"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/300/edit Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.2ms) Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.2ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.4ms) Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (1.6ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 1.7ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.640250"], ["updated_at", "2014-11-20 00:25:22.640922"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.640336"], ["updated_at", "2014-11-20 00:25:22.642366"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.640377"], ["updated_at", "2014-11-20 00:25:22.643561"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.644646"], ["updated_at", "2014-11-20 00:25:22.644999"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.648743"], ["updated_at", "2014-11-20 00:25:22.649201"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.648802"], ["updated_at", "2014-11-20 00:25:22.650476"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.648840"], ["updated_at", "2014-11-20 00:25:22.651638"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.652380"], ["updated_at", "2014-11-20 00:25:22.652660"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.656328"], ["updated_at", "2014-11-20 00:25:22.656736"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.656389"], ["updated_at", "2014-11-20 00:25:22.657815"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.656425"], ["updated_at", "2014-11-20 00:25:22.658709"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.659354"], ["updated_at", "2014-11-20 00:25:22.659647"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.666661"], ["updated_at", "2014-11-20 00:25:22.667293"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.666753"], ["updated_at", "2014-11-20 00:25:22.669200"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.666815"], ["updated_at", "2014-11-20 00:25:22.670634"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.671822"], ["updated_at", "2014-11-20 00:25:22.672141"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.679014"], ["updated_at", "2014-11-20 00:25:22.679540"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.679078"], ["updated_at", "2014-11-20 00:25:22.680679"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.679116"], ["updated_at", "2014-11-20 00:25:22.681700"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.682466"], ["updated_at", "2014-11-20 00:25:22.682723"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.685591"], ["updated_at", "2014-11-20 00:25:22.686010"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.685646"], ["updated_at", "2014-11-20 00:25:22.687077"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.685714"], ["updated_at", "2014-11-20 00:25:22.688103"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.688815"], ["updated_at", "2014-11-20 00:25:22.689094"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.691907"], ["updated_at", "2014-11-20 00:25:22.692391"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.691964"], ["updated_at", "2014-11-20 00:25:22.693555"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.692103"], ["updated_at", "2014-11-20 00:25:22.694531"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.695419"], ["updated_at", "2014-11-20 00:25:22.695687"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.699573"], ["updated_at", "2014-11-20 00:25:22.700036"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.699679"], ["updated_at", "2014-11-20 00:25:22.701325"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.699721"], ["updated_at", "2014-11-20 00:25:22.702579"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.703351"], ["updated_at", "2014-11-20 00:25:22.703703"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.708165"], ["updated_at", "2014-11-20 00:25:22.708694"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.708243"], ["updated_at", "2014-11-20 00:25:22.709830"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.708328"], ["updated_at", "2014-11-20 00:25:22.710816"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.711556"], ["updated_at", "2014-11-20 00:25:22.711880"]]  (0.3ms) COMMIT User Load (0.3ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.716063"], ["updated_at", "2014-11-20 00:25:22.716522"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.716126"], ["updated_at", "2014-11-20 00:25:22.717648"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.716166"], ["updated_at", "2014-11-20 00:25:22.718631"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.719375"], ["updated_at", "2014-11-20 00:25:22.719641"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.723836"], ["updated_at", "2014-11-20 00:25:22.724309"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.723893"], ["updated_at", "2014-11-20 00:25:22.725392"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.723931"], ["updated_at", "2014-11-20 00:25:22.726347"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.727088"], ["updated_at", "2014-11-20 00:25:22.727339"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.731087"], ["updated_at", "2014-11-20 00:25:22.731540"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.731147"], ["updated_at", "2014-11-20 00:25:22.732688"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.731185"], ["updated_at", "2014-11-20 00:25:22.733620"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.734312"], ["updated_at", "2014-11-20 00:25:22.734633"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.738514"], ["updated_at", "2014-11-20 00:25:22.739037"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.738586"], ["updated_at", "2014-11-20 00:25:22.740171"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.738676"], ["updated_at", "2014-11-20 00:25:22.741155"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.741911"], ["updated_at", "2014-11-20 00:25:22.742240"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.745778"], ["updated_at", "2014-11-20 00:25:22.746258"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.745835"], ["updated_at", "2014-11-20 00:25:22.747454"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.745918"], ["updated_at", "2014-11-20 00:25:22.748515"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.749306"], ["updated_at", "2014-11-20 00:25:22.749579"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.753175"], ["updated_at", "2014-11-20 00:25:22.753634"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.753283"], ["updated_at", "2014-11-20 00:25:22.754690"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.753324"], ["updated_at", "2014-11-20 00:25:22.755684"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.756588"], ["updated_at", "2014-11-20 00:25:22.756867"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.760780"], ["updated_at", "2014-11-20 00:25:22.761184"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.760842"], ["updated_at", "2014-11-20 00:25:22.762278"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.760881"], ["updated_at", "2014-11-20 00:25:22.763251"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.763977"], ["updated_at", "2014-11-20 00:25:22.764225"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.768226"], ["updated_at", "2014-11-20 00:25:22.768728"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.768291"], ["updated_at", "2014-11-20 00:25:22.769763"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.768330"], ["updated_at", "2014-11-20 00:25:22.770797"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.771553"], ["updated_at", "2014-11-20 00:25:22.771883"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.775864"], ["updated_at", "2014-11-20 00:25:22.776360"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.775927"], ["updated_at", "2014-11-20 00:25:22.777405"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.775966"], ["updated_at", "2014-11-20 00:25:22.778380"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.779135"], ["updated_at", "2014-11-20 00:25:22.779387"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.783482"], ["updated_at", "2014-11-20 00:25:22.783939"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.783540"], ["updated_at", "2014-11-20 00:25:22.785155"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.783578"], ["updated_at", "2014-11-20 00:25:22.786207"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.786944"], ["updated_at", "2014-11-20 00:25:22.787191"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.790924"], ["updated_at", "2014-11-20 00:25:22.791413"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.791000"], ["updated_at", "2014-11-20 00:25:22.792523"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.791044"], ["updated_at", "2014-11-20 00:25:22.793488"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.794227"], ["updated_at", "2014-11-20 00:25:22.794488"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.798711"], ["updated_at", "2014-11-20 00:25:22.799111"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.798773"], ["updated_at", "2014-11-20 00:25:22.800147"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.798811"], ["updated_at", "2014-11-20 00:25:22.801046"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.801741"], ["updated_at", "2014-11-20 00:25:22.802050"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:25:22.803039"], ["updated_at", "2014-11-20 00:25:22.803039"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:25:22.804074"], ["updated_at", "2014-11-20 00:25:22.804074"], ["value", 3]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.808439"], ["updated_at", "2014-11-20 00:25:22.809084"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.808499"], ["updated_at", "2014-11-20 00:25:22.810611"]]  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.808537"], ["updated_at", "2014-11-20 00:25:22.811936"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.813051"], ["updated_at", "2014-11-20 00:25:22.813323"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:25:22.814431"], ["updated_at", "2014-11-20 00:25:22.814431"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:25:22.815494"], ["updated_at", "2014-11-20 00:25:22.815494"], ["value", 3]]  (0.2ms) COMMIT  (0.4ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.820214"], ["updated_at", "2014-11-20 00:25:22.820638"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.820275"], ["updated_at", "2014-11-20 00:25:22.821710"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.820357"], ["updated_at", "2014-11-20 00:25:22.822719"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.823441"], ["updated_at", "2014-11-20 00:25:22.823726"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:25:22.824624"], ["updated_at", "2014-11-20 00:25:22.824624"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:25:22.825613"], ["updated_at", "2014-11-20 00:25:22.825613"], ["value", 3]]  (0.3ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.828809"], ["updated_at", "2014-11-20 00:25:22.829183"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.828868"], ["updated_at", "2014-11-20 00:25:22.830312"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.828906"], ["updated_at", "2014-11-20 00:25:22.831819"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.833076"], ["updated_at", "2014-11-20 00:25:22.833487"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.837230"], ["updated_at", "2014-11-20 00:25:22.837659"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.837287"], ["updated_at", "2014-11-20 00:25:22.838762"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.837362"], ["updated_at", "2014-11-20 00:25:22.839763"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:22.840593"], ["updated_at", "2014-11-20 00:25:22.840855"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.844905"], ["updated_at", "2014-11-20 00:25:22.845385"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:22.845008"], ["updated_at", "2014-11-20 00:25:22.846569"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.845046"], ["updated_at", "2014-11-20 00:25:22.847538"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.845081"], ["updated_at", "2014-11-20 00:25:22.848554"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.863479"], ["updated_at", "2014-11-20 00:25:22.864015"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:22.863578"], ["updated_at", "2014-11-20 00:25:22.865229"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.863616"], ["updated_at", "2014-11-20 00:25:22.866272"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.863652"], ["updated_at", "2014-11-20 00:25:22.867364"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.882565"], ["updated_at", "2014-11-20 00:25:22.883108"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:22.882661"], ["updated_at", "2014-11-20 00:25:22.884368"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.882700"], ["updated_at", "2014-11-20 00:25:22.885489"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.882736"], ["updated_at", "2014-11-20 00:25:22.886997"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.896366"], ["updated_at", "2014-11-20 00:25:22.896876"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:22.896431"], ["updated_at", "2014-11-20 00:25:22.898088"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.896470"], ["updated_at", "2014-11-20 00:25:22.899206"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.896532"], ["updated_at", "2014-11-20 00:25:22.900352"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.909396"], ["updated_at", "2014-11-20 00:25:22.909929"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:22.909451"], ["updated_at", "2014-11-20 00:25:22.911070"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.909487"], ["updated_at", "2014-11-20 00:25:22.912142"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.909569"], ["updated_at", "2014-11-20 00:25:22.913150"]]  (0.3ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.927389"], ["updated_at", "2014-11-20 00:25:22.928020"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:22.927465"], ["updated_at", "2014-11-20 00:25:22.929345"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.927554"], ["updated_at", "2014-11-20 00:25:22.930431"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.927593"], ["updated_at", "2014-11-20 00:25:22.931510"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.946853"], ["updated_at", "2014-11-20 00:25:22.947355"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:22.946915"], ["updated_at", "2014-11-20 00:25:22.948459"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.946953"], ["updated_at", "2014-11-20 00:25:22.949657"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.947017"], ["updated_at", "2014-11-20 00:25:22.950749"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.960343"], ["updated_at", "2014-11-20 00:25:22.960846"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:22.960401"], ["updated_at", "2014-11-20 00:25:22.962063"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.960437"], ["updated_at", "2014-11-20 00:25:22.963129"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.960473"], ["updated_at", "2014-11-20 00:25:22.964167"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.973365"], ["updated_at", "2014-11-20 00:25:22.973851"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:22.973425"], ["updated_at", "2014-11-20 00:25:22.974923"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.973480"], ["updated_at", "2014-11-20 00:25:22.975906"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.973517"], ["updated_at", "2014-11-20 00:25:22.976912"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.986211"], ["updated_at", "2014-11-20 00:25:22.986814"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:22.986274"], ["updated_at", "2014-11-20 00:25:22.988110"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.986334"], ["updated_at", "2014-11-20 00:25:22.989172"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.986384"], ["updated_at", "2014-11-20 00:25:22.990192"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:22.999058"], ["updated_at", "2014-11-20 00:25:22.999510"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:22.999113"], ["updated_at", "2014-11-20 00:25:23.000573"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:22.999164"], ["updated_at", "2014-11-20 00:25:23.001543"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:22.999200"], ["updated_at", "2014-11-20 00:25:23.002507"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:23.011616"], ["updated_at", "2014-11-20 00:25:23.012102"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:23.011690"], ["updated_at", "2014-11-20 00:25:23.013144"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:23.011742"], ["updated_at", "2014-11-20 00:25:23.014104"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:23.011788"], ["updated_at", "2014-11-20 00:25:23.015016"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.4ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:23.029793"], ["updated_at", "2014-11-20 00:25:23.030657"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:23.029903"], ["updated_at", "2014-11-20 00:25:23.032263"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:23.029967"], ["updated_at", "2014-11-20 00:25:23.033344"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:23.030086"], ["updated_at", "2014-11-20 00:25:23.034392"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:23.048908"], ["updated_at", "2014-11-20 00:25:23.049422"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:23.048981"], ["updated_at", "2014-11-20 00:25:23.050662"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:23.049020"], ["updated_at", "2014-11-20 00:25:23.051806"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:23.049061"], ["updated_at", "2014-11-20 00:25:23.052815"]]  (0.3ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:23.066578"], ["updated_at", "2014-11-20 00:25:23.067110"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:23.066660"], ["updated_at", "2014-11-20 00:25:23.068267"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:23.066707"], ["updated_at", "2014-11-20 00:25:23.069333"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:23.066751"], ["updated_at", "2014-11-20 00:25:23.070393"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:23.080364"], ["updated_at", "2014-11-20 00:25:23.080920"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:23.080436"], ["updated_at", "2014-11-20 00:25:23.082259"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:23.080482"], ["updated_at", "2014-11-20 00:25:23.083361"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:23.080532"], ["updated_at", "2014-11-20 00:25:23.084447"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:23.098663"], ["updated_at", "2014-11-20 00:25:23.099173"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:23.098729"], ["updated_at", "2014-11-20 00:25:23.100404"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:23.098771"], ["updated_at", "2014-11-20 00:25:23.101556"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:23.098810"], ["updated_at", "2014-11-20 00:25:23.102528"]]  (0.2ms) COMMIT  (2.1ms) DROP TABLE "users"  (3.4ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.056252"], ["updated_at", "2014-11-20 00:25:41.065211"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.056376"], ["updated_at", "2014-11-20 00:25:41.068978"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.056417"], ["updated_at", "2014-11-20 00:25:41.070006"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.056470"], ["updated_at", "2014-11-20 00:25:41.071243"]]  (0.2ms) COMMIT  (0.4ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.081268"], ["updated_at", "2014-11-20 00:25:41.081772"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.081335"], ["updated_at", "2014-11-20 00:25:41.082889"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.081373"], ["updated_at", "2014-11-20 00:25:41.083938"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.081413"], ["updated_at", "2014-11-20 00:25:41.084850"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.100746"], ["updated_at", "2014-11-20 00:25:41.101271"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.100830"], ["updated_at", "2014-11-20 00:25:41.102432"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.100869"], ["updated_at", "2014-11-20 00:25:41.103403"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.100905"], ["updated_at", "2014-11-20 00:25:41.104346"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.114093"], ["updated_at", "2014-11-20 00:25:41.114609"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.114158"], ["updated_at", "2014-11-20 00:25:41.115816"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.114211"], ["updated_at", "2014-11-20 00:25:41.116791"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.114247"], ["updated_at", "2014-11-20 00:25:41.117893"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.127607"], ["updated_at", "2014-11-20 00:25:41.128083"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.127674"], ["updated_at", "2014-11-20 00:25:41.129285"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.127713"], ["updated_at", "2014-11-20 00:25:41.130331"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.127748"], ["updated_at", "2014-11-20 00:25:41.131279"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.4ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.141786"], ["updated_at", "2014-11-20 00:25:41.142298"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.141850"], ["updated_at", "2014-11-20 00:25:41.143506"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.141889"], ["updated_at", "2014-11-20 00:25:41.144466"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.141930"], ["updated_at", "2014-11-20 00:25:41.145416"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.160568"], ["updated_at", "2014-11-20 00:25:41.161107"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.160647"], ["updated_at", "2014-11-20 00:25:41.162214"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.160706"], ["updated_at", "2014-11-20 00:25:41.163216"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.160747"], ["updated_at", "2014-11-20 00:25:41.164195"]]  (0.3ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.179061"], ["updated_at", "2014-11-20 00:25:41.179564"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.179124"], ["updated_at", "2014-11-20 00:25:41.180684"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.179163"], ["updated_at", "2014-11-20 00:25:41.181787"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.179198"], ["updated_at", "2014-11-20 00:25:41.182764"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.191660"], ["updated_at", "2014-11-20 00:25:41.192275"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.191728"], ["updated_at", "2014-11-20 00:25:41.193424"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.191778"], ["updated_at", "2014-11-20 00:25:41.194418"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.191814"], ["updated_at", "2014-11-20 00:25:41.195387"]]  (0.3ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.209871"], ["updated_at", "2014-11-20 00:25:41.210367"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.209949"], ["updated_at", "2014-11-20 00:25:41.211501"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.209993"], ["updated_at", "2014-11-20 00:25:41.212484"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.210029"], ["updated_at", "2014-11-20 00:25:41.213440"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.229009"], ["updated_at", "2014-11-20 00:25:41.229581"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.229091"], ["updated_at", "2014-11-20 00:25:41.230774"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.229132"], ["updated_at", "2014-11-20 00:25:41.231815"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.229168"], ["updated_at", "2014-11-20 00:25:41.232825"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.241669"], ["updated_at", "2014-11-20 00:25:41.242132"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.241735"], ["updated_at", "2014-11-20 00:25:41.243125"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.241774"], ["updated_at", "2014-11-20 00:25:41.244126"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.241809"], ["updated_at", "2014-11-20 00:25:41.245159"]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.259781"], ["updated_at", "2014-11-20 00:25:41.260277"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.259854"], ["updated_at", "2014-11-20 00:25:41.261339"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.259897"], ["updated_at", "2014-11-20 00:25:41.262390"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.259946"], ["updated_at", "2014-11-20 00:25:41.263303"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.266421"], ["updated_at", "2014-11-20 00:25:41.266907"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.266492"], ["updated_at", "2014-11-20 00:25:41.267945"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.266531"], ["updated_at", "2014-11-20 00:25:41.268979"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.266567"], ["updated_at", "2014-11-20 00:25:41.269924"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.4ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.280169"], ["updated_at", "2014-11-20 00:25:41.280860"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.280250"], ["updated_at", "2014-11-20 00:25:41.282028"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.280384"], ["updated_at", "2014-11-20 00:25:41.283013"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.280474"], ["updated_at", "2014-11-20 00:25:41.283964"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.292741"], ["updated_at", "2014-11-20 00:25:41.293297"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.292809"], ["updated_at", "2014-11-20 00:25:41.294340"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.292902"], ["updated_at", "2014-11-20 00:25:41.295230"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.292941"], ["updated_at", "2014-11-20 00:25:41.296164"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.311310"], ["updated_at", "2014-11-20 00:25:41.311854"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-20 00:25:41.311379"], ["updated_at", "2014-11-20 00:25:41.313089"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.311426"], ["updated_at", "2014-11-20 00:25:41.314139"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.311465"], ["updated_at", "2014-11-20 00:25:41.315095"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') Processing by Prosperity::MetricsController#index as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/metrics/index.html.erb within layouts/prosperity/application (2.9ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/layouts/prosperity/base.html.erb (1.2ms) Completed 200 OK in 55ms (Views: 52.8ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.4ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.6ms) Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (1.5ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-08-18 07:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 1.6ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-11-19 00:00:00 -0800, "end_time"=>2014-11-19 23:59:59 -0800, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-11-17 08:00:00.000000' AND '2014-11-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.434145"], ["updated_at", "2014-11-20 00:25:41.434710"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.434235"], ["updated_at", "2014-11-20 00:25:41.435960"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.434278"], ["updated_at", "2014-11-20 00:25:41.437277"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.438120"], ["updated_at", "2014-11-20 00:25:41.438498"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.442648"], ["updated_at", "2014-11-20 00:25:41.443290"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.442741"], ["updated_at", "2014-11-20 00:25:41.444675"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.442794"], ["updated_at", "2014-11-20 00:25:41.445866"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.446652"], ["updated_at", "2014-11-20 00:25:41.446929"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.451668"], ["updated_at", "2014-11-20 00:25:41.452191"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.451755"], ["updated_at", "2014-11-20 00:25:41.453259"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.451799"], ["updated_at", "2014-11-20 00:25:41.454205"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.454893"], ["updated_at", "2014-11-20 00:25:41.455154"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.458666"], ["updated_at", "2014-11-20 00:25:41.459136"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.458732"], ["updated_at", "2014-11-20 00:25:41.460220"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.458772"], ["updated_at", "2014-11-20 00:25:41.461322"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.462027"], ["updated_at", "2014-11-20 00:25:41.462290"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.465562"], ["updated_at", "2014-11-20 00:25:41.465958"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.465629"], ["updated_at", "2014-11-20 00:25:41.466936"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.465670"], ["updated_at", "2014-11-20 00:25:41.467816"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.468590"], ["updated_at", "2014-11-20 00:25:41.468870"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.472364"], ["updated_at", "2014-11-20 00:25:41.472813"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.472429"], ["updated_at", "2014-11-20 00:25:41.473840"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.472470"], ["updated_at", "2014-11-20 00:25:41.474873"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.475567"], ["updated_at", "2014-11-20 00:25:41.475824"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.480167"], ["updated_at", "2014-11-20 00:25:41.480861"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.480273"], ["updated_at", "2014-11-20 00:25:41.482525"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.480336"], ["updated_at", "2014-11-20 00:25:41.483699"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.484375"], ["updated_at", "2014-11-20 00:25:41.484645"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.488499"], ["updated_at", "2014-11-20 00:25:41.488895"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.488560"], ["updated_at", "2014-11-20 00:25:41.489847"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.488600"], ["updated_at", "2014-11-20 00:25:41.490708"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.491398"], ["updated_at", "2014-11-20 00:25:41.491671"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.495398"], ["updated_at", "2014-11-20 00:25:41.495889"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.495472"], ["updated_at", "2014-11-20 00:25:41.496937"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.495514"], ["updated_at", "2014-11-20 00:25:41.497885"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.498661"], ["updated_at", "2014-11-20 00:25:41.498940"]]  (0.2ms) COMMIT  (0.3ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.503179"], ["updated_at", "2014-11-20 00:25:41.503667"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.503243"], ["updated_at", "2014-11-20 00:25:41.504914"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.503282"], ["updated_at", "2014-11-20 00:25:41.505965"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.506741"], ["updated_at", "2014-11-20 00:25:41.507000"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.510996"], ["updated_at", "2014-11-20 00:25:41.511449"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.511070"], ["updated_at", "2014-11-20 00:25:41.512571"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.511112"], ["updated_at", "2014-11-20 00:25:41.513625"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.514384"], ["updated_at", "2014-11-20 00:25:41.514693"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.518599"], ["updated_at", "2014-11-20 00:25:41.519070"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.518674"], ["updated_at", "2014-11-20 00:25:41.520201"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.518714"], ["updated_at", "2014-11-20 00:25:41.521139"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.521866"], ["updated_at", "2014-11-20 00:25:41.522122"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.525961"], ["updated_at", "2014-11-20 00:25:41.526382"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.526027"], ["updated_at", "2014-11-20 00:25:41.527383"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.526068"], ["updated_at", "2014-11-20 00:25:41.528298"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.528999"], ["updated_at", "2014-11-20 00:25:41.529258"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.532694"], ["updated_at", "2014-11-20 00:25:41.533123"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.532761"], ["updated_at", "2014-11-20 00:25:41.534124"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.532802"], ["updated_at", "2014-11-20 00:25:41.535071"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.535798"], ["updated_at", "2014-11-20 00:25:41.536068"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.540302"], ["updated_at", "2014-11-20 00:25:41.540744"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.540368"], ["updated_at", "2014-11-20 00:25:41.541790"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.540410"], ["updated_at", "2014-11-20 00:25:41.542789"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.543483"], ["updated_at", "2014-11-20 00:25:41.543762"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.547060"], ["updated_at", "2014-11-20 00:25:41.547526"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.547126"], ["updated_at", "2014-11-20 00:25:41.548533"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.547166"], ["updated_at", "2014-11-20 00:25:41.549473"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.550357"], ["updated_at", "2014-11-20 00:25:41.550644"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.554308"], ["updated_at", "2014-11-20 00:25:41.554762"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.554375"], ["updated_at", "2014-11-20 00:25:41.555868"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.554416"], ["updated_at", "2014-11-20 00:25:41.556781"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.557525"], ["updated_at", "2014-11-20 00:25:41.557802"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.560892"], ["updated_at", "2014-11-20 00:25:41.561336"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.560964"], ["updated_at", "2014-11-20 00:25:41.562336"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.561006"], ["updated_at", "2014-11-20 00:25:41.563294"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.563991"], ["updated_at", "2014-11-20 00:25:41.564274"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.567909"], ["updated_at", "2014-11-20 00:25:41.568374"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.567980"], ["updated_at", "2014-11-20 00:25:41.569541"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.568021"], ["updated_at", "2014-11-20 00:25:41.570554"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.571331"], ["updated_at", "2014-11-20 00:25:41.571597"]]  (0.2ms) COMMIT  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.578108"], ["updated_at", "2014-11-20 00:25:41.578514"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.578170"], ["updated_at", "2014-11-20 00:25:41.579506"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.578210"], ["updated_at", "2014-11-20 00:25:41.580435"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.581112"], ["updated_at", "2014-11-20 00:25:41.581387"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-18T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.587832"], ["updated_at", "2014-11-20 00:25:41.588270"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.587900"], ["updated_at", "2014-11-20 00:25:41.589263"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.587940"], ["updated_at", "2014-11-20 00:25:41.590166"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.590847"], ["updated_at", "2014-11-20 00:25:41.591095"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.593512"], ["updated_at", "2014-11-20 00:25:41.593931"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.593577"], ["updated_at", "2014-11-20 00:25:41.595004"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.593618"], ["updated_at", "2014-11-20 00:25:41.596007"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.596667"], ["updated_at", "2014-11-20 00:25:41.596941"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-11-03T00:00:00Z' AND '2014-11-23T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.599848"], ["updated_at", "2014-11-20 00:25:41.600308"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.599915"], ["updated_at", "2014-11-20 00:25:41.601359"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.599955"], ["updated_at", "2014-11-20 00:25:41.602275"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.603092"], ["updated_at", "2014-11-20 00:25:41.603389"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:25:41.604301"], ["updated_at", "2014-11-20 00:25:41.604301"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:25:41.605482"], ["updated_at", "2014-11-20 00:25:41.605482"], ["value", 3]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-11-01 00:00:00.000000' AND '2014-11-30 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.609916"], ["updated_at", "2014-11-20 00:25:41.610344"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.609978"], ["updated_at", "2014-11-20 00:25:41.611484"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.610017"], ["updated_at", "2014-11-20 00:25:41.612497"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.613263"], ["updated_at", "2014-11-20 00:25:41.613515"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:25:41.614424"], ["updated_at", "2014-11-20 00:25:41.614424"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:25:41.615403"], ["updated_at", "2014-11-20 00:25:41.615403"], ["value", 3]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-11-01T00:00:00Z' AND '2014-11-30T23:59:59Z') GROUP BY bucket  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.619135"], ["updated_at", "2014-11-20 00:25:41.619537"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.619201"], ["updated_at", "2014-11-20 00:25:41.620513"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.619242"], ["updated_at", "2014-11-20 00:25:41.621378"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-13 00:25:41.622034"], ["updated_at", "2014-11-20 00:25:41.622276"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:25:41.623177"], ["updated_at", "2014-11-20 00:25:41.623177"], ["value", 1]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-20 00:25:41.624075"], ["updated_at", "2014-11-20 00:25:41.624075"], ["value", 3]]  (0.3ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:41.634770"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:41.634770"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.640669"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.640669"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"249", "graph_id"=>"301"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 301]] Prosperity::Dashboard Load (0.5ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 249]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 249 AND "prosperity_dashboard_graphs"."graph_id" = 301) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:41.661168"], ["dashboard_id", 249], ["graph_id", 301], ["updated_at", "2014-11-20 00:25:41.661168"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/249/edit Completed 302 Found in 19ms (ActiveRecord: 1.9ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 301]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 249]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:41.667821"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:41.667821"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.669419"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.669419"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"250", "graph_id"=>"302"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 302]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 250]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 250 AND "prosperity_dashboard_graphs"."graph_id" = 302) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:41.673758"], ["dashboard_id", 250], ["graph_id", 302], ["updated_at", "2014-11-20 00:25:41.673758"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/250/edit Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"250", "graph_id"=>"302"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 302]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 250]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 250 AND "prosperity_dashboard_graphs"."graph_id" = 302) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/250/edit Completed 302 Found in 7ms (ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.684377"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.684377"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:41.686085"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:41.686085"]]  (0.3ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 251 AND "prosperity_dashboard_graphs"."graph_id" = 303) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:41.688087"], ["dashboard_id", 251], ["graph_id", 303], ["updated_at", "2014-11-20 00:25:41.688087"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"251", "graph_id"=>"303"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 303]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 251]] Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 303 AND "prosperity_dashboard_graphs"."dashboard_id" = 251 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 63]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/251/edit Completed 302 Found in 6ms (ActiveRecord: 1.2ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:41.698598"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:41.698598"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.700126"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.700126"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"252", "graph_id"=>"304"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 304]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 252]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 304 AND "prosperity_dashboard_graphs"."dashboard_id" = 252 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (6.0ms) Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.738954"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.738954"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"305"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 305]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.3ms) Prosperity::GraphLine Load (0.4ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 305]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Completed 200 OK in 22ms (Views: 9.4ms | ActiveRecord: 2.0ms)  (0.3ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.768431"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.768431"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/306/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.5ms) Completed 200 OK in 9ms (Views: 4.7ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.783173"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.783173"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"307"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 307]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 307]] Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.788193"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.788193"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:25:41.790620"], ["extractor", "count"], ["graph_id", 308], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:25:41.790620"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"308"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 308]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 308]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.797615"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.797615"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"309"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 309]] Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.805497"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.805497"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"310"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 310]] Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.810624"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.810624"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"311"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 311]] Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.2ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 1ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.818256"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.818256"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"312"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 312]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:25:41.822527"], ["extractor", "count"], ["graph_id", 312], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:25:41.822527"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/312/edit Completed 302 Found in 3ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 312]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 312]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.827002"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.827002"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:25:41.828779"], ["extractor", "count"], ["graph_id", 313], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:25:41.828779"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"103"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"313"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 313]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (103) [["graph_id", 313]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 103 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-11-20 00:25:41.834003"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/313/edit Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 103]] Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 313]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 313]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.839814"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.839814"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:25:41.842065"], ["extractor", "count"], ["graph_id", 314], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:25:41.842065"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 314]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"104", "_destroy"=>true}}}, "id"=>"314"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 314]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (104) [["graph_id", 314]] SQL (0.1ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 104]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/314/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 104 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-11-20 00:25:41.850614"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-11-20 00:25:41.850614"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-11-20 00:25:41.852441"], ["extractor", "count"], ["graph_id", 315], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-11-20 00:25:41.852441"]]  (0.2ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 315]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"105", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"315"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 315]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (105) [["graph_id", 315]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 105 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-11-20 00:25:41.857653"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/315/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 315]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 315]] SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.870050"], ["updated_at", "2014-11-20 00:25:41.870744"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.870171"], ["updated_at", "2014-11-20 00:25:41.872014"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.870228"], ["updated_at", "2014-11-20 00:25:41.873026"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.879508"], ["updated_at", "2014-11-20 00:25:41.879915"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.879570"], ["updated_at", "2014-11-20 00:25:41.880892"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.879610"], ["updated_at", "2014-11-20 00:25:41.881785"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.890424"], ["updated_at", "2014-11-20 00:25:41.890909"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.890498"], ["updated_at", "2014-11-20 00:25:41.892004"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.890540"], ["updated_at", "2014-11-20 00:25:41.893040"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.899076"], ["updated_at", "2014-11-20 00:25:41.899635"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.899146"], ["updated_at", "2014-11-20 00:25:41.900805"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.899186"], ["updated_at", "2014-11-20 00:25:41.901898"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.907883"], ["updated_at", "2014-11-20 00:25:41.908347"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.907953"], ["updated_at", "2014-11-20 00:25:41.909456"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.907993"], ["updated_at", "2014-11-20 00:25:41.910425"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (33.9ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.950749"], ["updated_at", "2014-11-20 00:25:41.951254"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.950830"], ["updated_at", "2014-11-20 00:25:41.952506"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.950871"], ["updated_at", "2014-11-20 00:25:41.953705"]]  (0.3ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.962518"], ["updated_at", "2014-11-20 00:25:41.962962"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.962579"], ["updated_at", "2014-11-20 00:25:41.963960"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.962665"], ["updated_at", "2014-11-20 00:25:41.964839"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.973523"], ["updated_at", "2014-11-20 00:25:41.973947"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.973584"], ["updated_at", "2014-11-20 00:25:41.975044"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.973622"], ["updated_at", "2014-11-20 00:25:41.976402"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.982658"], ["updated_at", "2014-11-20 00:25:41.983116"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.982730"], ["updated_at", "2014-11-20 00:25:41.984390"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.982769"], ["updated_at", "2014-11-20 00:25:41.985387"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:41.994012"], ["updated_at", "2014-11-20 00:25:41.994554"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:41.994075"], ["updated_at", "2014-11-20 00:25:41.995760"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:41.994225"], ["updated_at", "2014-11-20 00:25:41.996653"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:42.006586"], ["updated_at", "2014-11-20 00:25:42.007053"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:42.006652"], ["updated_at", "2014-11-20 00:25:42.008177"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:42.006692"], ["updated_at", "2014-11-20 00:25:42.009131"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:42.014349"], ["updated_at", "2014-11-20 00:25:42.014742"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:42.014405"], ["updated_at", "2014-11-20 00:25:42.015681"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:42.014470"], ["updated_at", "2014-11-20 00:25:42.016700"]]  (0.2ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:42.025815"], ["updated_at", "2014-11-20 00:25:42.026267"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:42.025886"], ["updated_at", "2014-11-20 00:25:42.027406"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:42.025926"], ["updated_at", "2014-11-20 00:25:42.028409"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:42.036904"], ["updated_at", "2014-11-20 00:25:42.037405"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:42.036974"], ["updated_at", "2014-11-20 00:25:42.038609"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:42.037016"], ["updated_at", "2014-11-20 00:25:42.039589"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:42.048884"], ["updated_at", "2014-11-20 00:25:42.049413"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:42.048961"], ["updated_at", "2014-11-20 00:25:42.050826"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:42.049005"], ["updated_at", "2014-11-20 00:25:42.051946"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.4ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:42.062864"], ["updated_at", "2014-11-20 00:25:42.063439"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:42.062938"], ["updated_at", "2014-11-20 00:25:42.064717"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:42.063052"], ["updated_at", "2014-11-20 00:25:42.065748"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:42.071801"], ["updated_at", "2014-11-20 00:25:42.072211"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:42.071860"], ["updated_at", "2014-11-20 00:25:42.073249"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:42.071897"], ["updated_at", "2014-11-20 00:25:42.074191"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-11-20 00:25:42.080042"], ["updated_at", "2014-11-20 00:25:42.080539"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-20 00:25:42.080108"], ["updated_at", "2014-11-20 00:25:42.081742"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-20 00:25:42.080149"], ["updated_at", "2014-11-20 00:25:42.082805"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:42.086465"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:42.086465"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.6ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 132ms (Views: 131.3ms | ActiveRecord: 0.6ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:42.223159"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:42.223159"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"254"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 254]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.4ms) Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 254]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 254]] Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:42.241171"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:42.241171"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:42.250024"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:42.250024"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"256"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 256]]  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 256]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.8ms) Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 256 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:42.257498"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:42.257498"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:42.260819"], ["default", "f"], ["title", "test"], ["updated_at", "2014-11-20 00:25:42.260819"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/258/edit Completed 302 Found in 2ms (ActiveRecord: 0.6ms)  (0.3ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:42.264622"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:42.264622"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-20 00:25:42.274183"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-11-20 00:25:42.274183"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"260"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 260]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 260]] Prosperity::Graph Load (0.8ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 1.5ms)  (44.5ms) DROP TABLE "users"  (83.1ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) SQL (0.4ms) DELETE FROM "users"  (0.5ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.085782"], ["updated_at", "2014-12-22 15:14:11.114300"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.087527"], ["updated_at", "2014-12-22 15:14:11.118833"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.087625"], ["updated_at", "2014-12-22 15:14:11.119925"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.087689"], ["updated_at", "2014-12-22 15:14:11.120871"]]  (0.2ms) COMMIT  (1.5ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.138425"], ["updated_at", "2014-12-22 15:14:11.138960"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.138499"], ["updated_at", "2014-12-22 15:14:11.140128"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.138541"], ["updated_at", "2014-12-22 15:14:11.141111"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.138586"], ["updated_at", "2014-12-22 15:14:11.142063"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.156912"], ["updated_at", "2014-12-22 15:14:11.157519"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.156990"], ["updated_at", "2014-12-22 15:14:11.158817"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.157032"], ["updated_at", "2014-12-22 15:14:11.159849"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.157090"], ["updated_at", "2014-12-22 15:14:11.160804"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.173697"], ["updated_at", "2014-12-22 15:14:11.174472"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.173797"], ["updated_at", "2014-12-22 15:14:11.176001"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.173857"], ["updated_at", "2014-12-22 15:14:11.177011"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.173914"], ["updated_at", "2014-12-22 15:14:11.178026"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.186756"], ["updated_at", "2014-12-22 15:14:11.187212"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.186815"], ["updated_at", "2014-12-22 15:14:11.188279"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.186853"], ["updated_at", "2014-12-22 15:14:11.189183"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.186889"], ["updated_at", "2014-12-22 15:14:11.190075"]]  (0.4ms) COMMIT  (1.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.206651"], ["updated_at", "2014-12-22 15:14:11.207132"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.206714"], ["updated_at", "2014-12-22 15:14:11.208203"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.206750"], ["updated_at", "2014-12-22 15:14:11.209167"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.206785"], ["updated_at", "2014-12-22 15:14:11.210045"]]  (0.3ms) COMMIT  (0.8ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.224562"], ["updated_at", "2014-12-22 15:14:11.225119"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.224640"], ["updated_at", "2014-12-22 15:14:11.226397"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.224678"], ["updated_at", "2014-12-22 15:14:11.227447"]]  (2.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.224715"], ["updated_at", "2014-12-22 15:14:11.231154"]]  (1.4ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.248275"], ["updated_at", "2014-12-22 15:14:11.248767"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.248341"], ["updated_at", "2014-12-22 15:14:11.249801"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.248383"], ["updated_at", "2014-12-22 15:14:11.250669"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.248419"], ["updated_at", "2014-12-22 15:14:11.251536"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.260255"], ["updated_at", "2014-12-22 15:14:11.260756"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.260325"], ["updated_at", "2014-12-22 15:14:11.261908"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.260363"], ["updated_at", "2014-12-22 15:14:11.262817"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.260399"], ["updated_at", "2014-12-22 15:14:11.263705"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.3ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.280316"], ["updated_at", "2014-12-22 15:14:11.280916"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.280391"], ["updated_at", "2014-12-22 15:14:11.282204"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.280437"], ["updated_at", "2014-12-22 15:14:11.283188"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.280487"], ["updated_at", "2014-12-22 15:14:11.284064"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.294841"], ["updated_at", "2014-12-22 15:14:11.295368"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.294906"], ["updated_at", "2014-12-22 15:14:11.296423"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.294944"], ["updated_at", "2014-12-22 15:14:11.297387"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.294998"], ["updated_at", "2014-12-22 15:14:11.298249"]]  (0.2ms) COMMIT  (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.306881"], ["updated_at", "2014-12-22 15:14:11.307397"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.306956"], ["updated_at", "2014-12-22 15:14:11.308729"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.306996"], ["updated_at", "2014-12-22 15:14:11.309643"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.307050"], ["updated_at", "2014-12-22 15:14:11.310524"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.319015"], ["updated_at", "2014-12-22 15:14:11.319448"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.319072"], ["updated_at", "2014-12-22 15:14:11.320407"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.319110"], ["updated_at", "2014-12-22 15:14:11.321265"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.319146"], ["updated_at", "2014-12-22 15:14:11.322118"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.335871"], ["updated_at", "2014-12-22 15:14:11.336354"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.335931"], ["updated_at", "2014-12-22 15:14:11.337372"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.335968"], ["updated_at", "2014-12-22 15:14:11.338236"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.336002"], ["updated_at", "2014-12-22 15:14:11.339096"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.5ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.348616"], ["updated_at", "2014-12-22 15:14:11.349150"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.348686"], ["updated_at", "2014-12-22 15:14:11.350293"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.348725"], ["updated_at", "2014-12-22 15:14:11.351223"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.348761"], ["updated_at", "2014-12-22 15:14:11.352096"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.360205"], ["updated_at", "2014-12-22 15:14:11.360620"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.360275"], ["updated_at", "2014-12-22 15:14:11.361557"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.360312"], ["updated_at", "2014-12-22 15:14:11.362513"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.360346"], ["updated_at", "2014-12-22 15:14:11.363572"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:11.378538"], ["updated_at", "2014-12-22 15:14:11.379055"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:14:11.378602"], ["updated_at", "2014-12-22 15:14:11.380132"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:11.378643"], ["updated_at", "2014-12-22 15:14:11.381091"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:11.378680"], ["updated_at", "2014-12-22 15:14:11.381976"]]  (0.2ms) COMMIT  (3.0ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (6.6ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:11.402884"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:14:11.402884"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (3.8ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:11.416488"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:11.416488"]]  (0.5ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"261", "graph_id"=>"316"} Prosperity::Graph Load (2.8ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 316]] Prosperity::Dashboard Load (0.6ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 261]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 261 AND "prosperity_dashboard_graphs"."graph_id" = 316) LIMIT 1 SQL (1.4ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:11.449465"], ["dashboard_id", 261], ["graph_id", 316], ["updated_at", "2014-12-22 15:14:11.449465"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/261/edit Completed 302 Found in 27ms (ActiveRecord: 5.6ms)  (0.3ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.4ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 316]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 261]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:11.459449"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:14:11.459449"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:11.461510"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:11.461510"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"262", "graph_id"=>"317"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 317]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 262]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 262 AND "prosperity_dashboard_graphs"."graph_id" = 317) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:11.465720"], ["dashboard_id", 262], ["graph_id", 317], ["updated_at", "2014-12-22 15:14:11.465720"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/262/edit Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"262", "graph_id"=>"317"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 317]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 262]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 262 AND "prosperity_dashboard_graphs"."graph_id" = 317) LIMIT 1  (0.2ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/262/edit Completed 302 Found in 10ms (ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:11.479329"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:11.479329"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:11.480990"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:14:11.480990"]]  (0.3ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 263 AND "prosperity_dashboard_graphs"."graph_id" = 318) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:11.483443"], ["dashboard_id", 263], ["graph_id", 318], ["updated_at", "2014-12-22 15:14:11.483443"]]  (0.3ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"263", "graph_id"=>"318"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 318]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 263]] Prosperity::DashboardGraph Load (2.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 318 AND "prosperity_dashboard_graphs"."dashboard_id" = 263 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 66]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/263/edit Completed 302 Found in 9ms (ActiveRecord: 3.1ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:11.498464"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:14:11.498464"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:11.500024"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:11.500024"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"264", "graph_id"=>"319"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 319]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 264]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 319 AND "prosperity_dashboard_graphs"."dashboard_id" = 264 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms  (0.3ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:11.527353"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:11.527353"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/320/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (12.0ms) Completed 200 OK in 473ms (Views: 468.9ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:12.007384"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:12.007384"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"321"} Prosperity::Graph Load (0.6ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 321]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (2.1ms) Prosperity::GraphLine Load (1.5ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 321]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.7ms) Completed 200 OK in 44ms (Views: 20.1ms | ActiveRecord: 4.2ms) Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.7ms) Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.3ms) BEGIN SQL (0.6ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:12.069491"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:12.069491"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"322"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 322]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 322]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:12.075987"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:12.075987"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (1.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-12-22 15:14:12.078052"], ["extractor", "count"], ["graph_id", 323], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-12-22 15:14:12.078052"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"323"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 323]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 323]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:12.086250"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:12.086250"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"324"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 324]] Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:12.099625"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:12.099625"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"325"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 325]] Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:12.107402"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:12.107402"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"326"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 326]] Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 2ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:12.117269"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:12.117269"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-12-22 15:14:12.119450"], ["extractor", "count"], ["graph_id", 327], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-12-22 15:14:12.119450"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 327]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"107", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"327"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 327]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (107) [["graph_id", 327]] SQL (0.3ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 107 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-12-22 15:14:12.126262"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/327/edit Completed 302 Found in 6ms (ActiveRecord: 1.1ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 327]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 327]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:12.132285"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:12.132285"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-12-22 15:14:12.134467"], ["extractor", "count"], ["graph_id", 328], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-12-22 15:14:12.134467"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 328]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"108", "_destroy"=>true}}}, "id"=>"328"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 328]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (108) [["graph_id", 328]] SQL (0.2ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 108]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/328/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 108 LIMIT 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:12.144425"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:12.144425"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"329"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 329]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-12-22 15:14:12.149821"], ["extractor", "count"], ["graph_id", 329], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-12-22 15:14:12.149821"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/329/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 329]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 329]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:14:12.155247"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:14:12.155247"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-12-22 15:14:12.157405"], ["extractor", "count"], ["graph_id", 330], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-12-22 15:14:12.157405"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"110"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"330"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 330]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.8ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (110) [["graph_id", 330]] SQL (0.5ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 110 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-12-22 15:14:12.165224"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/330/edit Completed 302 Found in 7ms (ActiveRecord: 2.1ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 110]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 330]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 330]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:12.177182"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:14:12.177182"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"265"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 265]]  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 265]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 3ms (ActiveRecord: 0.8ms) Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 265 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:12.186436"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:14:12.186436"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"266"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 266]] Prosperity::Graph Exists (0.4ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 266]] Prosperity::Graph Load (0.8ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 41ms (Views: 38.9ms | ActiveRecord: 1.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:12.231954"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:14:12.231954"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.9ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 147ms (Views: 145.5ms | ActiveRecord: 0.9ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:12.382845"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:14:12.382845"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:12.392747"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:14:12.392747"]]  (0.4ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:12.395935"], ["default", "f"], ["title", "test"], ["updated_at", "2014-12-22 15:14:12.395935"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/270/edit Completed 302 Found in 2ms (ActiveRecord: 0.5ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:12.399166"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:14:12.399166"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:14:12.407146"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:14:12.407146"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"272"} Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 272]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (1.7ms) Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 272]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 272]] Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.7ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 18ms (Views: 17.5ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.3ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-12-22 00:00:00 -0500, "end_time"=>2014-12-22 23:59:59 -0500, "id"=>"UsersMetric"}  (2.1ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-12-22 05:00:00.000000' AND '2014-12-29 04:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 2.2ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (3.4ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-09-22 04:00:00.000000' AND '2014-12-29 04:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 3.4ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.551213"], ["updated_at", "2014-12-22 15:14:12.552164"]]  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.551399"], ["updated_at", "2014-12-22 15:14:12.553956"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.551464"], ["updated_at", "2014-12-22 15:14:12.555486"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.556534"], ["updated_at", "2014-12-22 15:14:12.556936"]]  (0.3ms) COMMIT  (0.4ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.561631"], ["updated_at", "2014-12-22 15:14:12.562249"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.561730"], ["updated_at", "2014-12-22 15:14:12.563728"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.561781"], ["updated_at", "2014-12-22 15:14:12.565160"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.566296"], ["updated_at", "2014-12-22 15:14:12.566763"]]  (0.3ms) COMMIT  (0.4ms)  WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket  SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.571737"], ["updated_at", "2014-12-22 15:14:12.572375"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.571823"], ["updated_at", "2014-12-22 15:14:12.573816"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.571874"], ["updated_at", "2014-12-22 15:14:12.575009"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.575893"], ["updated_at", "2014-12-22 15:14:12.576214"]]  (0.3ms) COMMIT  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.580944"], ["updated_at", "2014-12-22 15:14:12.581595"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.581048"], ["updated_at", "2014-12-22 15:14:12.582847"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.581093"], ["updated_at", "2014-12-22 15:14:12.583789"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.584497"], ["updated_at", "2014-12-22 15:14:12.584769"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.588955"], ["updated_at", "2014-12-22 15:14:12.589385"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.589018"], ["updated_at", "2014-12-22 15:14:12.590490"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.589057"], ["updated_at", "2014-12-22 15:14:12.591484"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.592195"], ["updated_at", "2014-12-22 15:14:12.592685"]]  (0.3ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.598182"], ["updated_at", "2014-12-22 15:14:12.598723"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.598250"], ["updated_at", "2014-12-22 15:14:12.599938"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.598289"], ["updated_at", "2014-12-22 15:14:12.600914"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.601636"], ["updated_at", "2014-12-22 15:14:12.601910"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.605752"], ["updated_at", "2014-12-22 15:14:12.606149"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.605820"], ["updated_at", "2014-12-22 15:14:12.607108"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.605858"], ["updated_at", "2014-12-22 15:14:12.607971"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.608656"], ["updated_at", "2014-12-22 15:14:12.608915"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.612957"], ["updated_at", "2014-12-22 15:14:12.613466"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.613029"], ["updated_at", "2014-12-22 15:14:12.614604"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.613069"], ["updated_at", "2014-12-22 15:14:12.615538"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.616242"], ["updated_at", "2014-12-22 15:14:12.616552"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.620247"], ["updated_at", "2014-12-22 15:14:12.620635"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.620308"], ["updated_at", "2014-12-22 15:14:12.621682"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.620347"], ["updated_at", "2014-12-22 15:14:12.622565"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.623250"], ["updated_at", "2014-12-22 15:14:12.623517"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.627330"], ["updated_at", "2014-12-22 15:14:12.627897"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.627398"], ["updated_at", "2014-12-22 15:14:12.629616"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.627479"], ["updated_at", "2014-12-22 15:14:12.631005"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.631851"], ["updated_at", "2014-12-22 15:14:12.632137"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket  SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.636250"], ["updated_at", "2014-12-22 15:14:12.636788"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.636325"], ["updated_at", "2014-12-22 15:14:12.638067"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.636364"], ["updated_at", "2014-12-22 15:14:12.639185"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.640058"], ["updated_at", "2014-12-22 15:14:12.640434"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.644692"], ["updated_at", "2014-12-22 15:14:12.645198"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.644757"], ["updated_at", "2014-12-22 15:14:12.646593"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.644829"], ["updated_at", "2014-12-22 15:14:12.648022"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.648888"], ["updated_at", "2014-12-22 15:14:12.649182"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.652761"], ["updated_at", "2014-12-22 15:14:12.653201"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.652824"], ["updated_at", "2014-12-22 15:14:12.654178"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.652900"], ["updated_at", "2014-12-22 15:14:12.655113"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.655817"], ["updated_at", "2014-12-22 15:14:12.656056"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.660255"], ["updated_at", "2014-12-22 15:14:12.660672"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.660314"], ["updated_at", "2014-12-22 15:14:12.661684"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.660351"], ["updated_at", "2014-12-22 15:14:12.662551"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.663345"], ["updated_at", "2014-12-22 15:14:12.663677"]]  (0.4ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.667532"], ["updated_at", "2014-12-22 15:14:12.667964"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.667593"], ["updated_at", "2014-12-22 15:14:12.669003"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.667631"], ["updated_at", "2014-12-22 15:14:12.669950"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.670635"], ["updated_at", "2014-12-22 15:14:12.670897"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.674376"], ["updated_at", "2014-12-22 15:14:12.674866"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.674446"], ["updated_at", "2014-12-22 15:14:12.675859"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.674516"], ["updated_at", "2014-12-22 15:14:12.676839"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.677596"], ["updated_at", "2014-12-22 15:14:12.677875"]]  (0.2ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.682784"], ["updated_at", "2014-12-22 15:14:12.683489"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.682928"], ["updated_at", "2014-12-22 15:14:12.685114"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.682977"], ["updated_at", "2014-12-22 15:14:12.686409"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.687199"], ["updated_at", "2014-12-22 15:14:12.687489"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.691185"], ["updated_at", "2014-12-22 15:14:12.692075"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.691260"], ["updated_at", "2014-12-22 15:14:12.693607"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.691302"], ["updated_at", "2014-12-22 15:14:12.694717"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.695492"], ["updated_at", "2014-12-22 15:14:12.695748"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.699611"], ["updated_at", "2014-12-22 15:14:12.700068"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.699672"], ["updated_at", "2014-12-22 15:14:12.701140"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.699710"], ["updated_at", "2014-12-22 15:14:12.702103"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.702798"], ["updated_at", "2014-12-22 15:14:12.703069"]]  (0.2ms) COMMIT  (0.5ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-16T00:00:00Z' AND '2014-12-28T23:59:59Z') GROUP BY bucket  SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.709834"], ["updated_at", "2014-12-22 15:14:12.710337"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.709941"], ["updated_at", "2014-12-22 15:14:12.711470"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.709982"], ["updated_at", "2014-12-22 15:14:12.712440"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.713149"], ["updated_at", "2014-12-22 15:14:12.713428"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-16T00:00:00Z' AND '2014-12-28T23:59:59Z') GROUP BY bucket  SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.720661"], ["updated_at", "2014-12-22 15:14:12.721152"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.720730"], ["updated_at", "2014-12-22 15:14:12.722227"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.720768"], ["updated_at", "2014-12-22 15:14:12.723140"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.723831"], ["updated_at", "2014-12-22 15:14:12.724089"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-12-08T00:00:00Z' AND '2014-12-28T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.726500"], ["updated_at", "2014-12-22 15:14:12.726907"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.726561"], ["updated_at", "2014-12-22 15:14:12.727865"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.726600"], ["updated_at", "2014-12-22 15:14:12.728815"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.729662"], ["updated_at", "2014-12-22 15:14:12.730114"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-12-08T00:00:00Z' AND '2014-12-28T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.733709"], ["updated_at", "2014-12-22 15:14:12.734214"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.733774"], ["updated_at", "2014-12-22 15:14:12.735362"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.733813"], ["updated_at", "2014-12-22 15:14:12.736326"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.737013"], ["updated_at", "2014-12-22 15:14:12.737276"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-12-22 15:14:12.738157"], ["updated_at", "2014-12-22 15:14:12.738157"], ["value", 1]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-12-22 15:14:12.739233"], ["updated_at", "2014-12-22 15:14:12.739233"], ["value", 3]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.743685"], ["updated_at", "2014-12-22 15:14:12.744134"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.743769"], ["updated_at", "2014-12-22 15:14:12.745215"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.743808"], ["updated_at", "2014-12-22 15:14:12.746181"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.746951"], ["updated_at", "2014-12-22 15:14:12.747224"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-12-22 15:14:12.748198"], ["updated_at", "2014-12-22 15:14:12.748198"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-12-22 15:14:12.749228"], ["updated_at", "2014-12-22 15:14:12.749228"], ["value", 3]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.753441"], ["updated_at", "2014-12-22 15:14:12.753873"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.753513"], ["updated_at", "2014-12-22 15:14:12.755066"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.753551"], ["updated_at", "2014-12-22 15:14:12.756131"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:14:12.756871"], ["updated_at", "2014-12-22 15:14:12.757141"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-12-22 15:14:12.758034"], ["updated_at", "2014-12-22 15:14:12.758034"], ["value", 1]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-12-22 15:14:12.758969"], ["updated_at", "2014-12-22 15:14:12.758969"], ["value", 3]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.768113"], ["updated_at", "2014-12-22 15:14:12.768691"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.768226"], ["updated_at", "2014-12-22 15:14:12.769885"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.768266"], ["updated_at", "2014-12-22 15:14:12.770774"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2015-01-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.781895"], ["updated_at", "2014-12-22 15:14:12.782512"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.781991"], ["updated_at", "2014-12-22 15:14:12.783758"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.782058"], ["updated_at", "2014-12-22 15:14:12.784760"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.793176"], ["updated_at", "2014-12-22 15:14:12.793581"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.793235"], ["updated_at", "2014-12-22 15:14:12.794679"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.793273"], ["updated_at", "2014-12-22 15:14:12.795597"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.804228"], ["updated_at", "2014-12-22 15:14:12.804691"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.804321"], ["updated_at", "2014-12-22 15:14:12.805784"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.804359"], ["updated_at", "2014-12-22 15:14:12.806801"]]  (0.3ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.816130"], ["updated_at", "2014-12-22 15:14:12.816658"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.816208"], ["updated_at", "2014-12-22 15:14:12.817810"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.816268"], ["updated_at", "2014-12-22 15:14:12.818820"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.826733"], ["updated_at", "2014-12-22 15:14:12.827248"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.826838"], ["updated_at", "2014-12-22 15:14:12.828336"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.826880"], ["updated_at", "2014-12-22 15:14:12.829281"]]  (0.2ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.838768"], ["updated_at", "2014-12-22 15:14:12.839312"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.838860"], ["updated_at", "2014-12-22 15:14:12.840625"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.838914"], ["updated_at", "2014-12-22 15:14:12.841814"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.848907"], ["updated_at", "2014-12-22 15:14:12.849444"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.848991"], ["updated_at", "2014-12-22 15:14:12.850630"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.849044"], ["updated_at", "2014-12-22 15:14:12.851685"]]  (0.3ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.859621"], ["updated_at", "2014-12-22 15:14:12.860008"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.859679"], ["updated_at", "2014-12-22 15:14:12.861132"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.859719"], ["updated_at", "2014-12-22 15:14:12.862046"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.867729"], ["updated_at", "2014-12-22 15:14:12.868163"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.867791"], ["updated_at", "2014-12-22 15:14:12.869181"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.867831"], ["updated_at", "2014-12-22 15:14:12.870034"]]  (0.2ms) COMMIT  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.875072"], ["updated_at", "2014-12-22 15:14:12.875452"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.875129"], ["updated_at", "2014-12-22 15:14:12.876335"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.875169"], ["updated_at", "2014-12-22 15:14:12.877175"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.883215"], ["updated_at", "2014-12-22 15:14:12.883702"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.883286"], ["updated_at", "2014-12-22 15:14:12.884753"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.883327"], ["updated_at", "2014-12-22 15:14:12.885609"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.893699"], ["updated_at", "2014-12-22 15:14:12.894109"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.893760"], ["updated_at", "2014-12-22 15:14:12.895132"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.893800"], ["updated_at", "2014-12-22 15:14:12.896208"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.901770"], ["updated_at", "2014-12-22 15:14:12.902162"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.901830"], ["updated_at", "2014-12-22 15:14:12.903104"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.901869"], ["updated_at", "2014-12-22 15:14:12.903949"]]  (0.3ms) COMMIT  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.909004"], ["updated_at", "2014-12-22 15:14:12.909369"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.909059"], ["updated_at", "2014-12-22 15:14:12.910284"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.909098"], ["updated_at", "2014-12-22 15:14:12.911161"]]  (0.2ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.918921"], ["updated_at", "2014-12-22 15:14:12.919387"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.918993"], ["updated_at", "2014-12-22 15:14:12.920457"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.919034"], ["updated_at", "2014-12-22 15:14:12.921336"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z' SQL (0.2ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.926198"], ["updated_at", "2014-12-22 15:14:12.926608"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.926255"], ["updated_at", "2014-12-22 15:14:12.927619"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.926325"], ["updated_at", "2014-12-22 15:14:12.928523"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.4ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:14:12.935044"], ["updated_at", "2014-12-22 15:14:12.935554"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:14:12.935129"], ["updated_at", "2014-12-22 15:14:12.936696"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:14:12.935169"], ["updated_at", "2014-12-22 15:14:12.937616"]]  (0.3ms) COMMIT  (6.4ms) DROP TABLE "users"  (6.3ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying(255), "name" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  (0.1ms) BEGIN SQL (0.6ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.377926"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:15:34.377926"]]  (0.5ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/dashboards/new.html.erb within layouts/prosperity/application (11.7ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/layouts/prosperity/base.html.erb (1.4ms) Completed 200 OK in 32ms (Views: 31.5ms | ActiveRecord: 0.0ms)  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.421540"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:15:34.421540"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"274"} Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 274]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (1.8ms) Prosperity::Graph Exists (0.6ms) SELECT 1 AS one FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 LIMIT 1 [["dashboard_id", 274]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 274]] Completed 200 OK in 62ms (Views: 54.7ms | ActiveRecord: 3.6ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.489020"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:15:34.489020"]]  (0.2ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"275"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 275]]  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 275]]  (0.2ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 2ms (ActiveRecord: 0.6ms) Prosperity::Dashboard Load (0.5ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 275 LIMIT 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.500256"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:15:34.500256"]]  (0.4ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.506306"], ["default", "f"], ["title", "test"], ["updated_at", "2014-12-22 15:15:34.506306"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/277/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms)  (0.3ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.512505"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:15:34.512505"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.1ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.521471"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:15:34.521471"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"279"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 279]] Prosperity::Graph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" INNER JOIN "prosperity_dashboard_graphs" ON "prosperity_graphs"."id" = "prosperity_dashboard_graphs"."graph_id" WHERE "prosperity_dashboard_graphs"."dashboard_id" = $1 [["dashboard_id", 279]] Prosperity::Graph Load (0.7ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 27ms (Views: 24.7ms | ActiveRecord: 1.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.552043"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:15:34.552043"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (0.9ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 129ms (Views: 128.4ms | ActiveRecord: 0.9ms)  (0.3ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.687657"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:15:34.687657"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:34.689993"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:34.689993"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"281", "graph_id"=>"331"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 331]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 281]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 281 AND "prosperity_dashboard_graphs"."graph_id" = 331) LIMIT 1 SQL (0.5ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.706903"], ["dashboard_id", 281], ["graph_id", 331], ["updated_at", "2014-12-22 15:15:34.706903"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/281/edit Completed 302 Found in 15ms (ActiveRecord: 1.7ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" ORDER BY "prosperity_dashboard_graphs"."id" DESC LIMIT 1 Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 331]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 281]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.713477"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:15:34.713477"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:34.715254"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:34.715254"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"282", "graph_id"=>"332"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 332]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 282]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 282 AND "prosperity_dashboard_graphs"."graph_id" = 332) LIMIT 1 SQL (0.2ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.720230"], ["dashboard_id", 282], ["graph_id", 332], ["updated_at", "2014-12-22 15:15:34.720230"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/282/edit Completed 302 Found in 4ms (ActiveRecord: 1.3ms) Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"282", "graph_id"=>"332"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 332]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 282]]  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 282 AND "prosperity_dashboard_graphs"."graph_id" = 332) LIMIT 1  (0.1ms) ROLLBACK Redirected to http://test.host/prosperity/dashboards/282/edit Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:34.728975"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:34.728975"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.730637"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:15:34.730637"]]  (0.3ms) COMMIT  (0.1ms) BEGIN Prosperity::DashboardGraph Exists (0.2ms) SELECT 1 AS one FROM "prosperity_dashboard_graphs" WHERE ("prosperity_dashboard_graphs"."dashboard_id" = 283 AND "prosperity_dashboard_graphs"."graph_id" = 333) LIMIT 1 SQL (0.1ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.732620"], ["dashboard_id", 283], ["graph_id", 333], ["updated_at", "2014-12-22 15:15:34.732620"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"283", "graph_id"=>"333"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 333]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 283]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 333 AND "prosperity_dashboard_graphs"."dashboard_id" = 283 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 69]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/283/edit Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-12-22 15:15:34.739548"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-12-22 15:15:34.739548"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:34.740963"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:34.740963"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"284", "graph_id"=>"334"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 334]] Prosperity::Dashboard Load (0.1ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 284]] Prosperity::DashboardGraph Load (0.2ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 334 AND "prosperity_dashboard_graphs"."dashboard_id" = 284 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.746401"], ["updated_at", "2014-12-22 15:15:34.750803"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.746511"], ["updated_at", "2014-12-22 15:15:34.752485"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.746554"], ["updated_at", "2014-12-22 15:15:34.753503"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.754258"], ["updated_at", "2014-12-22 15:15:34.754521"]]  (0.3ms) COMMIT  (1.5ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.759983"], ["updated_at", "2014-12-22 15:15:34.760438"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.760053"], ["updated_at", "2014-12-22 15:15:34.761535"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.760091"], ["updated_at", "2014-12-22 15:15:34.762594"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.763382"], ["updated_at", "2014-12-22 15:15:34.763665"]]  (0.2ms) COMMIT  (0.4ms) SELECT AVG("users"."value") AS average_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.768953"], ["updated_at", "2014-12-22 15:15:34.769496"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.769057"], ["updated_at", "2014-12-22 15:15:34.770884"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.769096"], ["updated_at", "2014-12-22 15:15:34.771857"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.772605"], ["updated_at", "2014-12-22 15:15:34.772854"]]  (0.3ms) COMMIT  (0.4ms) SELECT MIN("users"."value") AS minimum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.778121"], ["updated_at", "2014-12-22 15:15:34.778699"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.778231"], ["updated_at", "2014-12-22 15:15:34.779866"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.778272"], ["updated_at", "2014-12-22 15:15:34.780816"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.781562"], ["updated_at", "2014-12-22 15:15:34.781816"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MIN(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.785385"], ["updated_at", "2014-12-22 15:15:34.785814"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.785443"], ["updated_at", "2014-12-22 15:15:34.786840"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.785480"], ["updated_at", "2014-12-22 15:15:34.787738"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.788398"], ["updated_at", "2014-12-22 15:15:34.788688"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.792222"], ["updated_at", "2014-12-22 15:15:34.792703"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.792296"], ["updated_at", "2014-12-22 15:15:34.793908"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.792334"], ["updated_at", "2014-12-22 15:15:34.794773"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.795504"], ["updated_at", "2014-12-22 15:15:34.795752"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.800387"], ["updated_at", "2014-12-22 15:15:34.800786"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.800445"], ["updated_at", "2014-12-22 15:15:34.801740"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.800497"], ["updated_at", "2014-12-22 15:15:34.802590"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.803249"], ["updated_at", "2014-12-22 15:15:34.803480"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.807185"], ["updated_at", "2014-12-22 15:15:34.807591"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.807259"], ["updated_at", "2014-12-22 15:15:34.808537"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.807298"], ["updated_at", "2014-12-22 15:15:34.809440"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.810225"], ["updated_at", "2014-12-22 15:15:34.810467"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, AVG(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.813965"], ["updated_at", "2014-12-22 15:15:34.814402"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.814026"], ["updated_at", "2014-12-22 15:15:34.815399"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.814073"], ["updated_at", "2014-12-22 15:15:34.816261"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.816911"], ["updated_at", "2014-12-22 15:15:34.817155"]]  (0.2ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, MAX(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.820414"], ["updated_at", "2014-12-22 15:15:34.820835"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.820475"], ["updated_at", "2014-12-22 15:15:34.821764"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.820514"], ["updated_at", "2014-12-22 15:15:34.822605"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.823229"], ["updated_at", "2014-12-22 15:15:34.823474"]]  (0.2ms) COMMIT User Load (0.2ms) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.827922"], ["updated_at", "2014-12-22 15:15:34.828437"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.828019"], ["updated_at", "2014-12-22 15:15:34.829590"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.828060"], ["updated_at", "2014-12-22 15:15:34.830510"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.831288"], ["updated_at", "2014-12-22 15:15:34.831593"]]  (0.4ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.835268"], ["updated_at", "2014-12-22 15:15:34.835659"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.835340"], ["updated_at", "2014-12-22 15:15:34.836642"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.835378"], ["updated_at", "2014-12-22 15:15:34.837529"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.838203"], ["updated_at", "2014-12-22 15:15:34.838443"]]  (0.3ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS maximum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.843309"], ["updated_at", "2014-12-22 15:15:34.843805"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.843383"], ["updated_at", "2014-12-22 15:15:34.844954"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.843422"], ["updated_at", "2014-12-22 15:15:34.845861"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.846586"], ["updated_at", "2014-12-22 15:15:34.846847"]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.851313"], ["updated_at", "2014-12-22 15:15:34.851949"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.851428"], ["updated_at", "2014-12-22 15:15:34.853318"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.851491"], ["updated_at", "2014-12-22 15:15:34.854279"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.855013"], ["updated_at", "2014-12-22 15:15:34.855251"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.895198"], ["updated_at", "2014-12-22 15:15:34.895824"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.895310"], ["updated_at", "2014-12-22 15:15:34.897144"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.895359"], ["updated_at", "2014-12-22 15:15:34.898239"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.899047"], ["updated_at", "2014-12-22 15:15:34.899412"]]  (0.3ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.903124"], ["updated_at", "2014-12-22 15:15:34.903792"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.903188"], ["updated_at", "2014-12-22 15:15:34.904874"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.903235"], ["updated_at", "2014-12-22 15:15:34.906039"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.907020"], ["updated_at", "2014-12-22 15:15:34.907268"]]  (0.4ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( WITH all_columns AS (SELECT * FROM users) SELECT name, created_at FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.912088"], ["updated_at", "2014-12-22 15:15:34.912613"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.912173"], ["updated_at", "2014-12-22 15:15:34.914011"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.912213"], ["updated_at", "2014-12-22 15:15:34.914949"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.915749"], ["updated_at", "2014-12-22 15:15:34.916131"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-12-22 15:15:34.917159"], ["updated_at", "2014-12-22 15:15:34.917159"], ["value", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-12-22 15:15:34.918339"], ["updated_at", "2014-12-22 15:15:34.918339"], ["value", 3]]  (0.2ms) COMMIT SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.921883"], ["updated_at", "2014-12-22 15:15:34.922270"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.921947"], ["updated_at", "2014-12-22 15:15:34.923330"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.921985"], ["updated_at", "2014-12-22 15:15:34.924348"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.925178"], ["updated_at", "2014-12-22 15:15:34.925414"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-12-22 15:15:34.926386"], ["updated_at", "2014-12-22 15:15:34.926386"], ["value", 1]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-12-22 15:15:34.927386"], ["updated_at", "2014-12-22 15:15:34.927386"], ["value", 3]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, SUM(value) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket   (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.932139"], ["updated_at", "2014-12-22 15:15:34.932616"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.932247"], ["updated_at", "2014-12-22 15:15:34.933813"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.932285"], ["updated_at", "2014-12-22 15:15:34.934852"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.936037"], ["updated_at", "2014-12-22 15:15:34.936300"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-12-22 15:15:34.937253"], ["updated_at", "2014-12-22 15:15:34.937253"], ["value", 1]]  (0.4ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-12-22 15:15:34.938291"], ["updated_at", "2014-12-22 15:15:34.938291"], ["value", 3]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_value, to_char(created_at, 'YYYY-MM') AS to_char_created_at_yyyy_mm FROM "users" WHERE (created_at BETWEEN '2013-12-01 00:00:00.000000' AND '2014-12-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.942675"], ["updated_at", "2014-12-22 15:15:34.943170"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.942746"], ["updated_at", "2014-12-22 15:15:34.944647"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.942788"], ["updated_at", "2014-12-22 15:15:34.945962"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.946718"], ["updated_at", "2014-12-22 15:15:34.947010"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.951081"], ["updated_at", "2014-12-22 15:15:34.951476"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.951141"], ["updated_at", "2014-12-22 15:15:34.952536"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.951179"], ["updated_at", "2014-12-22 15:15:34.957936"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.959320"], ["updated_at", "2014-12-22 15:15:34.959621"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-MM') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-01T00:00:00Z' AND '2014-12-31T23:59:59Z') GROUP BY bucket  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.963583"], ["updated_at", "2014-12-22 15:15:34.964039"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.963643"], ["updated_at", "2014-12-22 15:15:34.965098"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.963681"], ["updated_at", "2014-12-22 15:15:34.966034"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.966725"], ["updated_at", "2014-12-22 15:15:34.966956"]]  (0.2ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-16T00:00:00Z' AND '2014-12-28T23:59:59Z') GROUP BY bucket  SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.973817"], ["updated_at", "2014-12-22 15:15:34.974318"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.973934"], ["updated_at", "2014-12-22 15:15:34.975396"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.973973"], ["updated_at", "2014-12-22 15:15:34.976347"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.977284"], ["updated_at", "2014-12-22 15:15:34.977606"]]  (0.2ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2013-12-16T00:00:00Z' AND '2014-12-28T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.984227"], ["updated_at", "2014-12-22 15:15:34.984907"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.984330"], ["updated_at", "2014-12-22 15:15:34.986388"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.984367"], ["updated_at", "2014-12-22 15:15:34.987353"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.988076"], ["updated_at", "2014-12-22 15:15:34.988310"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-12-08T00:00:00Z' AND '2014-12-28T23:59:59Z') GROUP BY bucket  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:34.990899"], ["updated_at", "2014-12-22 15:15:34.991276"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:34.990955"], ["updated_at", "2014-12-22 15:15:34.992294"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:34.990994"], ["updated_at", "2014-12-22 15:15:34.993188"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-12-15 15:15:34.994005"], ["updated_at", "2014-12-22 15:15:34.994347"]]  (0.3ms) COMMIT  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT to_char(created_at, 'YYYY-WW') AS bucket, COUNT(1) AS result FROM prosperity_metric_count WHERE (created_at BETWEEN '2014-12-08T00:00:00Z' AND '2014-12-28T23:59:59Z') GROUP BY bucket  Processing by Prosperity::MetricsController#data as JSON Parameters: {"option"=>"with_1", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"blah"} Filter chain halted as :get_metric rendered or redirected Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-12-22 00:00:00 -0500, "end_time"=>2014-12-22 23:59:59 -0500, "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-12-22 05:00:00.000000' AND '2014-12-29 04:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"does-not-exist", "id"=>"UsersMetric"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "id"=>"UsersMetric"}  (0.3ms) SELECT COUNT(*) AS count_all, to_char(created_at, 'YYYY-WW') AS to_char_created_at_yyyy_ww FROM "users" WHERE (created_at BETWEEN '2014-09-22 04:00:00.000000' AND '2014-12-29 04:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:519:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:518:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb:186:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb:149:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb:174:in `scope' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb:189:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/rainforest/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/rainforest/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/activerecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionview-4.1.0/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/actionpack-4.1.0/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/rainforest/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/example/controller_example_group.rb:159:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:179:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-rails-2.14.2/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:247:in `instance_eval_with_args' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `call' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:108:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb:446:in `run_hook' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:256:in `with_around_each_hooks' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:372:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' /Users/simon/.rvm/gems/ruby-2.1.4@prosperity/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.3ms) Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.3ms) Completed 200 OK in 6ms (Views: 6.1ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.0ms) SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.073914"], ["updated_at", "2014-12-22 15:15:35.074605"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.074073"], ["updated_at", "2014-12-22 15:15:35.075867"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.074115"], ["updated_at", "2014-12-22 15:15:35.076930"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.083471"], ["updated_at", "2014-12-22 15:15:35.083935"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.083534"], ["updated_at", "2014-12-22 15:15:35.085061"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.083573"], ["updated_at", "2014-12-22 15:15:35.086068"]]  (0.3ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.094401"], ["updated_at", "2014-12-22 15:15:35.094972"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.094479"], ["updated_at", "2014-12-22 15:15:35.096616"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.094523"], ["updated_at", "2014-12-22 15:15:35.097669"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.107271"], ["updated_at", "2014-12-22 15:15:35.107727"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.107337"], ["updated_at", "2014-12-22 15:15:35.109342"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.107375"], ["updated_at", "2014-12-22 15:15:35.110415"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.116580"], ["updated_at", "2014-12-22 15:15:35.117025"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.116637"], ["updated_at", "2014-12-22 15:15:35.118092"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.116674"], ["updated_at", "2014-12-22 15:15:35.119093"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.124847"], ["updated_at", "2014-12-22 15:15:35.125247"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.124901"], ["updated_at", "2014-12-22 15:15:35.126606"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.124938"], ["updated_at", "2014-12-22 15:15:35.128051"]]  (0.3ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.138583"], ["updated_at", "2014-12-22 15:15:35.139059"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.138639"], ["updated_at", "2014-12-22 15:15:35.140243"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.138676"], ["updated_at", "2014-12-22 15:15:35.141274"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.151934"], ["updated_at", "2014-12-22 15:15:35.152507"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.152023"], ["updated_at", "2014-12-22 15:15:35.153703"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.152068"], ["updated_at", "2014-12-22 15:15:35.154718"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.161504"], ["updated_at", "2014-12-22 15:15:35.161955"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.161590"], ["updated_at", "2014-12-22 15:15:35.163111"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.161628"], ["updated_at", "2014-12-22 15:15:35.164124"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.169714"], ["updated_at", "2014-12-22 15:15:35.170124"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.169787"], ["updated_at", "2014-12-22 15:15:35.171214"]]  (0.3ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.169825"], ["updated_at", "2014-12-22 15:15:35.172191"]]  (0.3ms) COMMIT User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.180664"], ["updated_at", "2014-12-22 15:15:35.181167"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.180752"], ["updated_at", "2014-12-22 15:15:35.182393"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.180793"], ["updated_at", "2014-12-22 15:15:35.183428"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.188855"], ["updated_at", "2014-12-22 15:15:35.189271"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.188929"], ["updated_at", "2014-12-22 15:15:35.190210"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.188968"], ["updated_at", "2014-12-22 15:15:35.191059"]]  (0.2ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.199723"], ["updated_at", "2014-12-22 15:15:35.200168"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.199786"], ["updated_at", "2014-12-22 15:15:35.201226"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.199830"], ["updated_at", "2014-12-22 15:15:35.202205"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.211389"], ["updated_at", "2014-12-22 15:15:35.211862"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.211458"], ["updated_at", "2014-12-22 15:15:35.212942"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.211510"], ["updated_at", "2014-12-22 15:15:35.213849"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.221807"], ["updated_at", "2014-12-22 15:15:35.222226"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.221870"], ["updated_at", "2014-12-22 15:15:35.223214"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.221921"], ["updated_at", "2014-12-22 15:15:35.224093"]]  (0.2ms) COMMIT  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2015-01-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.234306"], ["updated_at", "2014-12-22 15:15:35.234784"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.234372"], ["updated_at", "2014-12-22 15:15:35.235900"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.234425"], ["updated_at", "2014-12-22 15:15:35.236835"]]  (0.2ms) COMMIT SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.239398"], ["updated_at", "2014-12-22 15:15:35.239835"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.239467"], ["updated_at", "2014-12-22 15:15:35.240886"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.239506"], ["updated_at", "2014-12-22 15:15:35.241793"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.5ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.3ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.248210"], ["updated_at", "2014-12-22 15:15:35.248719"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.248283"], ["updated_at", "2014-12-22 15:15:35.249795"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.248345"], ["updated_at", "2014-12-22 15:15:35.250703"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'  Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:35.267423"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:35.267423"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"335"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 335]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.4ms) Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 335]] Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.1ms) Completed 200 OK in 18ms (Views: 9.8ms | ActiveRecord: 1.6ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}}  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:35.291655"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:35.291655"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/336/edit Completed 302 Found in 3ms (ActiveRecord: 0.6ms)  (0.2ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph  (0.1ms) BEGIN  (0.1ms) ROLLBACK Rendered /Users/simon/Documents/rainforest/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (1.2ms) Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:35.304700"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:35.304700"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-12-22 15:15:35.306666"], ["extractor", "count"], ["graph_id", 337], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-12-22 15:15:35.306666"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 337]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"111", "_destroy"=>true}}}, "id"=>"337"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 337]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (111) [["graph_id", 337]] SQL (0.3ms) DELETE FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 [["id", 111]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/337/edit Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = 111 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:35.315863"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:35.315863"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-12-22 15:15:35.317652"], ["extractor", "count"], ["graph_id", 338], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-12-22 15:15:35.317652"]]  (0.3ms) COMMIT Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 338]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"112", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"338"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 338]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (112) [["graph_id", 338]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "option" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 112 [["extractor", "interval"], ["option", "new_option"], ["updated_at", "2014-12-22 15:15:35.322498"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/338/edit Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 338]] Prosperity::GraphLine Load (0.4ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 ORDER BY "prosperity_graph_lines"."id" ASC LIMIT 1 [["graph_id", 338]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:35.327296"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:35.327296"]]  (0.2ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"339"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 339]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-12-22 15:15:35.331354"], ["extractor", "count"], ["graph_id", 339], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-12-22 15:15:35.331354"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/339/edit Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 339]]  (0.2ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 339]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:35.335305"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:35.335305"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-12-22 15:15:35.337335"], ["extractor", "count"], ["graph_id", 340], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-12-22 15:15:35.337335"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"114"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"340"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 340]]  (0.1ms) BEGIN Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (114) [["graph_id", 340]] SQL (0.2ms) UPDATE "prosperity_graph_lines" SET "extractor" = $1, "metric" = $2, "option" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 114 [["extractor", "interval"], ["metric", "UsersMetric"], ["option", "default"], ["updated_at", "2014-12-22 15:15:35.342759"]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/340/edit Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Prosperity::GraphLine Load (0.3ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 114]] Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 340]]  (0.1ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 340]]  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:35.348783"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:35.348783"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"341"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 341]] Prosperity::GraphLine Load (0.2ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 341]] Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:35.353444"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:35.353444"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graph_lines" ("created_at", "extractor", "graph_id", "metric", "option", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2014-12-22 15:15:35.355098"], ["extractor", "count"], ["graph_id", 342], ["metric", "bar"], ["option", "foo"], ["updated_at", "2014-12-22 15:15:35.355098"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as JSON Parameters: {"id"=>"342"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 342]] Prosperity::GraphLine Load (0.1ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 342]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:35.360132"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:35.360132"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"343"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 343]] Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms) Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"unknown_id"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 0]] Completed 404 Not Found in 1ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:35.369208"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:35.369208"]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"344"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 344]] Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "graph_type", "period", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-12-22 15:15:35.375821"], ["graph_type", "line"], ["period", "month"], ["title", "My Graph"], ["updated_at", "2014-12-22 15:15:35.375821"]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"345"} Prosperity::Graph Load (0.1ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 345]] Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms) SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.382681"], ["updated_at", "2014-12-22 15:15:35.383441"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.382798"], ["updated_at", "2014-12-22 15:15:35.384821"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.382850"], ["updated_at", "2014-12-22 15:15:35.385917"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.382899"], ["updated_at", "2014-12-22 15:15:35.386907"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.396126"], ["updated_at", "2014-12-22 15:15:35.396863"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.396260"], ["updated_at", "2014-12-22 15:15:35.398080"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.396309"], ["updated_at", "2014-12-22 15:15:35.399038"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.396353"], ["updated_at", "2014-12-22 15:15:35.399919"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.409253"], ["updated_at", "2014-12-22 15:15:35.409764"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.409330"], ["updated_at", "2014-12-22 15:15:35.410806"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.409371"], ["updated_at", "2014-12-22 15:15:35.411732"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.409409"], ["updated_at", "2014-12-22 15:15:35.412718"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.425595"], ["updated_at", "2014-12-22 15:15:35.426024"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.425657"], ["updated_at", "2014-12-22 15:15:35.427026"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.425698"], ["updated_at", "2014-12-22 15:15:35.427967"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.425736"], ["updated_at", "2014-12-22 15:15:35.428902"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.442570"], ["updated_at", "2014-12-22 15:15:35.443119"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.442638"], ["updated_at", "2014-12-22 15:15:35.444165"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.442678"], ["updated_at", "2014-12-22 15:15:35.445064"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.442725"], ["updated_at", "2014-12-22 15:15:35.445972"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.454898"], ["updated_at", "2014-12-22 15:15:35.455380"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.454964"], ["updated_at", "2014-12-22 15:15:35.456348"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.455005"], ["updated_at", "2014-12-22 15:15:35.457161"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.455043"], ["updated_at", "2014-12-22 15:15:35.458313"]]  (0.2ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.479730"], ["updated_at", "2014-12-22 15:15:35.480905"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.479834"], ["updated_at", "2014-12-22 15:15:35.482525"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.479873"], ["updated_at", "2014-12-22 15:15:35.484079"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.480484"], ["updated_at", "2014-12-22 15:15:35.485058"]]  (0.2ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000')  (0.1ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.502416"], ["updated_at", "2014-12-22 15:15:35.503011"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.502489"], ["updated_at", "2014-12-22 15:15:35.504559"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.502559"], ["updated_at", "2014-12-22 15:15:35.505652"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.502596"], ["updated_at", "2014-12-22 15:15:35.506637"]]  (0.3ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.516310"], ["updated_at", "2014-12-22 15:15:35.516814"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.516373"], ["updated_at", "2014-12-22 15:15:35.518110"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.516411"], ["updated_at", "2014-12-22 15:15:35.519906"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.516457"], ["updated_at", "2014-12-22 15:15:35.520890"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.530283"], ["updated_at", "2014-12-22 15:15:35.530806"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.530346"], ["updated_at", "2014-12-22 15:15:35.531846"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.530384"], ["updated_at", "2014-12-22 15:15:35.532751"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.530420"], ["updated_at", "2014-12-22 15:15:35.533732"]]  (0.2ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.547064"], ["updated_at", "2014-12-22 15:15:35.547602"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.547138"], ["updated_at", "2014-12-22 15:15:35.548699"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.547178"], ["updated_at", "2014-12-22 15:15:35.549597"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.547214"], ["updated_at", "2014-12-22 15:15:35.550469"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.566086"], ["updated_at", "2014-12-22 15:15:35.566646"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.566159"], ["updated_at", "2014-12-22 15:15:35.567741"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.566199"], ["updated_at", "2014-12-22 15:15:35.568647"]]  (0.2ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.566237"], ["updated_at", "2014-12-22 15:15:35.569538"]]  (0.2ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'  SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.578866"], ["updated_at", "2014-12-22 15:15:35.579637"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.578971"], ["updated_at", "2014-12-22 15:15:35.581113"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.579033"], ["updated_at", "2014-12-22 15:15:35.582149"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.579091"], ["updated_at", "2014-12-22 15:15:35.583138"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.4ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MAX(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.592828"], ["updated_at", "2014-12-22 15:15:35.593369"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.592889"], ["updated_at", "2014-12-22 15:15:35.594483"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.592927"], ["updated_at", "2014-12-22 15:15:35.595403"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.592965"], ["updated_at", "2014-12-22 15:15:35.596530"]]  (0.3ms) COMMIT User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.3ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') User Load (0.1ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000') User Load (0.2ms) SELECT SUM(value) FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.613020"], ["updated_at", "2014-12-22 15:15:35.613599"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.613083"], ["updated_at", "2014-12-22 15:15:35.615258"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.613122"], ["updated_at", "2014-12-22 15:15:35.616515"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.613190"], ["updated_at", "2014-12-22 15:15:35.617702"]]  (0.3ms) COMMIT  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-11-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-12-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-01-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-02-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-03-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-04-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-05-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-06-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-07-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-08-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-09-01T00:00:00Z'  (0.2ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-10-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z'   (0.1ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-11-01T00:00:00Z'  (0.1ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2015-01-01T00:00:00Z'   (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2014-12-01T00:00:00Z' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.628258"], ["updated_at", "2014-12-22 15:15:35.628729"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.628319"], ["updated_at", "2014-12-22 15:15:35.629932"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.628360"], ["updated_at", "2014-12-22 15:15:35.630952"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.628400"], ["updated_at", "2014-12-22 15:15:35.632003"]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-04-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-05-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-06-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-07-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-10-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-11-01 00:00:00.000000')  (0.1ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2015-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-12-01 00:00:00.000000') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-12-22 15:15:35.645841"], ["updated_at", "2014-12-22 15:15:35.646755"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-10-22 15:15:35.645941"], ["updated_at", "2014-12-22 15:15:35.648181"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-22 15:15:35.645981"], ["updated_at", "2014-12-22 15:15:35.649390"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-01-22 15:15:35.646020"], ["updated_at", "2014-12-22 15:15:35.650366"]]  (0.3ms) COMMIT