(2.8ms) 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.5ms) DELETE FROM "users"  (0.2ms) BEGIN SQL (2.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.4ms) 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-02-01T00:00:00Z' AND '2014-02-28T23:59:59Z') GROUP BY bucket 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", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (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-02-01T00:00:00Z' AND '2014-02-28T23:59:59Z') GROUP BY bucket 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", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at", "value") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00], ["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", Tue, 18 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00], ["value", 3]]  (0.4ms) 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-02-01 00:00:00.000000' AND '2014-02-28 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.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (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", Tue, 18 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00], ["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", Tue, 18 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00], ["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-02-01T00:00:00Z' AND '2014-02-28T23: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.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (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-02-01T00:00:00Z' AND '2014-02-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", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (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-02-01T00:00:00Z' AND '2014-02-28T23:59:59Z') GROUP BY bucket 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", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (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 '2013-02-18T00:00:00Z' AND '2014-02-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", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.6ms) 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-02-18T00:00:00Z' AND '2014-02-23T23:59:59Z') GROUP BY bucket 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", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.5ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.5ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.4ms) 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 '2014-02-03T00:00:00Z' AND '2014-02-23T23:59:59Z') GROUP BY bucket 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", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.5ms) 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-02-03T00:00:00Z' AND '2014-02-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", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.5ms) 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-02-01 00:00:00.000000' AND '2014-02-28 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", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (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-02-01 00:00:00.000000' AND '2014-02-28 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", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (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-02-01 00:00:00.000000' AND '2014-02-28 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (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-02-01T00:00:00Z' AND '2014-02-28T23: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", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (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-02-01 00:00:00.000000' AND '2014-02-28 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (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-02-01 00:00:00.000000' AND '2014-02-28 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", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (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-02-01T00:00:00Z' AND '2014-02-28T23:59:59Z') GROUP BY bucket 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", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (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-02-01 00:00:00.000000' AND '2014-02-28 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') 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", Sat, 18 Feb 2012 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:07 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:07 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-02-01T00:00:00Z' AND '2014-02-28T23:59:59Z') GROUP BY bucket SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) 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-02-01 00:00:00.000000' AND '2014-02-28 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM') SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-02-01T00:00:00Z' AND '2014-02-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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-02-01T00:00:00Z' AND '2014-02-28T23:59:59Z') GROUP BY bucket 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 11 Feb 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-02-01T00:00:00Z' AND '2014-02-28T23:59:59Z') GROUP BY bucket  (0.1ms) BEGIN SQL (0.8ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["default", false], ["title", "My Dashboard"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Rendered /Users/simon/Documents/code/prosperity/app/views/prosperity/dashboards/new.html.erb within layouts/prosperity/application (9.3ms) Completed 200 OK in 29ms (Views: 28.4ms | 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", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["default", false], ["title", "My Dashboard"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.6ms) COMMIT  (0.5ms) SELECT COUNT(*) FROM "prosperity_dashboards" Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>"test"}}  (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", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["default", false], ["title", "test"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 3ms (ActiveRecord: 1.0ms)  (0.4ms) SELECT COUNT(*) FROM "prosperity_dashboards"  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["default", false], ["title", "My Dashboard"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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.6ms | ActiveRecord: 0.2ms)  (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", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["default", false], ["title", "My Dashboard"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"205"} Prosperity::Dashboard Load (0.6ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", "205"]] Prosperity::Graph Exists (0.3ms) SELECT 1 AS one FROM "prosperity_graphs" LIMIT 1 Prosperity::Graph Load (0.9ms) 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]] Prosperity::Graph Load (1.6ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 54ms (Views: 46.8ms | ActiveRecord: 5.6ms)  (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", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["default", false], ["title", "My Dashboard"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#show 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"]] Rendered /Users/simon/Documents/code/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.8ms) 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", 206]] Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.7ms)  (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", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["default", false], ["title", "My Dashboard"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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 97ms (Views: 95.6ms | ActiveRecord: 0.9ms) SQL (1.9ms) DELETE FROM "users"  (0.2ms) BEGIN SQL (0.7ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-01-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-08-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-09-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 < '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') 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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 < '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.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' 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-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-09-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 < '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') 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-01-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-08-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-09-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 < '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') SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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 < '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'  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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-01-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.5ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.4ms) 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-09-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 < '2013-10-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')  (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.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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 < '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'  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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-01-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-08-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-09-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 < '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.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') 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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 < '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.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'  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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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 < '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.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' 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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 < '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'  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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.5ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-01-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-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-09-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 < '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.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') 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.2ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-01-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-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-09-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 < '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.5ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-01-01 00:00:00.000000') SQL (0.7ms) DELETE FROM "users"  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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 < '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.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' 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 18 Dec 2013 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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 < '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.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'  Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/code/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#show as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.4ms | 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 '2013-11-11 08:00:00.000000' AND '2014-02-24 07:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.4ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-02-17 00:00:00 -0800, "end_time"=>2014-02-17 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-02-17 08:00:00.000000' AND '2014-02-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"=>"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) 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.1ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-09-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-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') 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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'  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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-09-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-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') 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-09-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-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') 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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.3ms) 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' 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-09-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-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') 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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' 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.1ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-09-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-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.5ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') SQL (0.7ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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.6ms)  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' 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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'  SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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' 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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'  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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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' 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-10-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.3ms) 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') 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-02-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-03-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-04-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-05-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-06-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-09-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-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.5ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-02-01 00:00:00.000000') 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", Sat, 18 Feb 2012 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Sat, 18 Jan 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 18 Mar 2014 02:22:08 UTC +00:00], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT  (0.4ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-02-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-03-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-04-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-05-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-06-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-07-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-08-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-10-01 00:00:00.000000')  (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.2ms) 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", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["default", false], ["title", "My Dashboard"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.6ms) INSERT INTO "prosperity_graphs" ("created_at", "period", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["period", "month"], ["title", "My Graph"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT Processing by Prosperity::DashboardGraphsController#create as HTML Parameters: {"dashboard_id"=>"208", "graph_id"=>"201"} Prosperity::Graph Load (0.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", "201"]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", "208"]]  (0.2ms) BEGIN SQL (0.9ms) INSERT INTO "prosperity_dashboard_graphs" ("created_at", "dashboard_id", "graph_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["dashboard_id", 208], ["graph_id", 201], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.6ms) COMMIT Redirected to http://test.host/prosperity/dashboards/208/edit Completed 302 Found in 17ms (ActiveRecord: 2.2ms)  (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.4ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 ORDER BY "prosperity_graphs"."id" ASC LIMIT 1 [["id", 201]] Prosperity::Dashboard Load (0.4ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 ORDER BY "prosperity_dashboards"."id" ASC LIMIT 1 [["id", 208]]  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "period", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["period", "month"], ["title", "My Graph"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) 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", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["default", false], ["title", "My Dashboard"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.1ms) BEGIN 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", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["dashboard_id", 209], ["graph_id", 202], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "prosperity_dashboard_graphs" Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"209", "graph_id"=>"202"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", "202"]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", "209"]] Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 202 AND "prosperity_dashboard_graphs"."dashboard_id" = 209 ORDER BY "prosperity_dashboard_graphs"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."id" = $1 [["id", 42]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/dashboards/209/edit Completed 302 Found in 5ms (ActiveRecord: 1.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", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["default", false], ["title", "My Dashboard"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "period", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["period", "month"], ["title", "My Graph"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT Processing by Prosperity::DashboardGraphsController#destroy as HTML Parameters: {"dashboard_id"=>"210", "graph_id"=>"203"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", "203"]] Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", "210"]] Prosperity::DashboardGraph Load (0.3ms) SELECT "prosperity_dashboard_graphs".* FROM "prosperity_dashboard_graphs" WHERE "prosperity_dashboard_graphs"."graph_id" = 203 AND "prosperity_dashboard_graphs"."dashboard_id" = 210 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"}}  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "period", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["period", "month"], ["title", "My Graph"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/graphs/204/edit Completed 302 Found in 2ms (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  (0.1ms) BEGIN  (0.2ms) ROLLBACK Completed 200 OK in 13ms (Views: 7.6ms | ActiveRecord: 0.3ms)  (0.2ms) BEGIN SQL (0.8ms) INSERT INTO "prosperity_graphs" ("created_at", "period", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["period", "month"], ["title", "My Graph"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"foo", "metric"=>"bar", "extractor"=>"count"}}}, "id"=>"205"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", "205"]]  (0.1ms) BEGIN SQL (0.8ms) 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", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["extractor", "count"], ["graph_id", 205], ["metric", "bar"], ["option", "foo"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT Redirected to http://test.host/prosperity/graphs/205/edit Completed 302 Found in 14ms (ActiveRecord: 3.0ms) Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 205]]  (0.4ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 205]]  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "period", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["period", "month"], ["title", "My Graph"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["extractor", "count"], ["graph_id", 206], ["metric", "bar"], ["option", "foo"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) 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", 206]] Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"id"=>"82", "option"=>"new_option", "extractor"=>"interval"}}}, "id"=>"206"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", "206"]]  (0.2ms) BEGIN Prosperity::GraphLine Load (0.6ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (82) [["graph_id", 206]] SQL (0.6ms) UPDATE "prosperity_graph_lines" SET "option" = $1, "extractor" = $2, "updated_at" = $3 WHERE "prosperity_graph_lines"."id" = 82 [["option", "new_option"], ["extractor", "interval"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT Redirected to http://test.host/prosperity/graphs/206/edit Completed 302 Found in 9ms (ActiveRecord: 2.1ms) Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 206]] 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", 206]]  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "period", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["period", "month"], ["title", "My Graph"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (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", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["extractor", "count"], ["graph_id", 207], ["metric", "bar"], ["option", "foo"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.3ms) COMMIT Processing by Prosperity::GraphsController#update as HTML Parameters: {"graph"=>{"graph_lines_attributes"=>{"0"=>{"option"=>"default", "metric"=>"UsersMetric", "extractor"=>"interval", "id"=>"83"}, "1"=>{"option"=>"default", "metric"=>"", "extractor"=>"change"}}}, "id"=>"207"} Prosperity::Graph Load (0.6ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", "207"]]  (0.2ms) BEGIN Prosperity::GraphLine Load (0.7ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 AND "prosperity_graph_lines"."id" IN (83) [["graph_id", 207]] SQL (0.7ms) UPDATE "prosperity_graph_lines" SET "option" = $1, "metric" = $2, "extractor" = $3, "updated_at" = $4 WHERE "prosperity_graph_lines"."id" = 83 [["option", "default"], ["metric", "UsersMetric"], ["extractor", "interval"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.6ms) COMMIT Redirected to http://test.host/prosperity/graphs/207/edit Completed 302 Found in 10ms (ActiveRecord: 2.7ms) Prosperity::GraphLine Load (0.5ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."id" = $1 LIMIT 1 [["id", 83]] Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", 207]]  (0.3ms) SELECT COUNT(*) FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 207]]  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "prosperity_graphs" ("created_at", "period", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["period", "month"], ["title", "My Graph"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.4ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"208"} Prosperity::Graph Load (0.2ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", "208"]] Prosperity::GraphLine Load (0.9ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 208]] Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 1.1ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "prosperity_graphs" ("created_at", "period", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["period", "month"], ["title", "My Graph"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.5ms) COMMIT  (0.2ms) BEGIN SQL (0.6ms) 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", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["extractor", "count"], ["graph_id", 209], ["metric", "bar"], ["option", "foo"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.7ms) COMMIT Processing by Prosperity::GraphsController#show as HTML Parameters: {"id"=>"209"} Prosperity::Graph Load (0.3ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", "209"]] Prosperity::GraphLine Load (0.4ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 209]] Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.7ms)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "prosperity_graphs" ("created_at", "period", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00], ["period", "month"], ["title", "My Graph"], ["updated_at", Tue, 18 Feb 2014 02:22:08 UTC +00:00]]  (0.6ms) COMMIT Processing by Prosperity::GraphsController#edit as HTML Parameters: {"id"=>"210"} Prosperity::Graph Load (0.7ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" WHERE "prosperity_graphs"."id" = $1 LIMIT 1 [["id", "210"]] Prosperity::GraphLine Load (0.4ms) SELECT "prosperity_graph_lines".* FROM "prosperity_graph_lines" WHERE "prosperity_graph_lines"."graph_id" = $1 [["graph_id", 210]] Completed 200 OK in 14ms (Views: 10.5ms | ActiveRecord: 1.1ms) Processing by Prosperity::GraphsController#new as HTML Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (56.1ms) DROP TABLE "users"  (18.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.5ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (5.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-08-01 06:11:22.373824"], ["updated_at", "2014-08-01 06:11:22.416255"]]  (5.9ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.373988"], ["updated_at", "2014-08-01 06:11:22.431632"]]  (6.0ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.374037"], ["updated_at", "2014-08-01 06:11:22.439045"]]  (5.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-01 06:11:22.374082"], ["updated_at", "2014-08-01 06:11:22.445505"]]  (0.5ms) COMMIT SQL (6.6ms) DELETE FROM "users"  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-08-01 06:11:22.457478"], ["updated_at", "2014-08-01 06:11:22.459064"]]  (6.4ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.457727"], ["updated_at", "2014-08-01 06:11:22.467626"]]  (5.9ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.457853"], ["updated_at", "2014-08-01 06:11:22.475595"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-01 06:11:22.457969"], ["updated_at", "2014-08-01 06:11:22.478013"]]  (0.3ms) COMMIT  (2.6ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT SUM(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-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 < '2013-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 < '2013-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 < '2013-08-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-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-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 < '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.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 < '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.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.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.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' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-08-01 06:11:22.492740"], ["updated_at", "2014-08-01 06:11:22.493247"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.492806"], ["updated_at", "2014-08-01 06:11:22.494687"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.492849"], ["updated_at", "2014-08-01 06:11:22.495855"]]  (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-01 06:11:22.492891"], ["updated_at", "2014-08-01 06:11:22.496911"]]  (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-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 < '2013-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 < '2013-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 < '2013-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 < '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-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 < '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.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.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.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.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'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-08-01 06:11:22.507218"], ["updated_at", "2014-08-01 06:11:22.507793"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.507301"], ["updated_at", "2014-08-01 06:11:22.509230"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.507347"], ["updated_at", "2014-08-01 06:11:22.510755"]]  (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-01 06:11:22.507391"], ["updated_at", "2014-08-01 06:11:22.512085"]]  (0.3ms) COMMIT  (0.4ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-08-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-09-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 < '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.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.2ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2014-08-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-08-01 06:11:22.529424"], ["updated_at", "2014-08-01 06:11:22.529993"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.529503"], ["updated_at", "2014-08-01 06:11:22.531233"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.529557"], ["updated_at", "2014-08-01 06:11:22.532331"]]  (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-01 06:11:22.529604"], ["updated_at", "2014-08-01 06:11:22.533485"]]  (0.4ms) COMMIT  (0.3ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT COUNT(1) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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 < '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.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.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.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'  SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-08-01 06:11:22.544052"], ["updated_at", "2014-08-01 06:11:22.544596"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.544120"], ["updated_at", "2014-08-01 06:11:22.545768"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.544167"], ["updated_at", "2014-08-01 06:11:22.547406"]]  (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-01 06:11:22.544211"], ["updated_at", "2014-08-01 06:11:22.548539"]]  (0.3ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-08-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-09-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 < '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.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.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.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.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.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-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.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-08-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-08-01 06:11:22.565386"], ["updated_at", "2014-08-01 06:11:22.565912"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.565452"], ["updated_at", "2014-08-01 06:11:22.567185"]]  (0.6ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.565501"], ["updated_at", "2014-08-01 06:11:22.568569"]]  (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-01 06:11:22.565542"], ["updated_at", "2014-08-01 06:11:22.569808"]]  (0.4ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-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-09-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 < '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.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.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.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.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') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-08-01 06:11:22.587683"], ["updated_at", "2014-08-01 06:11:22.588238"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.587766"], ["updated_at", "2014-08-01 06:11:22.589524"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.587811"], ["updated_at", "2014-08-01 06:11:22.590681"]]  (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-01 06:11:22.587857"], ["updated_at", "2014-08-01 06:11:22.591814"]]  (0.3ms) COMMIT  (0.7ms)  WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT MIN(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-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 < '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.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.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-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.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' 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-08-01 06:11:22.603091"], ["updated_at", "2014-08-01 06:11:22.603678"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.603171"], ["updated_at", "2014-08-01 06:11:22.604944"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.603215"], ["updated_at", "2014-08-01 06:11:22.606093"]]  (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-01 06:11:22.603279"], ["updated_at", "2014-08-01 06:11:22.607255"]]  (0.4ms) COMMIT  (0.2ms) WITH prosperity_metric_count AS ( SELECT * FROM users ) SELECT AVG(value) AS RESULT FROM prosperity_metric_count WHERE created_at < '2013-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 < '2013-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 < '2013-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 < '2013-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 < '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-09-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 < '2013-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 < '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.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.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.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.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.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'  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-08-01 06:11:22.618166"], ["updated_at", "2014-08-01 06:11:22.618752"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.618244"], ["updated_at", "2014-08-01 06:11:22.620035"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.618289"], ["updated_at", "2014-08-01 06:11:22.621160"]]  (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-01 06:11:22.618339"], ["updated_at", "2014-08-01 06:11:22.622192"]]  (0.3ms) COMMIT  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.3ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-08-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-09-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 < '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.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.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') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-08-01 06:11:22.639124"], ["updated_at", "2014-08-01 06:11:22.639687"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.639190"], ["updated_at", "2014-08-01 06:11:22.641019"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.639259"], ["updated_at", "2014-08-01 06:11:22.642137"]]  (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-01 06:11:22.639303"], ["updated_at", "2014-08-01 06:11:22.643333"]]  (0.3ms) COMMIT  (0.4ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-08-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-09-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 < '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.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.3ms) 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.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-08-01 00:00:00.000000') 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-08-01 06:11:22.661600"], ["updated_at", "2014-08-01 06:11:22.662150"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.661666"], ["updated_at", "2014-08-01 06:11:22.663468"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.661710"], ["updated_at", "2014-08-01 06:11:22.664648"]]  (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-01 06:11:22.661758"], ["updated_at", "2014-08-01 06:11:22.665901"]]  (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-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 < '2013-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 < '2013-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 < '2013-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 < '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-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 < '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.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-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.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.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.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' 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-08-01 06:11:22.676437"], ["updated_at", "2014-08-01 06:11:22.677110"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.676535"], ["updated_at", "2014-08-01 06:11:22.678657"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.676586"], ["updated_at", "2014-08-01 06:11:22.679876"]]  (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-01 06:11:22.676629"], ["updated_at", "2014-08-01 06:11:22.681007"]]  (0.3ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-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-09-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 < '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.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') 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-08-01 06:11:22.699016"], ["updated_at", "2014-08-01 06:11:22.699806"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.699106"], ["updated_at", "2014-08-01 06:11:22.701562"]]  (0.9ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.699160"], ["updated_at", "2014-08-01 06:11:22.704196"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-01 06:11:22.699204"], ["updated_at", "2014-08-01 06:11:22.705682"]]  (0.4ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-07-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-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-09-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 < '2013-10-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-12-01 00:00:00.000000')  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-11-01 00:00:00.000000')  (0.4ms) 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.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.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.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') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-08-01 06:11:22.725117"], ["updated_at", "2014-08-01 06:11:22.725663"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.725199"], ["updated_at", "2014-08-01 06:11:22.726888"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.725240"], ["updated_at", "2014-08-01 06:11:22.728068"]]  (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-01 06:11:22.725284"], ["updated_at", "2014-08-01 06:11:22.729379"]]  (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-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 < '2013-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 < '2013-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 < '2013-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 < '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-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 < '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.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.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.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-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'  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-08-01 06:11:22.743006"], ["updated_at", "2014-08-01 06:11:22.743637"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-06-01 06:11:22.743081"], ["updated_at", "2014-08-01 06:11:22.745188"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.743132"], ["updated_at", "2014-08-01 06:11:22.746613"]]  (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-01 06:11:22.743174"], ["updated_at", "2014-08-01 06:11:22.748434"]]  (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-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 < '2013-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 < '2013-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 < '2013-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 < '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-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 < '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.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.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.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' 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-08-01 06:11:22.760369"], ["updated_at", "2014-08-01 06:11:22.760957"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.760464"], ["updated_at", "2014-08-01 06:11:22.762585"]]  (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-01 06:11:22.760532"], ["updated_at", "2014-08-01 06:11:22.763870"]]  (0.2ms) COMMIT 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-08-01 06:11:22.767431"], ["updated_at", "2014-08-01 06:11:22.769165"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.767717"], ["updated_at", "2014-08-01 06:11:22.771238"]]  (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-01 06:11:22.767807"], ["updated_at", "2014-08-01 06:11:22.772695"]]  (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-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 < '2013-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 < '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-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.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.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' 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-08-01 06:11:22.779993"], ["updated_at", "2014-08-01 06:11:22.780562"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.780088"], ["updated_at", "2014-08-01 06:11:22.781915"]]  (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-01 06:11:22.780134"], ["updated_at", "2014-08-01 06:11:22.783188"]]  (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-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 < '2013-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 < '2013-10-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-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.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.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' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-08-01 06:11:22.790874"], ["updated_at", "2014-08-01 06:11:22.791437"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.790950"], ["updated_at", "2014-08-01 06:11:22.792694"]]  (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-01 06:11:22.791005"], ["updated_at", "2014-08-01 06:11:22.794014"]]  (0.5ms) COMMIT  (0.5ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.3ms) SELECT AVG("users"."value") AS avg_id FROM "users" WHERE (created_at < '2013-09-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.3ms) 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-12-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-02-01 00:00:00.000000')  (0.3ms) 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.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.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') 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-08-01 06:11:22.846164"], ["updated_at", "2014-08-01 06:11:22.847413"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.846903"], ["updated_at", "2014-08-01 06:11:22.849431"]]  (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-01 06:11:22.846960"], ["updated_at", "2014-08-01 06:11:22.850848"]]  (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-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 < '2013-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 < '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-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.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' 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-08-01 06:11:22.859666"], ["updated_at", "2014-08-01 06:11:22.860449"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.859771"], ["updated_at", "2014-08-01 06:11:22.862317"]]  (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-01 06:11:22.860012"], ["updated_at", "2014-08-01 06:11:22.863555"]]  (0.4ms) COMMIT  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2013-09-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-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.3ms) 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.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-08-01 00:00:00.000000')  (0.3ms) SELECT SUM("users"."value") AS sum_id FROM "users" WHERE (created_at < '2014-09-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-08-01 06:11:22.875284"], ["updated_at", "2014-08-01 06:11:22.875840"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.875366"], ["updated_at", "2014-08-01 06:11:22.877171"]]  (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-01 06:11:22.875412"], ["updated_at", "2014-08-01 06:11:22.878458"]]  (0.3ms) COMMIT  (0.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-09-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-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.3ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2014-03-01 00:00:00.000000')  (0.3ms) 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.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-07-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-09-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-08-01 06:11:22.890589"], ["updated_at", "2014-08-01 06:11:22.891144"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.890667"], ["updated_at", "2014-08-01 06:11:22.892373"]]  (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-01 06:11:22.890712"], ["updated_at", "2014-08-01 06:11:22.893560"]]  (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-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 < '2013-09-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-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-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.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' 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-08-01 06:11:22.900500"], ["updated_at", "2014-08-01 06:11:22.901044"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.900576"], ["updated_at", "2014-08-01 06:11:22.902270"]]  (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-01 06:11:22.900629"], ["updated_at", "2014-08-01 06:11:22.903389"]]  (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-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 < '2013-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 < '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-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.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.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' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-08-01 06:11:22.909848"], ["updated_at", "2014-08-01 06:11:22.910252"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.909905"], ["updated_at", "2014-08-01 06:11:22.911357"]]  (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-01 06:11:22.909946"], ["updated_at", "2014-08-01 06:11:22.912967"]]  (0.3ms) COMMIT  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT MIN("users"."value") AS min_id FROM "users" WHERE (created_at < '2013-09-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-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.3ms) 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') 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-08-01 06:11:22.922859"], ["updated_at", "2014-08-01 06:11:22.923334"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.922927"], ["updated_at", "2014-08-01 06:11:22.924499"]]  (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-01 06:11:22.922990"], ["updated_at", "2014-08-01 06:11:22.925717"]]  (0.3ms) COMMIT  (0.3ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2013-09-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-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.2ms) SELECT MAX("users"."value") AS max_id FROM "users" WHERE (created_at < '2014-09-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-08-01 06:11:22.935743"], ["updated_at", "2014-08-01 06:11:22.936236"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.935809"], ["updated_at", "2014-08-01 06:11:22.937540"]]  (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-01 06:11:22.935854"], ["updated_at", "2014-08-01 06:11:22.938686"]]  (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-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 < '2013-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 < '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-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.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.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.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' SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-08-01 06:11:22.945631"], ["updated_at", "2014-08-01 06:11:22.946147"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.945697"], ["updated_at", "2014-08-01 06:11:22.947420"]]  (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-01 06:11:22.945764"], ["updated_at", "2014-08-01 06:11:22.948580"]]  (0.3ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-09-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-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') 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-08-01 06:11:22.958483"], ["updated_at", "2014-08-01 06:11:22.958972"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.958547"], ["updated_at", "2014-08-01 06:11:22.960136"]]  (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-01 06:11:22.958593"], ["updated_at", "2014-08-01 06:11:22.961281"]]  (0.2ms) COMMIT  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (created_at < '2013-09-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-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.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.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') 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-08-01 06:11:22.972039"], ["updated_at", "2014-08-01 06:11:22.972681"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.972155"], ["updated_at", "2014-08-01 06:11:22.974246"]]  (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-01 06:11:22.972203"], ["updated_at", "2014-08-01 06:11:22.975879"]]  (0.3ms) COMMIT  (0.4ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-08-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-09-01 00:00:00.000000')  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (1 = 2) AND (created_at < '2013-10-01 00:00:00.000000')  (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.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.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.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') SQL (0.4ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-08-01 06:11:22.987531"], ["updated_at", "2014-08-01 06:11:22.988097"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.987621"], ["updated_at", "2014-08-01 06:11:22.989624"]]  (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-01 06:11:22.987667"], ["updated_at", "2014-08-01 06:11:22.991094"]]  (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-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 < '2013-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 < '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-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.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' SQL (0.3ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-08-01 06:11:22.998262"], ["updated_at", "2014-08-01 06:11:22.998791"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:22.998340"], ["updated_at", "2014-08-01 06:11:23.000018"]]  (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-01 06:11:22.998386"], ["updated_at", "2014-08-01 06:11:23.001185"]]  (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-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 < '2013-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 < '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-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.3ms) 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' 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-08-01 06:11:23.008575"], ["updated_at", "2014-08-01 06:11:23.009132"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.008682"], ["updated_at", "2014-08-01 06:11:23.010391"]]  (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-01 06:11:23.008728"], ["updated_at", "2014-08-01 06:11:23.011553"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.012473"], ["updated_at", "2014-08-01 06:11:23.012858"]]  (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-08-01 06:11:23.014050"], ["updated_at", "2014-08-01 06:11:23.014050"], ["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-08-01 06:11:23.015469"], ["updated_at", "2014-08-01 06:11:23.015469"], ["value", 3]]  (0.3ms) COMMIT  (2.8ms) 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-08-01 00:00:00.000000' AND '2014-08-31 23:59:59.999999') GROUP BY to_char(created_at, 'YYYY-MM')  (0.4ms) SELECT SUM("users"."value") AS sum_id FROM "users" SQL (0.6ms) DELETE FROM "users"  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2012-08-01 06:11:23.025148"], ["updated_at", "2014-08-01 06:11:23.025941"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.025283"], ["updated_at", "2014-08-01 06:11:23.027417"]]  (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-01 06:11:23.025352"], ["updated_at", "2014-08-01 06:11:23.028746"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.029688"], ["updated_at", "2014-08-01 06:11:23.030079"]]  (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-08-01 06:11:23.031385"], ["updated_at", "2014-08-01 06:11:23.031385"], ["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-08-01 06:11:23.032693"], ["updated_at", "2014-08-01 06:11:23.032693"], ["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-08-01T00:00:00Z' AND '2014-08-31T23:59:59Z') GROUP BY bucket   (0.2ms) SELECT SUM("users"."value") AS sum_id FROM "users" 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-08-01 06:11:23.037855"], ["updated_at", "2014-08-01 06:11:23.038467"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.037949"], ["updated_at", "2014-08-01 06:11:23.039793"]]  (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-01 06:11:23.038020"], ["updated_at", "2014-08-01 06:11:23.041081"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.042219"], ["updated_at", "2014-08-01 06:11:23.042678"]]  (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-08-01 06:11:23.044006"], ["updated_at", "2014-08-01 06:11:23.044006"], ["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-08-01 06:11:23.045384"], ["updated_at", "2014-08-01 06:11:23.045384"], ["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-08-01 06:11:23.049118"], ["updated_at", "2014-08-01 06:11:23.049757"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.049223"], ["updated_at", "2014-08-01 06:11:23.051184"]]  (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-01 06:11:23.049267"], ["updated_at", "2014-08-01 06:11:23.052398"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.053304"], ["updated_at", "2014-08-01 06:11:23.053659"]]  (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-08-01T00:00:00Z' AND '2014-08-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-08-01 06:11:23.057994"], ["updated_at", "2014-08-01 06:11:23.058621"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.058112"], ["updated_at", "2014-08-01 06:11:23.059898"]]  (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-01 06:11:23.058175"], ["updated_at", "2014-08-01 06:11:23.061140"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.061976"], ["updated_at", "2014-08-01 06:11:23.062320"]]  (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-08-01T00:00:00Z' AND '2014-08-31T23: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-08-01 06:11:23.066699"], ["updated_at", "2014-08-01 06:11:23.067309"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.066775"], ["updated_at", "2014-08-01 06:11:23.068595"]]  (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-01 06:11:23.066853"], ["updated_at", "2014-08-01 06:11:23.069843"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.070744"], ["updated_at", "2014-08-01 06:11:23.071085"]]  (0.3ms) 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-08-01 00:00:00.000000' AND '2014-08-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-08-01 06:11:23.075951"], ["updated_at", "2014-08-01 06:11:23.076627"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.076038"], ["updated_at", "2014-08-01 06:11:23.078236"]]  (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-01 06:11:23.076085"], ["updated_at", "2014-08-01 06:11:23.079500"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.080410"], ["updated_at", "2014-08-01 06:11:23.080788"]]  (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-08-01T00:00:00Z' AND '2014-08-31T23: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-08-01 06:11:23.085013"], ["updated_at", "2014-08-01 06:11:23.085590"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.085082"], ["updated_at", "2014-08-01 06:11:23.086936"]]  (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-01 06:11:23.085127"], ["updated_at", "2014-08-01 06:11:23.088181"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.089090"], ["updated_at", "2014-08-01 06:11:23.089410"]]  (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-08-01 00:00:00.000000' AND '2014-08-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-08-01 06:11:23.093831"], ["updated_at", "2014-08-01 06:11:23.094316"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.093898"], ["updated_at", "2014-08-01 06:11:23.095535"]]  (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-01 06:11:23.093943"], ["updated_at", "2014-08-01 06:11:23.096666"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.097595"], ["updated_at", "2014-08-01 06:11:23.097930"]]  (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-08-01 00:00:00.000000' AND '2014-08-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-08-01 06:11:23.102459"], ["updated_at", "2014-08-01 06:11:23.102952"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.102523"], ["updated_at", "2014-08-01 06:11:23.104217"]]  (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-01 06:11:23.102566"], ["updated_at", "2014-08-01 06:11:23.105450"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.106268"], ["updated_at", "2014-08-01 06:11:23.106730"]]  (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-08-01T00:00:00Z' AND '2014-08-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-08-01 06:11:23.110622"], ["updated_at", "2014-08-01 06:11:23.111105"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.110719"], ["updated_at", "2014-08-01 06:11:23.112283"]]  (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-01 06:11:23.110763"], ["updated_at", "2014-08-01 06:11:23.113361"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.114142"], ["updated_at", "2014-08-01 06:11:23.114482"]]  (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-08-01T00:00:00Z' AND '2014-08-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-08-01 06:11:23.118438"], ["updated_at", "2014-08-01 06:11:23.118923"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.118504"], ["updated_at", "2014-08-01 06:11:23.120134"]]  (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-01 06:11:23.118559"], ["updated_at", "2014-08-01 06:11:23.121219"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.122119"], ["updated_at", "2014-08-01 06:11:23.122463"]]  (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-08-01 00:00:00.000000' AND '2014-08-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-08-01 06:11:23.127272"], ["updated_at", "2014-08-01 06:11:23.127735"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.127335"], ["updated_at", "2014-08-01 06:11:23.129076"]]  (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-01 06:11:23.127383"], ["updated_at", "2014-08-01 06:11:23.130342"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.131253"], ["updated_at", "2014-08-01 06:11:23.131558"]]  (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-08-01 00:00:00.000000' AND '2014-08-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-08-01 06:11:23.135975"], ["updated_at", "2014-08-01 06:11:23.136459"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.136034"], ["updated_at", "2014-08-01 06:11:23.137890"]]  (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-01 06:11:23.136095"], ["updated_at", "2014-08-01 06:11:23.139065"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.139929"], ["updated_at", "2014-08-01 06:11:23.140237"]]  (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-08-01T00:00:00Z' AND '2014-08-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-08-01 06:11:23.144104"], ["updated_at", "2014-08-01 06:11:23.144585"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.144197"], ["updated_at", "2014-08-01 06:11:23.145795"]]  (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-01 06:11:23.144238"], ["updated_at", "2014-08-01 06:11:23.146957"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.148003"], ["updated_at", "2014-08-01 06:11:23.148313"]]  (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-08-01 00:00:00.000000' AND '2014-08-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-08-01 06:11:23.152720"], ["updated_at", "2014-08-01 06:11:23.153217"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.152789"], ["updated_at", "2014-08-01 06:11:23.154413"]]  (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-01 06:11:23.152841"], ["updated_at", "2014-08-01 06:11:23.155630"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.156431"], ["updated_at", "2014-08-01 06:11:23.156740"]]  (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-08-01 00:00:00.000000' AND '2014-08-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-08-01 06:11:23.161857"], ["updated_at", "2014-08-01 06:11:23.162373"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.161932"], ["updated_at", "2014-08-01 06:11:23.163600"]]  (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-01 06:11:23.161976"], ["updated_at", "2014-08-01 06:11:23.164744"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.165581"], ["updated_at", "2014-08-01 06:11:23.165863"]]  (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-08-01T00:00:00Z' AND '2014-08-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-08-01 06:11:23.169647"], ["updated_at", "2014-08-01 06:11:23.170174"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.169715"], ["updated_at", "2014-08-01 06:11:23.171363"]]  (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-01 06:11:23.169763"], ["updated_at", "2014-08-01 06:11:23.172617"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.173582"], ["updated_at", "2014-08-01 06:11:23.173887"]]  (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-08-01T00:00:00Z' AND '2014-08-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-08-01 06:11:23.178218"], ["updated_at", "2014-08-01 06:11:23.178974"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.178300"], ["updated_at", "2014-08-01 06:11:23.180752"]]  (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-01 06:11:23.178361"], ["updated_at", "2014-08-01 06:11:23.182039"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.182967"], ["updated_at", "2014-08-01 06:11:23.183360"]]  (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-07-14T00:00:00Z' AND '2014-08-03T23: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-08-01 06:11:23.186659"], ["updated_at", "2014-08-01 06:11:23.187248"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.186745"], ["updated_at", "2014-08-01 06:11:23.188590"]]  (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-01 06:11:23.186830"], ["updated_at", "2014-08-01 06:11:23.189830"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.190803"], ["updated_at", "2014-08-01 06:11:23.191129"]]  (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-07-14T00:00:00Z' AND '2014-08-03T23: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-08-01 06:11:23.194364"], ["updated_at", "2014-08-01 06:11:23.194953"]]  (5.8ms) COMMIT  (0.4ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.194447"], ["updated_at", "2014-08-01 06:11:23.202824"]]  (6.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-01 06:11:23.194498"], ["updated_at", "2014-08-01 06:11:23.210772"]]  (6.0ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.217675"], ["updated_at", "2014-08-01 06:11:23.218310"]]  (5.7ms) 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-07-29T00:00:00Z' AND '2014-08-03T23: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-08-01 06:11:23.232250"], ["updated_at", "2014-08-01 06:11:23.232903"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.232345"], ["updated_at", "2014-08-01 06:11:23.234668"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-01 06:11:23.232396"], ["updated_at", "2014-08-01 06:11:23.236839"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.238059"], ["updated_at", "2014-08-01 06:11:23.238435"]]  (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-07-29T00:00:00Z' AND '2014-08-03T23:59:59Z') GROUP BY bucket  SQL (6.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-08-01 06:11:23.253259"], ["updated_at", "2014-08-01 06:11:23.254045"]]  (6.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.253390"], ["updated_at", "2014-08-01 06:11:23.261890"]]  (6.0ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-09-01 06:11:23.253440"], ["updated_at", "2014-08-01 06:11:23.269126"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.270484"], ["updated_at", "2014-08-01 06:11:23.270989"]]  (0.4ms) 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-08-01T00:00:00Z' AND '2014-08-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-08-01 06:11:23.275511"], ["updated_at", "2014-08-01 06:11:23.276060"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-01 06:11:23.275586"], ["updated_at", "2014-08-01 06:11:23.277324"]]  (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-01 06:11:23.275633"], ["updated_at", "2014-08-01 06:11:23.278494"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-07-25 06:11:23.279376"], ["updated_at", "2014-08-01 06:11:23.279725"]]  (0.3ms) 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-08-01T00:00:00Z' AND '2014-08-31T23:59:59Z') GROUP BY bucket  Processing by Prosperity::GraphsController#new as HTML Rendered /Users/simon/Documents/code/prosperity/app/views/prosperity/graphs/_common_fields.html.erb (18.8ms) Completed 500 Internal Server Error in 34ms Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"graph"=>{}}} Unpermitted parameters: graph Unpermitted parameters: graph Unpermitted parameters: graph Completed 500 Internal Server Error in 1ms  (24.6ms) SELECT COUNT(*) FROM "prosperity_graphs" Processing by Prosperity::GraphsController#create as HTML Parameters: {"graph"=>{"title"=>"My Graph", "period"=>"month", "graph_type"=>"line"}} Completed 500 Internal Server Error in 1ms  (0.1ms) BEGIN SQL (2.9ms) INSERT INTO "prosperity_dashboards" ("created_at", "default", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-08-01 06:11:23.393727"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-08-01 06:11:23.393727"]]  (0.3ms) COMMIT Processing by Prosperity::DashboardsController#index as HTML Prosperity::Dashboard Load (1.9ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" Completed 200 OK in 2111ms (Views: 2108.7ms | 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-08-01 06:11:25.514975"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-08-01 06:11:25.514975"]]  (6.0ms) COMMIT Processing by Prosperity::DashboardsController#create as HTML Parameters: {"dashboard"=>{"title"=>""}}  (0.2ms) BEGIN  (0.1ms) ROLLBACK Completed 200 OK in 8ms (Views: 4.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-08-01 06:11:25.534161"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-08-01 06:11:25.534161"]]  (0.5ms) 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-08-01 06:11:25.538214"], ["default", "f"], ["title", "test"], ["updated_at", "2014-08-01 06:11:25.538214"]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards/214/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-08-01 06:11:25.542699"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-08-01 06:11:25.542699"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#new as HTML Completed 200 OK in 3ms (Views: 3.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-08-01 06:11:25.550059"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-08-01 06:11:25.550059"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#destroy as HTML Parameters: {"id"=>"216"} Prosperity::Dashboard Load (0.2ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 216]]  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 [["id", 216]]  (0.3ms) COMMIT Redirected to http://test.host/prosperity/dashboards Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Prosperity::Dashboard Load (0.4ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = 216 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-08-01 06:11:25.564289"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-08-01 06:11:25.564289"]]  (5.8ms) COMMIT Processing by Prosperity::DashboardsController#show as HTML Parameters: {"id"=>"217"} Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 217]] Rendered /Users/simon/Documents/code/prosperity/app/views/prosperity/shared/_date_range.html.erb (1.2ms) Prosperity::Graph Exists (24.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", 217]] 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", 217]] Completed 200 OK in 64ms (Views: 37.0ms | ActiveRecord: 26.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-08-01 06:11:25.638352"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-08-01 06:11:25.638352"]]  (0.4ms) COMMIT Processing by Prosperity::DashboardsController#edit as HTML Parameters: {"id"=>"218"} Prosperity::Dashboard Load (0.3ms) SELECT "prosperity_dashboards".* FROM "prosperity_dashboards" WHERE "prosperity_dashboards"."id" = $1 LIMIT 1 [["id", 218]] 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", 218]] Prosperity::Graph Load (0.8ms) SELECT "prosperity_graphs".* FROM "prosperity_graphs" Completed 200 OK in 25ms (Views: 21.9ms | 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-08-01 06:11:25.670514"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-08-01 06:11:25.670514"]]  (5.6ms) 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-08-01 06:11:25.682993"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-08-01 06:11:25.682993"]]  (6.3ms) COMMIT  (0.3ms) 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-08-01 06:11:25.694795"], ["default", "f"], ["title", "My Dashboard"], ["updated_at", "2014-08-01 06:11:25.694795"]]  (0.3ms) COMMIT Processing by Prosperity::MetricsController#index as HTML Completed 200 OK in 8ms (Views: 5.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#show as HTML Parameters: {"id"=>"UsersMetric"} Rendered /Users/simon/Documents/code/prosperity/app/views/prosperity/graphs/_render_graph.html.erb (0.6ms) Rendered /Users/simon/Documents/code/prosperity/app/views/prosperity/shared/_date_range.html.erb (0.4ms) Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} divided by 0 /Users/simon/Documents/code/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `/' /Users/simon/Documents/code/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:107:in `block (4 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-mocks-3.0.3/lib/rspec/mocks/message_expectation.rb:592:in `call' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-mocks-3.0.3/lib/rspec/mocks/message_expectation.rb:592:in `block in call' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-mocks-3.0.3/lib/rspec/mocks/message_expectation.rb:591:in `map' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-mocks-3.0.3/lib/rspec/mocks/message_expectation.rb:591:in `call' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-mocks-3.0.3/lib/rspec/mocks/message_expectation.rb:495:in `invoke_incrementing_actual_calls_by' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-mocks-3.0.3/lib/rspec/mocks/message_expectation.rb:214:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-mocks-3.0.3/lib/rspec/mocks/proxy.rb:168:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-mocks-3.0.3/lib/rspec/mocks/proxy.rb:306:in `message_received' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-mocks-3.0.3/lib/rspec/mocks/method_double.rb:73:in `proxy_method_invoked' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-mocks-3.0.3/lib/rspec/mocks/method_double.rb:60:in `block (2 levels) in define_proxy_method' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-mocks-3.0.3/lib/rspec/mocks/any_instance/recorder.rb:232:in `block in observe!' /Users/simon/Documents/code/prosperity/lib/prosperity/extractors/base.rb:11:in `scope' /Users/simon/Documents/code/prosperity/lib/prosperity/extractors/interval.rb:33:in `to_a' /Users/simon/Documents/code/prosperity/app/controllers/prosperity/metrics_controller.rb:49:in `data' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/actionpack-4.1.4/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/actionpack-4.1.4/lib/abstract_controller/base.rb:189:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/actionpack-4.1.4/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/actionpack-4.1.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/activesupport-4.1.4/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/activesupport-4.1.4/lib/active_support/callbacks.rb:113:in `call' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/activesupport-4.1.4/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/activesupport-4.1.4/lib/active_support/callbacks.rb:86:in `call' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/activesupport-4.1.4/lib/active_support/callbacks.rb:86:in `run_callbacks' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/actionpack-4.1.4/lib/abstract_controller/callbacks.rb:19:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/actionpack-4.1.4/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/actionpack-4.1.4/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/activesupport-4.1.4/lib/active_support/notifications.rb:159:in `block in instrument' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/activesupport-4.1.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/activesupport-4.1.4/lib/active_support/notifications.rb:159:in `instrument' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/actionpack-4.1.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/actionpack-4.1.4/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/activerecord-4.1.4/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/actionpack-4.1.4/lib/abstract_controller/base.rb:136:in `process' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/actionview-4.1.4/lib/action_view/rendering.rb:30:in `process' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/actionpack-4.1.4/lib/action_controller/test_case.rb:595:in `process' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/actionpack-4.1.4/lib/action_controller/test_case.rb:64:in `process' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/actionpack-4.1.4/lib/action_controller/test_case.rb:495:in `get' /Users/simon/Documents/code/prosperity/spec/controllers/prosperity/metrics_controller_spec.rb:109:in `block (3 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example.rb:148:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example.rb:148:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example.rb:210:in `call' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example.rb:210:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-rails-3.0.2/lib/rspec/rails/example/controller_example_group.rb:174:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example.rb:294:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example.rb:294:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/hooks.rb:430:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example.rb:210:in `call' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example.rb:210:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-rails-3.0.2/lib/rspec/rails/adapters.rb:72:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example.rb:294:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example.rb:294:in `instance_exec' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/hooks.rb:430:in `block (2 levels) in run' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example.rb:210:in `call' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example.rb:210:in `block (2 levels) in ' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/hooks.rb:432:in `run' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/hooks.rb:485:in `run' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example.rb:303:in `with_around_example_hooks' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example.rb:145:in `run' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example_group.rb:494:in `block in run_examples' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example_group.rb:490:in `map' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example_group.rb:490:in `run_examples' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example_group.rb:457:in `run' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example_group.rb:458:in `block in run' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example_group.rb:458:in `map' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/example_group.rb:458:in `run' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/runner.rb:112:in `block (2 levels) in run_specs' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/runner.rb:112:in `map' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/runner.rb:112:in `block in run_specs' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/reporter.rb:54:in `report' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/runner.rb:108:in `run_specs' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/runner.rb:86:in `run' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/runner.rb:70:in `run' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/lib/rspec/core/runner.rb:38:in `invoke' /Users/simon/.rvm/gems/ruby-2.1.0@prosperity/gems/rspec-core-3.0.3/exe/rspec:4:in `
' Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"id"=>"UsersMetric"} Completed 200 OK in 2ms (Views: 0.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-04-28 07:00:00.000000' AND '2014-08-04 06:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms) Processing by Prosperity::MetricsController#data as JSON Parameters: {"period"=>"week", "start_time"=>2014-07-31 00:00:00 -0700, "end_time"=>2014-07-31 23:59:59 -0700, "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-07-28 07:00:00.000000' AND '2014-08-04 06:59:59.999999') GROUP BY to_char(created_at, 'YYYY-WW') Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms) 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 2ms (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: {"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: {"extractor"=>"total", "id"=>"UsersMetric"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)