repor 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/lib/repor/serializers/highcharts_serializer.rb +1 -1
  3. data/lib/repor/serializers/table_serializer.rb +2 -0
  4. data/lib/repor/version.rb +1 -1
  5. data/spec/dummy/app/views/site/report.html.erb +3 -3
  6. data/spec/dummy/log/development.log +679 -0
  7. data/spec/dummy/log/test.log +1842 -0
  8. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1nCjdvT_Az6Eosj_ySnnyeNlZVFP9vE2KoQJKvMkHH4.cache +0 -0
  9. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5hU2KBpYTUKPGtN4EswsaWSLQvBxLk5sALZAFPIfGzQ.cache +1 -0
  10. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/BMMDPf0vYQmFsF1L0E8NUBKE4JWnhIxY_iTncwr1J78.cache +0 -0
  11. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LHgjtAV8kdldaJ_dX0RCznzjmWYRuLdhU29fZCJ0VmU.cache +1 -0
  12. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ONaU41V-UtKEvfu-JF1fQHAzmrW0AsQ7B52kSCe-I4o.cache +2 -0
  13. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PQvDKJzJR8bbYD5yaG9mVhYLGN4YhQUphWjPfZFoyGM.cache +2 -0
  14. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RKtd3n1K9jUG6Q6Akn4jSy-qib7T2NXcCHoVBXK5tgo.cache +1 -0
  15. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SgT_N_F2B4ToHumfoGbsGDW_UXYSsQZSQa0qPK192RA.cache +0 -0
  16. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UayTccXvv284twaDn6AAbulsnTFay51fcF_pRV5-uWw.cache +1 -0
  17. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VnmJewQwjzruN7LCwEUid0E4KfEzCLILc_L2m6tQFR4.cache +1 -0
  18. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VrxiGofRS-xnZJWJbBvaK6IRtbI4dz3Moe8TBgKn8eo.cache +0 -0
  19. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/a5_PjkRCrmFjKwRs2aIexPTDaQ5lOpxb5tfn5c2FwWs.cache +1 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bstscdadQ2mHo8CnbbhgNFV6Scb_rR8c9N1J_q_XN-o.cache +2 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gHurXwbFaPGNB6P1cv4kg4h-LaC72C-alTapiNDsjzg.cache +0 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +2 -0
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +2 -0
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/j4eetoKy8UbTNHNacG8uJGV4rSnYMTZJkwaIzDjhoWQ.cache +1 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kzdSvu57G4i6eTuarsZCAfbhbICnkRa0Xhi0b9ua6qk.cache +1 -0
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +2 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pSmKPcxihnc29eSpI_Jv3cpQ8-1gMgQtQbckqe8K0qA.cache +0 -0
  28. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rCO5-bHVJ6Y_GsPBmOPUL23pfjvc2Gw2zt_ODmZsygw.cache +1 -0
  29. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ztM5gRu7Yb6KDGqvjWgaVfHLjdo2nMrtbWm1xFm8yA4.cache +0 -0
  30. data/spec/dummy/tmp/pids/server.pid +1 -0
  31. data/spec/repor/serializers/highcharts_serializer_spec.rb +107 -0
  32. data/spec/repor/serializers/table_serializer_spec.rb +62 -0
  33. metadata +52 -2
@@ -43104,3 +43104,1845 @@ LINE 5: WHERE a.attrelid = '"authors"'::regclass
43104
43104
   (0.2ms) ROLLBACK
43105
43105
   (0.1ms) BEGIN
43106
43106
   (0.2ms) ROLLBACK
43107
+ ActiveRecord::SchemaMigration Load (3.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
43108
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
43109
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
43110
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
43111
+  (1.3ms) BEGIN
43112
+  (0.9ms) SAVEPOINT active_record_1
43113
+ SQL (14.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:50:39.769237"]]
43114
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43115
+  (0.2ms) SAVEPOINT active_record_1
43116
+ SQL (3.1ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:50:39.799523"]]
43117
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43118
+  (0.2ms) SAVEPOINT active_record_1
43119
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:50:39.805106"]]
43120
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43121
+  (0.2ms) SAVEPOINT active_record_1
43122
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:50:39.807429"]]
43123
+  (0.3ms) RELEASE SAVEPOINT active_record_1
43124
+  (2.5ms) ROLLBACK
43125
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
43126
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
43127
+  (0.3ms) BEGIN
43128
+  (0.3ms) SAVEPOINT active_record_1
43129
+ SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:50:56.708936"]]
43130
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43131
+  (0.2ms) SAVEPOINT active_record_1
43132
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:50:56.717102"]]
43133
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43134
+  (0.2ms) SAVEPOINT active_record_1
43135
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:50:56.719034"]]
43136
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43137
+  (0.2ms) SAVEPOINT active_record_1
43138
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:50:56.721465"]]
43139
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43140
+  (0.6ms) ROLLBACK
43141
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
43142
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
43143
+  (0.3ms) BEGIN
43144
+  (0.3ms) SAVEPOINT active_record_1
43145
+ SQL (0.9ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:52:06.534690"]]
43146
+  (0.3ms) RELEASE SAVEPOINT active_record_1
43147
+  (0.2ms) SAVEPOINT active_record_1
43148
+ SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:52:06.543011"]]
43149
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43150
+  (0.1ms) SAVEPOINT active_record_1
43151
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:52:06.545676"]]
43152
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43153
+  (0.2ms) SAVEPOINT active_record_1
43154
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:52:06.547488"]]
43155
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43156
+  (0.3ms) ROLLBACK
43157
+  (0.2ms) BEGIN
43158
+  (0.1ms) SAVEPOINT active_record_1
43159
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:52:06.554157"]]
43160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43161
+  (0.2ms) SAVEPOINT active_record_1
43162
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:52:06.556461"]]
43163
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43164
+  (0.2ms) SAVEPOINT active_record_1
43165
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:52:06.558329"]]
43166
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43167
+  (0.2ms) SAVEPOINT active_record_1
43168
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:52:06.560280"]]
43169
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43170
+  (0.3ms) SELECT COUNT(*) FROM "posts"
43171
+  (0.4ms) ROLLBACK
43172
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
43173
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
43174
+  (0.2ms) BEGIN
43175
+  (0.3ms) SAVEPOINT active_record_1
43176
+ SQL (0.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.860363"]]
43177
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43178
+  (0.2ms) SAVEPOINT active_record_1
43179
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.867503"]]
43180
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43181
+  (0.2ms) SAVEPOINT active_record_1
43182
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:56:21.869515"]]
43183
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43184
+  (0.2ms) SAVEPOINT active_record_1
43185
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.871388"]]
43186
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43187
+  (0.2ms) ROLLBACK
43188
+  (0.2ms) BEGIN
43189
+  (0.2ms) SAVEPOINT active_record_1
43190
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.878183"]]
43191
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43192
+  (0.2ms) SAVEPOINT active_record_1
43193
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.880177"]]
43194
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43195
+  (0.2ms) SAVEPOINT active_record_1
43196
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:56:21.882158"]]
43197
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43198
+  (0.2ms) SAVEPOINT active_record_1
43199
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.883962"]]
43200
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43201
+  (0.4ms) SELECT COUNT(*) FROM "posts"
43202
+  (0.3ms) ROLLBACK
43203
+  (0.2ms) BEGIN
43204
+  (0.2ms) SAVEPOINT active_record_1
43205
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.910100"]]
43206
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43207
+  (0.2ms) SAVEPOINT active_record_1
43208
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.912456"]]
43209
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43210
+  (0.2ms) SAVEPOINT active_record_1
43211
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:56:21.914241"]]
43212
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43213
+  (0.2ms) SAVEPOINT active_record_1
43214
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.916003"]]
43215
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43216
+  (15.0ms) SELECT MIN(posts.created_at) FROM "posts"
43217
+  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"
43218
+  (0.5ms) SELECT MIN(posts.likes) FROM "posts"
43219
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
43220
+  (17.6ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
43221
+ SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
43222
+ SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
43223
+ ) AS _repor_dimension_created_at_bin_table ON (
43224
+ CASE
43225
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
43226
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
43227
+ WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
43228
+ ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
43229
+ END
43230
+ ) INNER JOIN (
43231
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
43232
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
43233
+ ) AS _repor_dimension_likes_bin_table ON (
43234
+ CASE
43235
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
43236
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
43237
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
43238
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
43239
+ END
43240
+ ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
43241
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
43242
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
43243
+  (0.2ms) BEGIN
43244
+  (0.2ms) SAVEPOINT active_record_1
43245
+ SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.223770"]]
43246
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43247
+  (0.2ms) SAVEPOINT active_record_1
43248
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.230444"]]
43249
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43250
+  (0.7ms) SAVEPOINT active_record_1
43251
+ SQL (10.1ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:58:09.233228"]]
43252
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43253
+  (0.2ms) SAVEPOINT active_record_1
43254
+ SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.246153"]]
43255
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43256
+  (0.3ms) ROLLBACK
43257
+  (0.1ms) BEGIN
43258
+  (0.2ms) SAVEPOINT active_record_1
43259
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.253610"]]
43260
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43261
+  (0.3ms) SAVEPOINT active_record_1
43262
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.255691"]]
43263
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43264
+  (0.2ms) SAVEPOINT active_record_1
43265
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:58:09.258065"]]
43266
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43267
+  (0.2ms) SAVEPOINT active_record_1
43268
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.260379"]]
43269
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43270
+  (0.4ms) SELECT COUNT(*) FROM "posts"
43271
+  (0.3ms) ROLLBACK
43272
+  (0.2ms) BEGIN
43273
+  (0.2ms) SAVEPOINT active_record_1
43274
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.284465"]]
43275
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43276
+  (0.2ms) SAVEPOINT active_record_1
43277
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.286805"]]
43278
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43279
+  (0.2ms) SAVEPOINT active_record_1
43280
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:58:09.288728"]]
43281
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43282
+  (0.2ms) SAVEPOINT active_record_1
43283
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.290658"]]
43284
+  (0.4ms) RELEASE SAVEPOINT active_record_1
43285
+  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"
43286
+  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"
43287
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
43288
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
43289
+  (1.9ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
43290
+ SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
43291
+ SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
43292
+ ) AS _repor_dimension_created_at_bin_table ON (
43293
+ CASE
43294
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
43295
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
43296
+ WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
43297
+ ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
43298
+ END
43299
+ ) INNER JOIN (
43300
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
43301
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
43302
+ ) AS _repor_dimension_likes_bin_table ON (
43303
+ CASE
43304
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
43305
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
43306
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
43307
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
43308
+ END
43309
+ ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
43310
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
43311
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
43312
+  (0.3ms) BEGIN
43313
+  (0.3ms) SAVEPOINT active_record_1
43314
+ SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.921748"]]
43315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43316
+  (0.1ms) SAVEPOINT active_record_1
43317
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.929159"]]
43318
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43319
+  (0.2ms) SAVEPOINT active_record_1
43320
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:20.931270"]]
43321
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43322
+  (0.2ms) SAVEPOINT active_record_1
43323
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.933092"]]
43324
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43325
+  (0.4ms) ROLLBACK
43326
+  (0.2ms) BEGIN
43327
+  (0.3ms) SAVEPOINT active_record_1
43328
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.940724"]]
43329
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43330
+  (0.2ms) SAVEPOINT active_record_1
43331
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.942910"]]
43332
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43333
+  (0.2ms) SAVEPOINT active_record_1
43334
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:20.944986"]]
43335
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43336
+  (0.2ms) SAVEPOINT active_record_1
43337
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.946769"]]
43338
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43339
+  (0.4ms) SELECT COUNT(*) FROM "posts"
43340
+  (0.4ms) ROLLBACK
43341
+  (0.2ms) BEGIN
43342
+  (0.2ms) SAVEPOINT active_record_1
43343
+ SQL (0.8ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.971426"]]
43344
+  (0.3ms) RELEASE SAVEPOINT active_record_1
43345
+  (0.2ms) SAVEPOINT active_record_1
43346
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.975224"]]
43347
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43348
+  (0.2ms) SAVEPOINT active_record_1
43349
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:20.977196"]]
43350
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43351
+  (0.2ms) SAVEPOINT active_record_1
43352
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.979525"]]
43353
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43354
+  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"
43355
+  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"
43356
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
43357
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
43358
+  (2.6ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
43359
+ SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
43360
+ SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
43361
+ ) AS _repor_dimension_created_at_bin_table ON (
43362
+ CASE
43363
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
43364
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
43365
+ WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
43366
+ ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
43367
+ END
43368
+ ) INNER JOIN (
43369
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
43370
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
43371
+ ) AS _repor_dimension_likes_bin_table ON (
43372
+ CASE
43373
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
43374
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
43375
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
43376
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
43377
+ END
43378
+ ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
43379
+  (0.5ms) ROLLBACK
43380
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
43381
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
43382
+  (0.2ms) BEGIN
43383
+  (0.3ms) SAVEPOINT active_record_1
43384
+ SQL (1.1ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.526138"]]
43385
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43386
+  (0.2ms) SAVEPOINT active_record_1
43387
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.535090"]]
43388
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43389
+  (0.1ms) SAVEPOINT active_record_1
43390
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:51.537176"]]
43391
+  (0.9ms) RELEASE SAVEPOINT active_record_1
43392
+  (0.2ms) SAVEPOINT active_record_1
43393
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.540106"]]
43394
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43395
+  (0.4ms) ROLLBACK
43396
+  (0.2ms) BEGIN
43397
+  (0.2ms) SAVEPOINT active_record_1
43398
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.548882"]]
43399
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43400
+  (0.2ms) SAVEPOINT active_record_1
43401
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.550776"]]
43402
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43403
+  (0.2ms) SAVEPOINT active_record_1
43404
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:51.552606"]]
43405
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43406
+  (0.2ms) SAVEPOINT active_record_1
43407
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.554623"]]
43408
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43409
+  (0.4ms) SELECT COUNT(*) FROM "posts"
43410
+  (0.3ms) ROLLBACK
43411
+  (0.2ms) BEGIN
43412
+  (0.2ms) SAVEPOINT active_record_1
43413
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.579757"]]
43414
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43415
+  (0.2ms) SAVEPOINT active_record_1
43416
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.582159"]]
43417
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43418
+  (0.2ms) SAVEPOINT active_record_1
43419
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:51.584051"]]
43420
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43421
+  (0.1ms) SAVEPOINT active_record_1
43422
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.586230"]]
43423
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43424
+  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"
43425
+  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"
43426
+  (0.7ms) SELECT MIN(posts.likes) FROM "posts"
43427
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
43428
+  (2.0ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
43429
+ SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
43430
+ SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
43431
+ ) AS _repor_dimension_created_at_bin_table ON (
43432
+ CASE
43433
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
43434
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
43435
+ WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
43436
+ ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
43437
+ END
43438
+ ) INNER JOIN (
43439
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
43440
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
43441
+ ) AS _repor_dimension_likes_bin_table ON (
43442
+ CASE
43443
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
43444
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
43445
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
43446
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
43447
+ END
43448
+ ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
43449
+  (0.4ms) ROLLBACK
43450
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
43451
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
43452
+  (0.2ms) BEGIN
43453
+ Author Load (3.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43454
+  (0.3ms) SAVEPOINT active_record_1
43455
+ SQL (3.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:57.894532"], ["updated_at", "2016-04-05 14:00:57.894532"]]
43456
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43457
+  (0.2ms) SAVEPOINT active_record_1
43458
+ SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 73], ["created_at", "2016-04-05 14:00:57.899946"], ["updated_at", "2016-04-05 14:00:57.899946"]]
43459
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43460
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43461
+  (0.2ms) SAVEPOINT active_record_1
43462
+ SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 73], ["created_at", "2016-04-05 14:00:57.903216"], ["updated_at", "2016-04-05 14:00:57.903216"]]
43463
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43464
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43465
+  (0.3ms) SAVEPOINT active_record_1
43466
+ SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:57.905920"], ["updated_at", "2016-04-05 14:00:57.905920"]]
43467
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43468
+  (0.4ms) SAVEPOINT active_record_1
43469
+ SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 74], ["created_at", "2016-04-05 14:00:57.908144"], ["updated_at", "2016-04-05 14:00:57.908144"]]
43470
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43471
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43472
+  (0.2ms) SAVEPOINT active_record_1
43473
+ SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 74], ["created_at", "2016-04-05 14:00:57.911264"], ["updated_at", "2016-04-05 14:00:57.911264"]]
43474
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43475
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43476
+  (0.5ms) SAVEPOINT active_record_1
43477
+ SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 74], ["created_at", "2016-04-05 14:00:57.914154"], ["updated_at", "2016-04-05 14:00:57.914154"]]
43478
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43479
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]
43480
+  (0.2ms) SAVEPOINT active_record_1
43481
+ SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-05 14:00:57.916875"], ["updated_at", "2016-04-05 14:00:57.916875"]]
43482
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43483
+  (0.2ms) SAVEPOINT active_record_1
43484
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 75], ["created_at", "2016-04-05 14:00:57.918399"], ["updated_at", "2016-04-05 14:00:57.918399"]]
43485
+  (0.3ms) RELEASE SAVEPOINT active_record_1
43486
+  (3.7ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST
43487
+  (3.0ms) ROLLBACK
43488
+  (0.2ms) BEGIN
43489
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43490
+  (0.2ms) SAVEPOINT active_record_1
43491
+ SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:57.941613"], ["updated_at", "2016-04-05 14:00:57.941613"]]
43492
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43493
+  (0.1ms) SAVEPOINT active_record_1
43494
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 76], ["created_at", "2016-04-05 14:00:57.943428"], ["updated_at", "2016-04-05 14:00:57.943428"]]
43495
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43496
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43497
+  (0.2ms) SAVEPOINT active_record_1
43498
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 76], ["created_at", "2016-04-05 14:00:57.945931"], ["updated_at", "2016-04-05 14:00:57.945931"]]
43499
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43500
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43501
+  (0.2ms) SAVEPOINT active_record_1
43502
+ SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:57.948460"], ["updated_at", "2016-04-05 14:00:57.948460"]]
43503
+  (0.3ms) RELEASE SAVEPOINT active_record_1
43504
+  (0.2ms) SAVEPOINT active_record_1
43505
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 77], ["created_at", "2016-04-05 14:00:57.950517"], ["updated_at", "2016-04-05 14:00:57.950517"]]
43506
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43507
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43508
+  (0.2ms) SAVEPOINT active_record_1
43509
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 77], ["created_at", "2016-04-05 14:00:57.953059"], ["updated_at", "2016-04-05 14:00:57.953059"]]
43510
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43511
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43512
+  (0.2ms) SAVEPOINT active_record_1
43513
+ SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 77], ["created_at", "2016-04-05 14:00:57.955550"], ["updated_at", "2016-04-05 14:00:57.955550"]]
43514
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43515
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]
43516
+  (0.2ms) SAVEPOINT active_record_1
43517
+ SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-05 14:00:57.958731"], ["updated_at", "2016-04-05 14:00:57.958731"]]
43518
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43519
+  (0.2ms) SAVEPOINT active_record_1
43520
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 78], ["created_at", "2016-04-05 14:00:57.960307"], ["updated_at", "2016-04-05 14:00:57.960307"]]
43521
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43522
+  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST
43523
+  (0.2ms) ROLLBACK
43524
+  (0.2ms) BEGIN
43525
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43526
+  (0.2ms) SAVEPOINT active_record_1
43527
+ SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:57.965420"], ["updated_at", "2016-04-05 14:00:57.965420"]]
43528
+  (0.3ms) RELEASE SAVEPOINT active_record_1
43529
+  (0.2ms) SAVEPOINT active_record_1
43530
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 79], ["created_at", "2016-04-05 14:00:57.967392"], ["updated_at", "2016-04-05 14:00:57.967392"]]
43531
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43532
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43533
+  (0.2ms) SAVEPOINT active_record_1
43534
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 79], ["created_at", "2016-04-05 14:00:57.969813"], ["updated_at", "2016-04-05 14:00:57.969813"]]
43535
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43536
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43537
+  (0.2ms) SAVEPOINT active_record_1
43538
+ SQL (1.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:57.972249"], ["updated_at", "2016-04-05 14:00:57.972249"]]
43539
+  (0.3ms) RELEASE SAVEPOINT active_record_1
43540
+  (0.2ms) SAVEPOINT active_record_1
43541
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 80], ["created_at", "2016-04-05 14:00:57.975279"], ["updated_at", "2016-04-05 14:00:57.975279"]]
43542
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43543
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43544
+  (0.2ms) SAVEPOINT active_record_1
43545
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 80], ["created_at", "2016-04-05 14:00:57.977761"], ["updated_at", "2016-04-05 14:00:57.977761"]]
43546
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43547
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43548
+  (0.2ms) SAVEPOINT active_record_1
43549
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 80], ["created_at", "2016-04-05 14:00:57.980247"], ["updated_at", "2016-04-05 14:00:57.980247"]]
43550
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43551
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]
43552
+  (0.1ms) SAVEPOINT active_record_1
43553
+ SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-05 14:00:57.983083"], ["updated_at", "2016-04-05 14:00:57.983083"]]
43554
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43555
+  (0.2ms) SAVEPOINT active_record_1
43556
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 81], ["created_at", "2016-04-05 14:00:57.984719"], ["updated_at", "2016-04-05 14:00:57.984719"]]
43557
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43558
+  (0.5ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST
43559
+  (0.2ms) ROLLBACK
43560
+  (0.2ms) BEGIN
43561
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43562
+  (0.2ms) SAVEPOINT active_record_1
43563
+ SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:57.990722"], ["updated_at", "2016-04-05 14:00:57.990722"]]
43564
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43565
+  (0.2ms) SAVEPOINT active_record_1
43566
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 82], ["created_at", "2016-04-05 14:00:57.992450"], ["updated_at", "2016-04-05 14:00:57.992450"]]
43567
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43568
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43569
+  (0.2ms) SAVEPOINT active_record_1
43570
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 82], ["created_at", "2016-04-05 14:00:57.994852"], ["updated_at", "2016-04-05 14:00:57.994852"]]
43571
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43572
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43573
+  (0.2ms) SAVEPOINT active_record_1
43574
+ SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:57.997915"], ["updated_at", "2016-04-05 14:00:57.997915"]]
43575
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43576
+  (0.1ms) SAVEPOINT active_record_1
43577
+ SQL (0.7ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 83], ["created_at", "2016-04-05 14:00:58.000148"], ["updated_at", "2016-04-05 14:00:58.000148"]]
43578
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43579
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43580
+  (0.2ms) SAVEPOINT active_record_1
43581
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 83], ["created_at", "2016-04-05 14:00:58.003377"], ["updated_at", "2016-04-05 14:00:58.003377"]]
43582
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43583
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43584
+  (0.2ms) SAVEPOINT active_record_1
43585
+ SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 83], ["created_at", "2016-04-05 14:00:58.005893"], ["updated_at", "2016-04-05 14:00:58.005893"]]
43586
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43587
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]
43588
+  (0.2ms) SAVEPOINT active_record_1
43589
+ SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-05 14:00:58.009299"], ["updated_at", "2016-04-05 14:00:58.009299"]]
43590
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43591
+  (0.1ms) SAVEPOINT active_record_1
43592
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 84], ["created_at", "2016-04-05 14:00:58.010902"], ["updated_at", "2016-04-05 14:00:58.010902"]]
43593
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43594
+  (2.9ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST
43595
+  (0.3ms) ROLLBACK
43596
+  (0.2ms) BEGIN
43597
+ Author Load (0.5ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43598
+  (0.2ms) SAVEPOINT active_record_1
43599
+ SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:58.024432"], ["updated_at", "2016-04-05 14:00:58.024432"]]
43600
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43601
+  (0.2ms) SAVEPOINT active_record_1
43602
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 85], ["created_at", "2016-04-05 14:00:58.026517"], ["updated_at", "2016-04-05 14:00:58.026517"]]
43603
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43604
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43605
+  (0.2ms) SAVEPOINT active_record_1
43606
+ SQL (0.7ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 85], ["created_at", "2016-04-05 14:00:58.028941"], ["updated_at", "2016-04-05 14:00:58.028941"]]
43607
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43608
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43609
+  (0.2ms) SAVEPOINT active_record_1
43610
+ SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:58.032763"], ["updated_at", "2016-04-05 14:00:58.032763"]]
43611
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43612
+  (0.2ms) SAVEPOINT active_record_1
43613
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 86], ["created_at", "2016-04-05 14:00:58.034258"], ["updated_at", "2016-04-05 14:00:58.034258"]]
43614
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43615
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43616
+  (0.2ms) SAVEPOINT active_record_1
43617
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 86], ["created_at", "2016-04-05 14:00:58.036808"], ["updated_at", "2016-04-05 14:00:58.036808"]]
43618
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43619
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43620
+  (0.2ms) SAVEPOINT active_record_1
43621
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 86], ["created_at", "2016-04-05 14:00:58.039487"], ["updated_at", "2016-04-05 14:00:58.039487"]]
43622
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43623
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]
43624
+  (0.1ms) SAVEPOINT active_record_1
43625
+ SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-05 14:00:58.042957"], ["updated_at", "2016-04-05 14:00:58.042957"]]
43626
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43627
+  (0.2ms) SAVEPOINT active_record_1
43628
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 87], ["created_at", "2016-04-05 14:00:58.044554"], ["updated_at", "2016-04-05 14:00:58.044554"]]
43629
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43630
+  (2.8ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST
43631
+  (0.2ms) ROLLBACK
43632
+  (0.1ms) BEGIN
43633
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43634
+  (0.2ms) SAVEPOINT active_record_1
43635
+ SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:58.052475"], ["updated_at", "2016-04-05 14:00:58.052475"]]
43636
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43637
+  (0.2ms) SAVEPOINT active_record_1
43638
+ SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 88], ["created_at", "2016-04-05 14:00:58.054217"], ["updated_at", "2016-04-05 14:00:58.054217"]]
43639
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43640
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43641
+  (0.2ms) SAVEPOINT active_record_1
43642
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 88], ["created_at", "2016-04-05 14:00:58.057797"], ["updated_at", "2016-04-05 14:00:58.057797"]]
43643
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43644
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43645
+  (0.2ms) SAVEPOINT active_record_1
43646
+ SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:58.061357"], ["updated_at", "2016-04-05 14:00:58.061357"]]
43647
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43648
+  (0.2ms) SAVEPOINT active_record_1
43649
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 89], ["created_at", "2016-04-05 14:00:58.063165"], ["updated_at", "2016-04-05 14:00:58.063165"]]
43650
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43651
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43652
+  (0.2ms) SAVEPOINT active_record_1
43653
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 89], ["created_at", "2016-04-05 14:00:58.066206"], ["updated_at", "2016-04-05 14:00:58.066206"]]
43654
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43655
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43656
+  (0.2ms) SAVEPOINT active_record_1
43657
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 89], ["created_at", "2016-04-05 14:00:58.068614"], ["updated_at", "2016-04-05 14:00:58.068614"]]
43658
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43659
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]
43660
+  (0.2ms) SAVEPOINT active_record_1
43661
+ SQL (0.7ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-05 14:00:58.071534"], ["updated_at", "2016-04-05 14:00:58.071534"]]
43662
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43663
+  (0.2ms) SAVEPOINT active_record_1
43664
+ SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 90], ["created_at", "2016-04-05 14:00:58.074622"], ["updated_at", "2016-04-05 14:00:58.074622"]]
43665
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43666
+  (0.7ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST
43667
+  (0.2ms) ROLLBACK
43668
+  (0.2ms) BEGIN
43669
+  (0.2ms) ROLLBACK
43670
+  (0.7ms) BEGIN
43671
+  (0.2ms) ROLLBACK
43672
+  (0.1ms) BEGIN
43673
+  (0.2ms) ROLLBACK
43674
+  (0.2ms) BEGIN
43675
+  (0.3ms) ROLLBACK
43676
+  (0.1ms) BEGIN
43677
+  (0.1ms) ROLLBACK
43678
+  (0.3ms) BEGIN
43679
+  (0.2ms) ROLLBACK
43680
+  (0.1ms) BEGIN
43681
+  (0.2ms) ROLLBACK
43682
+  (0.2ms) BEGIN
43683
+  (0.2ms) ROLLBACK
43684
+  (0.1ms) BEGIN
43685
+  (0.2ms) ROLLBACK
43686
+  (0.2ms) BEGIN
43687
+  (0.1ms) ROLLBACK
43688
+  (0.2ms) BEGIN
43689
+  (0.2ms) ROLLBACK
43690
+  (0.2ms) BEGIN
43691
+  (0.2ms) ROLLBACK
43692
+  (0.2ms) BEGIN
43693
+  (0.3ms) ROLLBACK
43694
+  (0.2ms) BEGIN
43695
+  (0.1ms) ROLLBACK
43696
+  (0.1ms) BEGIN
43697
+  (0.1ms) ROLLBACK
43698
+  (0.2ms) BEGIN
43699
+  (0.4ms) ROLLBACK
43700
+  (0.1ms) BEGIN
43701
+  (0.2ms) ROLLBACK
43702
+  (0.2ms) BEGIN
43703
+  (0.4ms) ROLLBACK
43704
+  (0.2ms) BEGIN
43705
+  (0.2ms) ROLLBACK
43706
+  (0.1ms) BEGIN
43707
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
43708
+  (0.9ms) SELECT MAX(posts.likes) FROM "posts"
43709
+  (0.2ms) SAVEPOINT active_record_1
43710
+ SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-05 14:00:58.132073"], ["updated_at", "2016-04-05 14:00:58.132073"]]
43711
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43712
+  (0.2ms) SAVEPOINT active_record_1
43713
+ SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-05 14:00:58.134307"], ["updated_at", "2016-04-05 14:00:58.134307"]]
43714
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43715
+  (0.2ms) SAVEPOINT active_record_1
43716
+ SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-05 14:00:58.136463"], ["updated_at", "2016-04-05 14:00:58.136463"]]
43717
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43718
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
43719
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
43720
+  (0.2ms) ROLLBACK
43721
+  (0.1ms) BEGIN
43722
+  (0.3ms) ROLLBACK
43723
+  (0.2ms) BEGIN
43724
+  (0.2ms) SAVEPOINT active_record_1
43725
+ SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-05 14:00:58.193930"], ["updated_at", "2016-04-05 14:00:58.193930"]]
43726
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43727
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
43728
+  (0.2ms) ROLLBACK
43729
+  (0.2ms) BEGIN
43730
+  (0.2ms) ROLLBACK
43731
+  (2.0ms) BEGIN
43732
+ Author Load (5.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43733
+  (0.2ms) SAVEPOINT active_record_1
43734
+ SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:58.217851"], ["updated_at", "2016-04-05 14:00:58.217851"]]
43735
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43736
+  (0.2ms) SAVEPOINT active_record_1
43737
+ SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 91], ["created_at", "2016-04-05 14:00:58.219827"], ["updated_at", "2016-04-05 14:00:58.219827"]]
43738
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43739
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43740
+  (0.2ms) SAVEPOINT active_record_1
43741
+ SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:58.222693"], ["updated_at", "2016-04-05 14:00:58.222693"]]
43742
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43743
+  (0.1ms) SAVEPOINT active_record_1
43744
+ SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 92], ["created_at", "2016-04-05 14:00:58.224724"], ["updated_at", "2016-04-05 14:00:58.224724"]]
43745
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43746
+  (0.6ms) SAVEPOINT active_record_1
43747
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-05 14:00:58.230712"], ["updated_at", "2016-04-05 14:00:58.230712"]]
43748
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43749
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice'))
43750
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL))
43751
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice'))
43752
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob'))
43753
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))
43754
+  (0.2ms) ROLLBACK
43755
+  (0.1ms) BEGIN
43756
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43757
+  (0.2ms) SAVEPOINT active_record_1
43758
+ SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:58.244145"], ["updated_at", "2016-04-05 14:00:58.244145"]]
43759
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43760
+  (0.2ms) SAVEPOINT active_record_1
43761
+ SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 93], ["created_at", "2016-04-05 14:00:58.245960"], ["updated_at", "2016-04-05 14:00:58.245960"]]
43762
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43763
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]
43764
+  (0.2ms) SAVEPOINT active_record_1
43765
+ SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 93], ["created_at", "2016-04-05 14:00:58.249051"], ["updated_at", "2016-04-05 14:00:58.249051"]]
43766
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43767
+  (0.2ms) SAVEPOINT active_record_1
43768
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-05 14:00:58.250923"], ["updated_at", "2016-04-05 14:00:58.250923"]]
43769
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43770
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43771
+  (0.2ms) SAVEPOINT active_record_1
43772
+ SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:58.253483"], ["updated_at", "2016-04-05 14:00:58.253483"]]
43773
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43774
+  (0.1ms) SAVEPOINT active_record_1
43775
+ SQL (1.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 94], ["created_at", "2016-04-05 14:00:58.255004"], ["updated_at", "2016-04-05 14:00:58.255004"]]
43776
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43777
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43778
+  (0.2ms) SAVEPOINT active_record_1
43779
+ SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 94], ["created_at", "2016-04-05 14:00:58.259920"], ["updated_at", "2016-04-05 14:00:58.259920"]]
43780
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43781
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]
43782
+  (0.2ms) SAVEPOINT active_record_1
43783
+ SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 94], ["created_at", "2016-04-05 14:00:58.263227"], ["updated_at", "2016-04-05 14:00:58.263227"]]
43784
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43785
+ Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST
43786
+  (0.2ms) ROLLBACK
43787
+  (0.1ms) BEGIN
43788
+  (0.2ms) ROLLBACK
43789
+  (0.2ms) BEGIN
43790
+  (0.2ms) ROLLBACK
43791
+  (0.1ms) BEGIN
43792
+  (0.2ms) ROLLBACK
43793
+  (0.2ms) BEGIN
43794
+  (0.2ms) ROLLBACK
43795
+  (0.1ms) BEGIN
43796
+  (0.3ms) ROLLBACK
43797
+  (0.2ms) BEGIN
43798
+  (0.2ms) ROLLBACK
43799
+  (0.2ms) BEGIN
43800
+  (0.3ms) ROLLBACK
43801
+  (0.1ms) BEGIN
43802
+  (0.4ms) ROLLBACK
43803
+  (0.1ms) BEGIN
43804
+  (0.3ms) ROLLBACK
43805
+  (0.2ms) BEGIN
43806
+  (0.2ms) ROLLBACK
43807
+  (0.2ms) BEGIN
43808
+  (0.2ms) ROLLBACK
43809
+  (0.1ms) BEGIN
43810
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]
43811
+  (0.2ms) SAVEPOINT active_record_1
43812
+ SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-05 14:00:58.294633"], ["updated_at", "2016-04-05 14:00:58.294633"]]
43813
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43814
+  (0.9ms) SAVEPOINT active_record_1
43815
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 95], ["updated_at", "2016-04-05 14:00:58.298876"]]
43816
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43817
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]
43818
+  (0.2ms) SAVEPOINT active_record_1
43819
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 95], ["updated_at", "2016-04-05 14:00:58.302489"]]
43820
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43821
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]
43822
+  (0.2ms) SAVEPOINT active_record_1
43823
+ SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-05 14:00:58.305558"], ["updated_at", "2016-04-05 14:00:58.305558"]]
43824
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43825
+  (0.2ms) SAVEPOINT active_record_1
43826
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 96], ["updated_at", "2016-04-05 14:00:58.308285"]]
43827
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43828
+ Author Load (0.7ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]
43829
+  (1.7ms) SAVEPOINT active_record_1
43830
+ SQL (0.6ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 96], ["updated_at", "2016-04-05 14:00:58.341854"]]
43831
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43832
+  (1.0ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
43833
+  (1.3ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
43834
+  (3.4ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
43835
+ SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION
43836
+ SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION
43837
+ SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text
43838
+ ) AS _repor_dimension_created_at_bin_table ON (
43839
+ CASE
43840
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
43841
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
43842
+ WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
43843
+ ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
43844
+ END
43845
+ ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST
43846
+  (0.3ms) ROLLBACK
43847
+  (0.1ms) BEGIN
43848
+  (0.2ms) ROLLBACK
43849
+  (0.2ms) BEGIN
43850
+  (0.1ms) ROLLBACK
43851
+  (0.2ms) BEGIN
43852
+  (0.2ms) ROLLBACK
43853
+  (0.2ms) BEGIN
43854
+  (0.2ms) ROLLBACK
43855
+  (0.1ms) BEGIN
43856
+  (0.3ms) ROLLBACK
43857
+  (0.1ms) BEGIN
43858
+  (0.2ms) ROLLBACK
43859
+  (0.2ms) BEGIN
43860
+  (0.2ms) ROLLBACK
43861
+  (0.1ms) BEGIN
43862
+  (0.2ms) ROLLBACK
43863
+  (0.1ms) BEGIN
43864
+  (0.2ms) ROLLBACK
43865
+  (0.1ms) BEGIN
43866
+  (0.3ms) ROLLBACK
43867
+  (0.2ms) BEGIN
43868
+  (0.2ms) SAVEPOINT active_record_1
43869
+ SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.405358"]]
43870
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43871
+  (0.2ms) SAVEPOINT active_record_1
43872
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.409611"]]
43873
+  (0.3ms) RELEASE SAVEPOINT active_record_1
43874
+  (0.2ms) SAVEPOINT active_record_1
43875
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:58.411708"]]
43876
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43877
+  (0.2ms) SAVEPOINT active_record_1
43878
+ SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.414199"]]
43879
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43880
+  (0.2ms) ROLLBACK
43881
+  (0.2ms) BEGIN
43882
+  (0.1ms) SAVEPOINT active_record_1
43883
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.418623"]]
43884
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43885
+  (0.2ms) SAVEPOINT active_record_1
43886
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.420815"]]
43887
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43888
+  (0.2ms) SAVEPOINT active_record_1
43889
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:58.422949"]]
43890
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43891
+  (0.1ms) SAVEPOINT active_record_1
43892
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.426478"]]
43893
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43894
+  (0.3ms) SELECT COUNT(*) FROM "posts"
43895
+  (0.3ms) ROLLBACK
43896
+  (0.2ms) BEGIN
43897
+  (0.2ms) SAVEPOINT active_record_1
43898
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.436231"]]
43899
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43900
+  (0.2ms) SAVEPOINT active_record_1
43901
+ SQL (2.8ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.438706"]]
43902
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43903
+  (0.2ms) SAVEPOINT active_record_1
43904
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:58.444284"]]
43905
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43906
+  (0.2ms) SAVEPOINT active_record_1
43907
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.446226"]]
43908
+  (0.3ms) RELEASE SAVEPOINT active_record_1
43909
+  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"
43910
+  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"
43911
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
43912
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
43913
+  (1.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
43914
+ SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
43915
+ SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
43916
+ ) AS _repor_dimension_created_at_bin_table ON (
43917
+ CASE
43918
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
43919
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
43920
+ WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
43921
+ ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
43922
+ END
43923
+ ) INNER JOIN (
43924
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
43925
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
43926
+ ) AS _repor_dimension_likes_bin_table ON (
43927
+ CASE
43928
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
43929
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
43930
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
43931
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
43932
+ END
43933
+ ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
43934
+  (0.3ms) ROLLBACK
43935
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
43936
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
43937
+  (0.3ms) BEGIN
43938
+  (0.3ms) SAVEPOINT active_record_1
43939
+ SQL (0.8ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.422524"]]
43940
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43941
+  (0.2ms) SAVEPOINT active_record_1
43942
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.432994"]]
43943
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43944
+  (0.2ms) SAVEPOINT active_record_1
43945
+ SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:01.435396"]]
43946
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43947
+  (0.2ms) SAVEPOINT active_record_1
43948
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.437623"]]
43949
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43950
+  (1.2ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
43951
+  (0.3ms) ROLLBACK
43952
+  (0.2ms) BEGIN
43953
+  (0.2ms) SAVEPOINT active_record_1
43954
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.447317"]]
43955
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43956
+  (0.2ms) SAVEPOINT active_record_1
43957
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.449626"]]
43958
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43959
+  (0.2ms) SAVEPOINT active_record_1
43960
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:01.451398"]]
43961
+  (0.3ms) RELEASE SAVEPOINT active_record_1
43962
+  (0.2ms) SAVEPOINT active_record_1
43963
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.453601"]]
43964
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43965
+  (0.2ms) ROLLBACK
43966
+  (0.1ms) BEGIN
43967
+  (0.2ms) SAVEPOINT active_record_1
43968
+ SQL (3.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.457219"]]
43969
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43970
+  (0.2ms) SAVEPOINT active_record_1
43971
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.462857"]]
43972
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43973
+  (0.2ms) SAVEPOINT active_record_1
43974
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:01.465386"]]
43975
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43976
+  (0.2ms) SAVEPOINT active_record_1
43977
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.467141"]]
43978
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43979
+  (0.2ms) ROLLBACK
43980
+  (0.1ms) BEGIN
43981
+  (0.1ms) SAVEPOINT active_record_1
43982
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.470639"]]
43983
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43984
+  (0.1ms) SAVEPOINT active_record_1
43985
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.472523"]]
43986
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43987
+  (0.2ms) SAVEPOINT active_record_1
43988
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:01.474944"]]
43989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43990
+  (0.2ms) SAVEPOINT active_record_1
43991
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.476893"]]
43992
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43993
+  (0.2ms) ROLLBACK
43994
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
43995
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
43996
+  (0.2ms) BEGIN
43997
+  (0.6ms) SAVEPOINT active_record_1
43998
+ SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.891593"]]
43999
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44000
+  (0.2ms) SAVEPOINT active_record_1
44001
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.899650"]]
44002
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44003
+  (0.2ms) SAVEPOINT active_record_1
44004
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:15.901704"]]
44005
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44006
+  (0.2ms) SAVEPOINT active_record_1
44007
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.903537"]]
44008
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44009
+  (0.7ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44010
+  (0.3ms) ROLLBACK
44011
+  (0.1ms) BEGIN
44012
+  (0.2ms) SAVEPOINT active_record_1
44013
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.911711"]]
44014
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44015
+  (0.2ms) SAVEPOINT active_record_1
44016
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.913929"]]
44017
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44018
+  (0.2ms) SAVEPOINT active_record_1
44019
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:15.915767"]]
44020
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44021
+  (0.2ms) SAVEPOINT active_record_1
44022
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.917572"]]
44023
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44024
+  (0.2ms) ROLLBACK
44025
+  (0.2ms) BEGIN
44026
+  (0.2ms) SAVEPOINT active_record_1
44027
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.921065"]]
44028
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44029
+  (0.2ms) SAVEPOINT active_record_1
44030
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.922987"]]
44031
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44032
+  (0.2ms) SAVEPOINT active_record_1
44033
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:15.925506"]]
44034
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44035
+  (0.2ms) SAVEPOINT active_record_1
44036
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.927358"]]
44037
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44038
+  (0.2ms) ROLLBACK
44039
+  (0.2ms) BEGIN
44040
+  (0.2ms) SAVEPOINT active_record_1
44041
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.930646"]]
44042
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44043
+  (0.1ms) SAVEPOINT active_record_1
44044
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.932391"]]
44045
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44046
+  (0.2ms) SAVEPOINT active_record_1
44047
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:15.934497"]]
44048
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44049
+  (0.2ms) SAVEPOINT active_record_1
44050
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.936450"]]
44051
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44052
+  (0.2ms) ROLLBACK
44053
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
44054
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
44055
+  (0.3ms) BEGIN
44056
+  (0.3ms) SAVEPOINT active_record_1
44057
+ SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.123990"]]
44058
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44059
+  (0.2ms) SAVEPOINT active_record_1
44060
+ SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.131689"]]
44061
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44062
+  (0.2ms) SAVEPOINT active_record_1
44063
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:10:13.133985"]]
44064
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44065
+  (0.2ms) SAVEPOINT active_record_1
44066
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.135773"]]
44067
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44068
+  (1.1ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44069
+  (0.4ms) ROLLBACK
44070
+  (0.2ms) BEGIN
44071
+  (0.2ms) SAVEPOINT active_record_1
44072
+ SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.145223"]]
44073
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44074
+  (0.2ms) SAVEPOINT active_record_1
44075
+ SQL (0.8ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.147826"]]
44076
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44077
+  (0.2ms) SAVEPOINT active_record_1
44078
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:10:13.150527"]]
44079
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44080
+  (0.2ms) SAVEPOINT active_record_1
44081
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.152364"]]
44082
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44083
+  (0.4ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44084
+  (0.2ms) ROLLBACK
44085
+  (0.1ms) BEGIN
44086
+  (0.2ms) SAVEPOINT active_record_1
44087
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.157166"]]
44088
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44089
+  (0.1ms) SAVEPOINT active_record_1
44090
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.159033"]]
44091
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44092
+  (0.2ms) SAVEPOINT active_record_1
44093
+ SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:10:13.160805"]]
44094
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44095
+  (0.2ms) SAVEPOINT active_record_1
44096
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.163200"]]
44097
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44098
+  (0.2ms) ROLLBACK
44099
+  (0.2ms) BEGIN
44100
+  (0.2ms) SAVEPOINT active_record_1
44101
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.167003"]]
44102
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44103
+  (0.1ms) SAVEPOINT active_record_1
44104
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.169182"]]
44105
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44106
+  (0.2ms) SAVEPOINT active_record_1
44107
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:10:13.171311"]]
44108
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44109
+  (0.3ms) SAVEPOINT active_record_1
44110
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.173597"]]
44111
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44112
+  (0.2ms) ROLLBACK
44113
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
44114
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
44115
+  (0.2ms) BEGIN
44116
+  (0.3ms) SAVEPOINT active_record_1
44117
+ SQL (0.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.163444"]]
44118
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44119
+  (0.2ms) SAVEPOINT active_record_1
44120
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.175001"]]
44121
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44122
+  (0.2ms) SAVEPOINT active_record_1
44123
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:10:39.176932"]]
44124
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44125
+  (0.2ms) SAVEPOINT active_record_1
44126
+ SQL (0.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.178701"]]
44127
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44128
+  (0.7ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44129
+  (0.3ms) ROLLBACK
44130
+  (0.2ms) BEGIN
44131
+  (0.3ms) SAVEPOINT active_record_1
44132
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.188999"]]
44133
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44134
+  (0.1ms) SAVEPOINT active_record_1
44135
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.191544"]]
44136
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44137
+  (0.2ms) SAVEPOINT active_record_1
44138
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:10:39.193639"]]
44139
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44140
+  (0.2ms) SAVEPOINT active_record_1
44141
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.195380"]]
44142
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44143
+  (0.2ms) ROLLBACK
44144
+  (0.2ms) BEGIN
44145
+  (0.2ms) SAVEPOINT active_record_1
44146
+ SQL (11.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.198730"]]
44147
+  (0.3ms) RELEASE SAVEPOINT active_record_1
44148
+  (0.3ms) SAVEPOINT active_record_1
44149
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.216467"]]
44150
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44151
+  (0.1ms) SAVEPOINT active_record_1
44152
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:10:39.218790"]]
44153
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44154
+  (0.2ms) SAVEPOINT active_record_1
44155
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.220887"]]
44156
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44157
+  (0.2ms) ROLLBACK
44158
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
44159
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
44160
+  (0.3ms) BEGIN
44161
+  (0.2ms) SAVEPOINT active_record_1
44162
+ SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.170743"]]
44163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44164
+  (0.2ms) SAVEPOINT active_record_1
44165
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.178696"]]
44166
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44167
+  (0.2ms) SAVEPOINT active_record_1
44168
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:12:16.181354"]]
44169
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44170
+  (0.1ms) SAVEPOINT active_record_1
44171
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.183466"]]
44172
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44173
+  (1.2ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44174
+  (0.3ms) ROLLBACK
44175
+  (0.2ms) BEGIN
44176
+  (0.2ms) SAVEPOINT active_record_1
44177
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.193979"]]
44178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44179
+  (1.0ms) SAVEPOINT active_record_1
44180
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.226093"]]
44181
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44182
+  (0.1ms) SAVEPOINT active_record_1
44183
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:12:16.228656"]]
44184
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44185
+  (0.1ms) SAVEPOINT active_record_1
44186
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.230266"]]
44187
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44188
+  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"
44189
+  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"
44190
+  (0.9ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44191
+ SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
44192
+ SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
44193
+ ) AS _repor_dimension_created_at_bin_table ON (
44194
+ CASE
44195
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
44196
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
44197
+ WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
44198
+ ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
44199
+ END
44200
+ ) GROUP BY _repor_dimension_created_at, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44201
+  (0.2ms) ROLLBACK
44202
+  (0.1ms) BEGIN
44203
+  (0.2ms) SAVEPOINT active_record_1
44204
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.305783"]]
44205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44206
+  (0.1ms) SAVEPOINT active_record_1
44207
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.307693"]]
44208
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44209
+  (0.2ms) SAVEPOINT active_record_1
44210
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:12:16.310888"]]
44211
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44212
+  (0.2ms) SAVEPOINT active_record_1
44213
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.313765"]]
44214
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44215
+  (0.1ms) ROLLBACK
44216
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
44217
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
44218
+  (0.3ms) BEGIN
44219
+  (0.3ms) SAVEPOINT active_record_1
44220
+ SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.010388"]]
44221
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44222
+  (0.2ms) SAVEPOINT active_record_1
44223
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.017253"]]
44224
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44225
+  (0.2ms) SAVEPOINT active_record_1
44226
+ SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:12:53.019046"]]
44227
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44228
+  (0.2ms) SAVEPOINT active_record_1
44229
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.021981"]]
44230
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44231
+  (1.0ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44232
+  (0.3ms) ROLLBACK
44233
+  (0.2ms) BEGIN
44234
+  (0.2ms) SAVEPOINT active_record_1
44235
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.031505"]]
44236
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44237
+  (0.2ms) SAVEPOINT active_record_1
44238
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.033481"]]
44239
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44240
+  (0.2ms) SAVEPOINT active_record_1
44241
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:12:53.035239"]]
44242
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44243
+  (0.2ms) SAVEPOINT active_record_1
44244
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.037259"]]
44245
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44246
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
44247
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
44248
+  (1.3ms) SELECT _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44249
+ SELECT 1.0 AS min, 1.1 AS max, CAST('1.0,1.1' AS text) AS bin_text UNION
44250
+ SELECT 1.1 AS min, 1.2000000000000002 AS max, CAST('1.1,1.2000000000000002' AS text) AS bin_text UNION
44251
+ SELECT 1.2000000000000002 AS min, 1.3000000000000003 AS max, CAST('1.2000000000000002,1.3000000000000003' AS text) AS bin_text UNION
44252
+ SELECT 1.3000000000000003 AS min, 1.4000000000000004 AS max, CAST('1.3000000000000003,1.4000000000000004' AS text) AS bin_text UNION
44253
+ SELECT 1.4000000000000004 AS min, 1.5000000000000004 AS max, CAST('1.4000000000000004,1.5000000000000004' AS text) AS bin_text UNION
44254
+ SELECT 1.5000000000000004 AS min, 1.6000000000000005 AS max, CAST('1.5000000000000004,1.6000000000000005' AS text) AS bin_text UNION
44255
+ SELECT 1.6000000000000005 AS min, 1.7000000000000006 AS max, CAST('1.6000000000000005,1.7000000000000006' AS text) AS bin_text UNION
44256
+ SELECT 1.7000000000000006 AS min, 1.8000000000000007 AS max, CAST('1.7000000000000006,1.8000000000000007' AS text) AS bin_text UNION
44257
+ SELECT 1.8000000000000007 AS min, 1.9000000000000008 AS max, CAST('1.8000000000000007,1.9000000000000008' AS text) AS bin_text UNION
44258
+ SELECT 1.9000000000000008 AS min, 2.000000000000001 AS max, CAST('1.9000000000000008,2.000000000000001' AS text) AS bin_text
44259
+ ) AS _repor_dimension_likes_bin_table ON (
44260
+ CASE
44261
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44262
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44263
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44264
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44265
+ END
44266
+ ) GROUP BY _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44267
+  (0.5ms) ROLLBACK
44268
+  (0.2ms) BEGIN
44269
+  (0.3ms) SAVEPOINT active_record_1
44270
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.116102"]]
44271
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44272
+  (0.2ms) SAVEPOINT active_record_1
44273
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.118089"]]
44274
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44275
+  (0.2ms) SAVEPOINT active_record_1
44276
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:12:53.120056"]]
44277
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44278
+  (0.2ms) SAVEPOINT active_record_1
44279
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.121758"]]
44280
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44281
+  (0.3ms) ROLLBACK
44282
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
44283
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
44284
+  (0.3ms) BEGIN
44285
+  (0.3ms) SAVEPOINT active_record_1
44286
+ SQL (0.7ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.740049"]]
44287
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44288
+  (0.2ms) SAVEPOINT active_record_1
44289
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.749279"]]
44290
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44291
+  (0.2ms) SAVEPOINT active_record_1
44292
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:13:22.751120"]]
44293
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44294
+  (0.2ms) SAVEPOINT active_record_1
44295
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.753058"]]
44296
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44297
+  (0.8ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44298
+  (0.2ms) ROLLBACK
44299
+  (0.1ms) BEGIN
44300
+  (0.2ms) SAVEPOINT active_record_1
44301
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.761290"]]
44302
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44303
+  (0.2ms) SAVEPOINT active_record_1
44304
+ SQL (0.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.763273"]]
44305
+  (0.3ms) RELEASE SAVEPOINT active_record_1
44306
+  (0.2ms) SAVEPOINT active_record_1
44307
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:13:22.765742"]]
44308
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44309
+  (0.2ms) SAVEPOINT active_record_1
44310
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.767550"]]
44311
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44312
+  (0.5ms) SELECT MIN(posts.likes) FROM "posts"
44313
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
44314
+  (1.8ms) SELECT _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44315
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44316
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44317
+ ) AS _repor_dimension_likes_bin_table ON (
44318
+ CASE
44319
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44320
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44321
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44322
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44323
+ END
44324
+ ) GROUP BY _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44325
+  (0.3ms) ROLLBACK
44326
+  (0.3ms) BEGIN
44327
+  (0.2ms) SAVEPOINT active_record_1
44328
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.849355"]]
44329
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44330
+  (0.2ms) SAVEPOINT active_record_1
44331
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.851270"]]
44332
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44333
+  (0.2ms) SAVEPOINT active_record_1
44334
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:13:22.853160"]]
44335
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44336
+  (0.2ms) SAVEPOINT active_record_1
44337
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.854891"]]
44338
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44339
+  (0.2ms) ROLLBACK
44340
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
44341
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
44342
+  (0.2ms) BEGIN
44343
+  (0.3ms) SAVEPOINT active_record_1
44344
+ SQL (3.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:26.912100"]]
44345
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44346
+  (0.2ms) SAVEPOINT active_record_1
44347
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:26.923212"]]
44348
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44349
+  (0.2ms) SAVEPOINT active_record_1
44350
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:17:26.925198"]]
44351
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44352
+  (0.2ms) SAVEPOINT active_record_1
44353
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:17:26.926933"]]
44354
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44355
+  (0.7ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44356
+  (0.4ms) ROLLBACK
44357
+  (0.2ms) BEGIN
44358
+  (0.2ms) SAVEPOINT active_record_1
44359
+ SQL (1.0ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:26.935977"]]
44360
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44361
+  (0.2ms) SAVEPOINT active_record_1
44362
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:26.939237"]]
44363
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44364
+  (0.2ms) SAVEPOINT active_record_1
44365
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:17:26.941213"]]
44366
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44367
+  (0.2ms) SAVEPOINT active_record_1
44368
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:17:26.942999"]]
44369
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44370
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
44371
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
44372
+  (1.5ms) SELECT _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44373
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44374
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44375
+ ) AS _repor_dimension_likes_bin_table ON (
44376
+ CASE
44377
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44378
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44379
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44380
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44381
+ END
44382
+ ) GROUP BY _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44383
+  (0.3ms) ROLLBACK
44384
+  (0.1ms) BEGIN
44385
+  (0.1ms) SAVEPOINT active_record_1
44386
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:27.022948"]]
44387
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44388
+  (0.2ms) SAVEPOINT active_record_1
44389
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:27.024862"]]
44390
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44391
+  (0.1ms) SAVEPOINT active_record_1
44392
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:17:27.026908"]]
44393
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44394
+  (0.1ms) SAVEPOINT active_record_1
44395
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:17:27.028943"]]
44396
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44397
+  (0.2ms) ROLLBACK
44398
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
44399
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
44400
+  (0.3ms) BEGIN
44401
+  (0.3ms) SAVEPOINT active_record_1
44402
+ SQL (0.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.039896"]]
44403
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44404
+  (0.2ms) SAVEPOINT active_record_1
44405
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.047587"]]
44406
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44407
+  (0.2ms) SAVEPOINT active_record_1
44408
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:17:48.049510"]]
44409
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44410
+  (0.2ms) SAVEPOINT active_record_1
44411
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.051241"]]
44412
+  (0.4ms) RELEASE SAVEPOINT active_record_1
44413
+  (0.7ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44414
+  (0.3ms) ROLLBACK
44415
+  (0.2ms) BEGIN
44416
+  (0.2ms) SAVEPOINT active_record_1
44417
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.060570"]]
44418
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44419
+  (0.2ms) SAVEPOINT active_record_1
44420
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.062467"]]
44421
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44422
+  (0.2ms) SAVEPOINT active_record_1
44423
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:17:48.064380"]]
44424
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44425
+  (0.2ms) SAVEPOINT active_record_1
44426
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.066367"]]
44427
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44428
+  (0.5ms) SELECT MIN(posts.likes) FROM "posts"
44429
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
44430
+  (1.9ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44431
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44432
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44433
+ ) AS _repor_dimension_likes_bin_table ON (
44434
+ CASE
44435
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44436
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44437
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44438
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44439
+ END
44440
+ ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST
44441
+  (0.2ms) ROLLBACK
44442
+  (0.2ms) BEGIN
44443
+  (0.2ms) SAVEPOINT active_record_1
44444
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.093588"]]
44445
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44446
+  (0.2ms) SAVEPOINT active_record_1
44447
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.095983"]]
44448
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44449
+  (0.2ms) SAVEPOINT active_record_1
44450
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:17:48.097942"]]
44451
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44452
+  (0.2ms) SAVEPOINT active_record_1
44453
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.099987"]]
44454
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44455
+  (0.2ms) ROLLBACK
44456
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
44457
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
44458
+  (0.2ms) BEGIN
44459
+  (0.3ms) SAVEPOINT active_record_1
44460
+ SQL (0.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.433012"]]
44461
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44462
+  (0.2ms) SAVEPOINT active_record_1
44463
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.440574"]]
44464
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44465
+  (0.2ms) SAVEPOINT active_record_1
44466
+ SQL (2.7ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:18:58.442373"]]
44467
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44468
+  (0.2ms) SAVEPOINT active_record_1
44469
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.447237"]]
44470
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44471
+  (0.7ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44472
+  (0.3ms) ROLLBACK
44473
+  (0.1ms) BEGIN
44474
+  (0.2ms) SAVEPOINT active_record_1
44475
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.456426"]]
44476
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44477
+  (0.2ms) SAVEPOINT active_record_1
44478
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.458389"]]
44479
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44480
+  (0.2ms) SAVEPOINT active_record_1
44481
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:18:58.460194"]]
44482
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44483
+  (0.2ms) SAVEPOINT active_record_1
44484
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.462287"]]
44485
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44486
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
44487
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
44488
+  (1.5ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44489
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44490
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44491
+ ) AS _repor_dimension_likes_bin_table ON (
44492
+ CASE
44493
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44494
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44495
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44496
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44497
+ END
44498
+ ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST
44499
+  (0.3ms) ROLLBACK
44500
+  (0.2ms) BEGIN
44501
+  (0.2ms) SAVEPOINT active_record_1
44502
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.487586"]]
44503
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44504
+  (0.3ms) SAVEPOINT active_record_1
44505
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.490079"]]
44506
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44507
+  (0.2ms) SAVEPOINT active_record_1
44508
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:18:58.492072"]]
44509
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44510
+  (0.2ms) SAVEPOINT active_record_1
44511
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.493827"]]
44512
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44513
+  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"
44514
+  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"
44515
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
44516
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
44517
+  (1.0ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44518
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44519
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44520
+ ) AS _repor_dimension_likes_bin_table ON (
44521
+ CASE
44522
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44523
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44524
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44525
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44526
+ END
44527
+ ) INNER JOIN (
44528
+ SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
44529
+ SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
44530
+ ) AS _repor_dimension_created_at_bin_table ON (
44531
+ CASE
44532
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
44533
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
44534
+ WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
44535
+ ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
44536
+ END
44537
+ ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST
44538
+  (0.3ms) ROLLBACK
44539
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
44540
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
44541
+  (0.3ms) BEGIN
44542
+  (0.3ms) SAVEPOINT active_record_1
44543
+ SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:19:09.983901"]]
44544
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44545
+  (0.1ms) SAVEPOINT active_record_1
44546
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:19:09.988611"]]
44547
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44548
+  (0.2ms) SAVEPOINT active_record_1
44549
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:19:09.990750"]]
44550
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44551
+  (0.2ms) SAVEPOINT active_record_1
44552
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:19:09.992547"]]
44553
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44554
+  (1.0ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44555
+  (0.3ms) ROLLBACK
44556
+  (0.1ms) BEGIN
44557
+  (0.2ms) SAVEPOINT active_record_1
44558
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:19:09.999008"]]
44559
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44560
+  (0.2ms) SAVEPOINT active_record_1
44561
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:19:10.001073"]]
44562
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44563
+  (0.2ms) SAVEPOINT active_record_1
44564
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:19:10.003088"]]
44565
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44566
+  (0.2ms) SAVEPOINT active_record_1
44567
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:19:10.004930"]]
44568
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44569
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
44570
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
44571
+  (1.2ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44572
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44573
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44574
+ ) AS _repor_dimension_likes_bin_table ON (
44575
+ CASE
44576
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44577
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44578
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44579
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44580
+ END
44581
+ ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST
44582
+  (0.2ms) ROLLBACK
44583
+  (0.2ms) BEGIN
44584
+  (0.2ms) SAVEPOINT active_record_1
44585
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:19:10.017314"]]
44586
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44587
+  (0.2ms) SAVEPOINT active_record_1
44588
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:19:10.019335"]]
44589
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44590
+  (0.2ms) SAVEPOINT active_record_1
44591
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:19:10.021221"]]
44592
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44593
+  (0.2ms) SAVEPOINT active_record_1
44594
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:19:10.023088"]]
44595
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44596
+  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"
44597
+  (1.0ms) SELECT MAX(posts.created_at) FROM "posts"
44598
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
44599
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
44600
+  (1.0ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44601
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44602
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44603
+ ) AS _repor_dimension_likes_bin_table ON (
44604
+ CASE
44605
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44606
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44607
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44608
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44609
+ END
44610
+ ) INNER JOIN (
44611
+ SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
44612
+ SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
44613
+ ) AS _repor_dimension_created_at_bin_table ON (
44614
+ CASE
44615
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
44616
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
44617
+ WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
44618
+ ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
44619
+ END
44620
+ ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST
44621
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
44622
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
44623
+  (0.3ms) BEGIN
44624
+  (0.3ms) SAVEPOINT active_record_1
44625
+ SQL (0.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.384152"]]
44626
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44627
+  (0.1ms) SAVEPOINT active_record_1
44628
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.392356"]]
44629
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44630
+  (0.2ms) SAVEPOINT active_record_1
44631
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:23:12.394400"]]
44632
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44633
+  (0.2ms) SAVEPOINT active_record_1
44634
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.396287"]]
44635
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44636
+  (0.7ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44637
+  (0.3ms) ROLLBACK
44638
+  (0.2ms) BEGIN
44639
+  (0.2ms) SAVEPOINT active_record_1
44640
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.404779"]]
44641
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44642
+  (0.2ms) SAVEPOINT active_record_1
44643
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.406983"]]
44644
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44645
+  (0.2ms) SAVEPOINT active_record_1
44646
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:23:12.408839"]]
44647
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44648
+  (0.2ms) SAVEPOINT active_record_1
44649
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.410913"]]
44650
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44651
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
44652
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
44653
+  (2.2ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44654
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44655
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44656
+ ) AS _repor_dimension_likes_bin_table ON (
44657
+ CASE
44658
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44659
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44660
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44661
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44662
+ END
44663
+ ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST
44664
+  (0.3ms) ROLLBACK
44665
+  (0.2ms) BEGIN
44666
+  (0.1ms) SAVEPOINT active_record_1
44667
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.441536"]]
44668
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44669
+  (0.2ms) SAVEPOINT active_record_1
44670
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.443587"]]
44671
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44672
+  (0.2ms) SAVEPOINT active_record_1
44673
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:23:12.445420"]]
44674
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44675
+  (0.1ms) SAVEPOINT active_record_1
44676
+ SQL (2.7ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.447265"]]
44677
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44678
+  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"
44679
+  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"
44680
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
44681
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
44682
+  (1.2ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44683
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44684
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44685
+ ) AS _repor_dimension_likes_bin_table ON (
44686
+ CASE
44687
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44688
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44689
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44690
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44691
+ END
44692
+ ) INNER JOIN (
44693
+ SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
44694
+ SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
44695
+ ) AS _repor_dimension_created_at_bin_table ON (
44696
+ CASE
44697
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
44698
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
44699
+ WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
44700
+ ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
44701
+ END
44702
+ ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST
44703
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
44704
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
44705
+  (0.3ms) BEGIN
44706
+  (0.3ms) SAVEPOINT active_record_1
44707
+ SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.520259"]]
44708
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44709
+  (0.3ms) SAVEPOINT active_record_1
44710
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.528319"]]
44711
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44712
+  (0.2ms) SAVEPOINT active_record_1
44713
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:29:29.530239"]]
44714
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44715
+  (0.2ms) SAVEPOINT active_record_1
44716
+ SQL (0.7ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.532026"]]
44717
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44718
+  (0.8ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44719
+  (0.3ms) ROLLBACK
44720
+  (0.1ms) BEGIN
44721
+  (0.2ms) SAVEPOINT active_record_1
44722
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.541550"]]
44723
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44724
+  (0.2ms) SAVEPOINT active_record_1
44725
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.543560"]]
44726
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44727
+  (0.2ms) SAVEPOINT active_record_1
44728
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:29:29.545560"]]
44729
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44730
+  (0.2ms) SAVEPOINT active_record_1
44731
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.547405"]]
44732
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44733
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
44734
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
44735
+  (1.4ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44736
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44737
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44738
+ ) AS _repor_dimension_likes_bin_table ON (
44739
+ CASE
44740
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44741
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44742
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44743
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44744
+ END
44745
+ ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST
44746
+  (0.4ms) ROLLBACK
44747
+  (0.1ms) BEGIN
44748
+  (0.3ms) SAVEPOINT active_record_1
44749
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.576013"]]
44750
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44751
+  (0.2ms) SAVEPOINT active_record_1
44752
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.577917"]]
44753
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44754
+  (0.2ms) SAVEPOINT active_record_1
44755
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:29:29.579810"]]
44756
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44757
+  (0.2ms) SAVEPOINT active_record_1
44758
+ SQL (2.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.581599"]]
44759
+  (0.3ms) RELEASE SAVEPOINT active_record_1
44760
+  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"
44761
+  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"
44762
+  (0.2ms) SELECT MIN(posts.likes) FROM "posts"
44763
+  (0.2ms) SELECT MAX(posts.likes) FROM "posts"
44764
+  (1.6ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44765
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44766
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44767
+ ) AS _repor_dimension_likes_bin_table ON (
44768
+ CASE
44769
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44770
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44771
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44772
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44773
+ END
44774
+ ) INNER JOIN (
44775
+ SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
44776
+ SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
44777
+ ) AS _repor_dimension_created_at_bin_table ON (
44778
+ CASE
44779
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
44780
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
44781
+ WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
44782
+ ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
44783
+ END
44784
+ ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST
44785
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
44786
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
44787
+  (0.3ms) BEGIN
44788
+  (0.3ms) SAVEPOINT active_record_1
44789
+ SQL (0.9ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.530313"]]
44790
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44791
+  (0.1ms) SAVEPOINT active_record_1
44792
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.538355"]]
44793
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44794
+  (0.2ms) SAVEPOINT active_record_1
44795
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:39:48.540309"]]
44796
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44797
+  (0.2ms) SAVEPOINT active_record_1
44798
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.542283"]]
44799
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44800
+  (0.8ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44801
+  (0.3ms) ROLLBACK
44802
+  (0.2ms) BEGIN
44803
+  (0.2ms) SAVEPOINT active_record_1
44804
+ SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.553078"]]
44805
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44806
+  (0.2ms) SAVEPOINT active_record_1
44807
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.555304"]]
44808
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44809
+  (0.2ms) SAVEPOINT active_record_1
44810
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:39:48.557161"]]
44811
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44812
+  (0.2ms) SAVEPOINT active_record_1
44813
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.559032"]]
44814
+  (0.1ms) RELEASE SAVEPOINT active_record_1
44815
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
44816
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
44817
+  (1.6ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44818
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44819
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44820
+ ) AS _repor_dimension_likes_bin_table ON (
44821
+ CASE
44822
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44823
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44824
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44825
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44826
+ END
44827
+ ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST
44828
+  (0.2ms) ROLLBACK
44829
+  (0.2ms) BEGIN
44830
+  (0.2ms) SAVEPOINT active_record_1
44831
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.584814"]]
44832
+  (0.3ms) RELEASE SAVEPOINT active_record_1
44833
+  (0.1ms) SAVEPOINT active_record_1
44834
+ SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.587485"]]
44835
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44836
+  (0.2ms) SAVEPOINT active_record_1
44837
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:39:48.591032"]]
44838
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44839
+  (0.2ms) SAVEPOINT active_record_1
44840
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.592904"]]
44841
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44842
+  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"
44843
+  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"
44844
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
44845
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
44846
+  (1.0ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44847
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44848
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44849
+ ) AS _repor_dimension_likes_bin_table ON (
44850
+ CASE
44851
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44852
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44853
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44854
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44855
+ END
44856
+ ) INNER JOIN (
44857
+ SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
44858
+ SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
44859
+ ) AS _repor_dimension_created_at_bin_table ON (
44860
+ CASE
44861
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
44862
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
44863
+ WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
44864
+ ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
44865
+ END
44866
+ ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST
44867
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
44868
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
44869
+  (0.3ms) BEGIN
44870
+  (0.3ms) SAVEPOINT active_record_1
44871
+ SQL (5.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.695429"]]
44872
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44873
+  (0.2ms) SAVEPOINT active_record_1
44874
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.708383"]]
44875
+  (0.7ms) RELEASE SAVEPOINT active_record_1
44876
+  (0.2ms) SAVEPOINT active_record_1
44877
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:42:04.711375"]]
44878
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44879
+  (0.2ms) SAVEPOINT active_record_1
44880
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.713404"]]
44881
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44882
+  (0.7ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST
44883
+  (0.2ms) ROLLBACK
44884
+  (0.2ms) BEGIN
44885
+  (0.2ms) SAVEPOINT active_record_1
44886
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.721639"]]
44887
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44888
+  (0.1ms) SAVEPOINT active_record_1
44889
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.723776"]]
44890
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44891
+  (0.2ms) SAVEPOINT active_record_1
44892
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:42:04.725749"]]
44893
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44894
+  (0.2ms) SAVEPOINT active_record_1
44895
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.727906"]]
44896
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44897
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
44898
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
44899
+  (1.8ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44900
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44901
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44902
+ ) AS _repor_dimension_likes_bin_table ON (
44903
+ CASE
44904
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44905
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44906
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44907
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44908
+ END
44909
+ ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST
44910
+  (0.3ms) ROLLBACK
44911
+  (0.1ms) BEGIN
44912
+  (0.2ms) SAVEPOINT active_record_1
44913
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.758073"]]
44914
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44915
+  (0.2ms) SAVEPOINT active_record_1
44916
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.759983"]]
44917
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44918
+  (0.2ms) SAVEPOINT active_record_1
44919
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:42:04.761732"]]
44920
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44921
+  (0.1ms) SAVEPOINT active_record_1
44922
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.763799"]]
44923
+  (0.2ms) RELEASE SAVEPOINT active_record_1
44924
+  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"
44925
+  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"
44926
+  (0.3ms) SELECT MIN(posts.likes) FROM "posts"
44927
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
44928
+  (1.0ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
44929
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
44930
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
44931
+ ) AS _repor_dimension_likes_bin_table ON (
44932
+ CASE
44933
+ WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
44934
+ WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
44935
+ WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
44936
+ ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
44937
+ END
44938
+ ) INNER JOIN (
44939
+ SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
44940
+ SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
44941
+ ) AS _repor_dimension_created_at_bin_table ON (
44942
+ CASE
44943
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
44944
+ WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
44945
+ WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
44946
+ ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
44947
+ END
44948
+ ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST