repor 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/repor/serializers/highcharts_serializer.rb +1 -1
- data/lib/repor/serializers/table_serializer.rb +2 -0
- data/lib/repor/version.rb +1 -1
- data/spec/dummy/app/views/site/report.html.erb +3 -3
- data/spec/dummy/log/development.log +679 -0
- data/spec/dummy/log/test.log +1842 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1nCjdvT_Az6Eosj_ySnnyeNlZVFP9vE2KoQJKvMkHH4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5hU2KBpYTUKPGtN4EswsaWSLQvBxLk5sALZAFPIfGzQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/BMMDPf0vYQmFsF1L0E8NUBKE4JWnhIxY_iTncwr1J78.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LHgjtAV8kdldaJ_dX0RCznzjmWYRuLdhU29fZCJ0VmU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ONaU41V-UtKEvfu-JF1fQHAzmrW0AsQ7B52kSCe-I4o.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PQvDKJzJR8bbYD5yaG9mVhYLGN4YhQUphWjPfZFoyGM.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RKtd3n1K9jUG6Q6Akn4jSy-qib7T2NXcCHoVBXK5tgo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SgT_N_F2B4ToHumfoGbsGDW_UXYSsQZSQa0qPK192RA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UayTccXvv284twaDn6AAbulsnTFay51fcF_pRV5-uWw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VnmJewQwjzruN7LCwEUid0E4KfEzCLILc_L2m6tQFR4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VrxiGofRS-xnZJWJbBvaK6IRtbI4dz3Moe8TBgKn8eo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/a5_PjkRCrmFjKwRs2aIexPTDaQ5lOpxb5tfn5c2FwWs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bstscdadQ2mHo8CnbbhgNFV6Scb_rR8c9N1J_q_XN-o.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gHurXwbFaPGNB6P1cv4kg4h-LaC72C-alTapiNDsjzg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/j4eetoKy8UbTNHNacG8uJGV4rSnYMTZJkwaIzDjhoWQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kzdSvu57G4i6eTuarsZCAfbhbICnkRa0Xhi0b9ua6qk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pSmKPcxihnc29eSpI_Jv3cpQ8-1gMgQtQbckqe8K0qA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rCO5-bHVJ6Y_GsPBmOPUL23pfjvc2Gw2zt_ODmZsygw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ztM5gRu7Yb6KDGqvjWgaVfHLjdo2nMrtbWm1xFm8yA4.cache +0 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/repor/serializers/highcharts_serializer_spec.rb +107 -0
- data/spec/repor/serializers/table_serializer_spec.rb +62 -0
- metadata +52 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77736d9fab6cd6ecf22c13578bd9956539a16320
|
4
|
+
data.tar.gz: 8f51f1b9871e4499afc6a86d2d0ca821a6525587
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50edaa25e6a7037243d1c2bbbe2d10f347aa02c57acaae729bb66100aab16d30a567732d25dfee87d43385498be18849ae8a24c65b2ccb304ba64027f65152d1
|
7
|
+
data.tar.gz: 9e86951e0a7287e3ad61a02d35769c88c0532097a85616e664e383f36528160acdae64414b7e2d770521f969986f15c28170530dc8280db04364864e26c5046f
|
@@ -14,7 +14,7 @@ module Repor
|
|
14
14
|
d3[:values].map { |d2| {
|
15
15
|
stack: human_dimension_value_label(dim3, d3[:key]),
|
16
16
|
name: human_dimension_value_label(dim2, d2[:key]),
|
17
|
-
(i == 0 ? :id : :linkedTo) =>
|
17
|
+
(i == 0 ? :id : :linkedTo) => human_dimension_value_label(dim2, d2[:key]),
|
18
18
|
color: color_for(dim2, d2[:key]),
|
19
19
|
data: d2[:values].map { |d1| {
|
20
20
|
y: d1[:value].to_f,
|
@@ -6,6 +6,8 @@ module Repor
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def each_row
|
9
|
+
return to_enum(__method__) unless block_given?
|
10
|
+
|
9
11
|
report.flat_data.each do |xes, y|
|
10
12
|
yield report.groupers.zip(xes).map { |d, v| human_dimension_value_label(d, v) } + [human_aggregator_value_label(report.aggregator, y)]
|
11
13
|
end
|
data/lib/repor/version.rb
CHANGED
@@ -55,10 +55,10 @@ $(function() {
|
|
55
55
|
Object.keys(event.point.filters).forEach(function(key) {
|
56
56
|
var value = event.point.filters[key];
|
57
57
|
if (value.min || value.max) {
|
58
|
-
$('#report-form [name$="['+key+'][only][min]').val(value.min);
|
59
|
-
$('#report-form [name$="['+key+'][only][max]').val(value.max);
|
58
|
+
$('#report-form [name$="['+key+'][only][min]"]').val(value.min);
|
59
|
+
$('#report-form [name$="['+key+'][only][max]"]').val(value.max);
|
60
60
|
} else {
|
61
|
-
$('#report-form [name$="['+key+'][only]').val(value);
|
61
|
+
$('#report-form [name$="['+key+'][only]"]').val(value);
|
62
62
|
}
|
63
63
|
});
|
64
64
|
|
@@ -536411,3 +536411,682 @@ WHERE fk.referenced_column_name is not null
|
|
536411
536411
|
[1m[36m (31.3ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) [0m
|
536412
536412
|
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
536413
536413
|
[1m[36m (2.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20150714202319')[0m
|
536414
|
+
|
536415
|
+
|
536416
|
+
Started GET "/" for ::1 at 2016-04-05 10:25:09 -0400
|
536417
|
+
[1m[36mActiveRecord::SchemaMigration Load (3.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
536418
|
+
Processing by SiteController#report as HTML
|
536419
|
+
[1m[35m (34.7ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536420
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"[0m
|
536421
|
+
[1m[35m (4.1ms)[0m 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
|
536422
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"[0m
|
536423
|
+
Rendered site/report.html.erb within layouts/application (590.0ms)
|
536424
|
+
Completed 200 OK in 898ms (Views: 832.6ms | ActiveRecord: 42.6ms)
|
536425
|
+
|
536426
|
+
|
536427
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&commit=Run+report" for ::1 at 2016-04-05 10:25:14 -0400
|
536428
|
+
Processing by SiteController#report as HTML
|
536429
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>""}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"", "max"=>""}}, "created_at"=>{"only"=>{"min"=>"", "max"=>""}}}}, "commit"=>"Run report"}
|
536430
|
+
[1m[35m (1.4ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536431
|
+
[1m[36m (3.6ms)[0m [1mSELECT MIN(posts.likes) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"[0m
|
536432
|
+
[1m[35m (3.4ms)[0m SELECT MAX(posts.likes) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536433
|
+
[1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"[0m
|
536434
|
+
[1m[35m (21.7ms)[0m SELECT authors.name AS _repor_dimension_author, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536435
|
+
SELECT 0.0 AS min, 5.4 AS max, CAST('0.0,5.4' AS text) AS bin_text UNION
|
536436
|
+
SELECT 5.4 AS min, 10.8 AS max, CAST('5.4,10.8' AS text) AS bin_text UNION
|
536437
|
+
SELECT 10.8 AS min, 16.200000000000003 AS max, CAST('10.8,16.200000000000003' AS text) AS bin_text UNION
|
536438
|
+
SELECT 16.200000000000003 AS min, 21.6 AS max, CAST('16.200000000000003,21.6' AS text) AS bin_text UNION
|
536439
|
+
SELECT 21.6 AS min, 27.0 AS max, CAST('21.6,27.0' AS text) AS bin_text UNION
|
536440
|
+
SELECT 27.0 AS min, 32.4 AS max, CAST('27.0,32.4' AS text) AS bin_text UNION
|
536441
|
+
SELECT 32.4 AS min, 37.8 AS max, CAST('32.4,37.8' AS text) AS bin_text UNION
|
536442
|
+
SELECT 37.8 AS min, 43.199999999999996 AS max, CAST('37.8,43.199999999999996' AS text) AS bin_text UNION
|
536443
|
+
SELECT 43.199999999999996 AS min, 48.599999999999994 AS max, CAST('43.199999999999996,48.599999999999994' AS text) AS bin_text UNION
|
536444
|
+
SELECT 48.599999999999994 AS min, 53.99999999999999 AS max, CAST('48.599999999999994,53.99999999999999' AS text) AS bin_text UNION
|
536445
|
+
SELECT 53.99999999999999 AS min, 59.39999999999999 AS max, CAST('53.99999999999999,59.39999999999999' AS text) AS bin_text
|
536446
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536447
|
+
CASE
|
536448
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536449
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536450
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536451
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536452
|
+
END
|
536453
|
+
) GROUP BY _repor_dimension_author, _repor_dimension_likes ORDER BY _repor_dimension_author ASC NULLS FIRST
|
536454
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"[0m
|
536455
|
+
Rendered site/report.html.erb within layouts/application (107.3ms)
|
536456
|
+
Completed 200 OK in 113ms (Views: 82.0ms | ActiveRecord: 30.9ms)
|
536457
|
+
|
536458
|
+
|
536459
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&commit=Run+report" for ::1 at 2016-04-05 10:25:19 -0400
|
536460
|
+
Processing by SiteController#report as HTML
|
536461
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>""}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0", "max"=>"3"}, "bin_width"=>""}, "created_at"=>{"only"=>{"min"=>"", "max"=>""}}}}, "commit"=>"Run report"}
|
536462
|
+
[1m[35m (1.5ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536463
|
+
[1m[36m (1.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0))[0m
|
536464
|
+
[1m[35m (2.7ms)[0m SELECT authors.name AS _repor_dimension_author, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536465
|
+
SELECT 0.0 AS min, 0.3 AS max, CAST('0.0,0.3' AS text) AS bin_text UNION
|
536466
|
+
SELECT 0.3 AS min, 0.6 AS max, CAST('0.3,0.6' AS text) AS bin_text UNION
|
536467
|
+
SELECT 0.6 AS min, 0.8999999999999999 AS max, CAST('0.6,0.8999999999999999' AS text) AS bin_text UNION
|
536468
|
+
SELECT 0.8999999999999999 AS min, 1.2 AS max, CAST('0.8999999999999999,1.2' AS text) AS bin_text UNION
|
536469
|
+
SELECT 1.2 AS min, 1.5 AS max, CAST('1.2,1.5' AS text) AS bin_text UNION
|
536470
|
+
SELECT 1.5 AS min, 1.8 AS max, CAST('1.5,1.8' AS text) AS bin_text UNION
|
536471
|
+
SELECT 1.8 AS min, 2.1 AS max, CAST('1.8,2.1' AS text) AS bin_text UNION
|
536472
|
+
SELECT 2.1 AS min, 2.4 AS max, CAST('2.1,2.4' AS text) AS bin_text UNION
|
536473
|
+
SELECT 2.4 AS min, 2.6999999999999997 AS max, CAST('2.4,2.6999999999999997' AS text) AS bin_text UNION
|
536474
|
+
SELECT 2.6999999999999997 AS min, 2.9999999999999996 AS max, CAST('2.6999999999999997,2.9999999999999996' AS text) AS bin_text UNION
|
536475
|
+
SELECT 2.9999999999999996 AS min, 3.2999999999999994 AS max, CAST('2.9999999999999996,3.2999999999999994' AS text) AS bin_text
|
536476
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536477
|
+
CASE
|
536478
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536479
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536480
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536481
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536482
|
+
END
|
536483
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) GROUP BY _repor_dimension_author, _repor_dimension_likes ORDER BY _repor_dimension_author ASC NULLS FIRST
|
536484
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0))[0m
|
536485
|
+
Rendered site/report.html.erb within layouts/application (126.8ms)
|
536486
|
+
Completed 200 OK in 136ms (Views: 130.0ms | ActiveRecord: 5.2ms)
|
536487
|
+
|
536488
|
+
|
536489
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&commit=Run+report" for ::1 at 2016-04-05 10:25:23 -0400
|
536490
|
+
Processing by SiteController#report as HTML
|
536491
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>""}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"3.0"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"", "max"=>""}}}}, "commit"=>"Run report"}
|
536492
|
+
[1m[35m (1.5ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536493
|
+
[1m[36m (1.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0))[0m
|
536494
|
+
[1m[35m (1.9ms)[0m SELECT authors.name AS _repor_dimension_author, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536495
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536496
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536497
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
|
536498
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536499
|
+
CASE
|
536500
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536501
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536502
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536503
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536504
|
+
END
|
536505
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) GROUP BY _repor_dimension_author, _repor_dimension_likes ORDER BY _repor_dimension_author ASC NULLS FIRST
|
536506
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0))[0m
|
536507
|
+
Rendered site/report.html.erb within layouts/application (44.4ms)
|
536508
|
+
Completed 200 OK in 52ms (Views: 47.1ms | ActiveRecord: 4.5ms)
|
536509
|
+
|
536510
|
+
|
536511
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-01-01&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=2015-01-05&commit=Run+report" for ::1 at 2016-04-05 10:25:37 -0400
|
536512
|
+
Processing by SiteController#report as HTML
|
536513
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>""}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"3.0"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"2015-01-01", "max"=>"2015-01-05"}}}}, "commit"=>"Run report"}
|
536514
|
+
[1m[35m (1.3ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536515
|
+
[1m[36m (3.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-01-01 00:00:00.000000' AND posts.created_at < '2015-01-05 00:00:00.000000'))[0m
|
536516
|
+
[1m[35m (0.8ms)[0m SELECT authors.name AS _repor_dimension_author, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536517
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536518
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536519
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
|
536520
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536521
|
+
CASE
|
536522
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536523
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536524
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536525
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536526
|
+
END
|
536527
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-01-01 00:00:00.000000' AND posts.created_at < '2015-01-05 00:00:00.000000')) GROUP BY _repor_dimension_author, _repor_dimension_likes ORDER BY _repor_dimension_author ASC NULLS FIRST
|
536528
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-01-01 00:00:00.000000' AND posts.created_at < '2015-01-05 00:00:00.000000'))[0m
|
536529
|
+
Rendered site/report.html.erb within layouts/application (12.7ms)
|
536530
|
+
Completed 200 OK in 25ms (Views: 18.3ms | ActiveRecord: 5.1ms)
|
536531
|
+
|
536532
|
+
|
536533
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=2016-12-05+00%3A00%3A00+UTC&commit=Run+report" for ::1 at 2016-04-05 10:25:44 -0400
|
536534
|
+
Processing by SiteController#report as HTML
|
536535
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>""}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"3.0"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>"2016-12-05 00:00:00 UTC"}}}}, "commit"=>"Run report"}
|
536536
|
+
[1m[35m (1.1ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536537
|
+
[1m[36m (0.9ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-12-01 00:00:00.000000' AND posts.created_at < '2016-12-05 00:00:00.000000'))[0m
|
536538
|
+
[1m[35m (1.8ms)[0m SELECT authors.name AS _repor_dimension_author, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536539
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536540
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536541
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
|
536542
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536543
|
+
CASE
|
536544
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536545
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536546
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536547
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536548
|
+
END
|
536549
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-12-01 00:00:00.000000' AND posts.created_at < '2016-12-05 00:00:00.000000')) GROUP BY _repor_dimension_author, _repor_dimension_likes ORDER BY _repor_dimension_author ASC NULLS FIRST
|
536550
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-12-01 00:00:00.000000' AND posts.created_at < '2016-12-05 00:00:00.000000'))[0m
|
536551
|
+
Rendered site/report.html.erb within layouts/application (24.1ms)
|
536552
|
+
Completed 200 OK in 37ms (Views: 31.8ms | ActiveRecord: 3.8ms)
|
536553
|
+
|
536554
|
+
|
536555
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=2016-12-03+00%3A00%3A00+UTC&commit=Run+report" for ::1 at 2016-04-05 10:25:47 -0400
|
536556
|
+
Processing by SiteController#report as HTML
|
536557
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>""}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"3.0"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>"2016-12-03 00:00:00 UTC"}}}}, "commit"=>"Run report"}
|
536558
|
+
[1m[35m (1.5ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536559
|
+
[1m[36m (0.9ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-12-01 00:00:00.000000' AND posts.created_at < '2016-12-03 00:00:00.000000'))[0m
|
536560
|
+
[1m[35m (1.7ms)[0m SELECT authors.name AS _repor_dimension_author, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536561
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536562
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536563
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
|
536564
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536565
|
+
CASE
|
536566
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536567
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536568
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536569
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536570
|
+
END
|
536571
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-12-01 00:00:00.000000' AND posts.created_at < '2016-12-03 00:00:00.000000')) GROUP BY _repor_dimension_author, _repor_dimension_likes ORDER BY _repor_dimension_author ASC NULLS FIRST
|
536572
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-12-01 00:00:00.000000' AND posts.created_at < '2016-12-03 00:00:00.000000'))[0m
|
536573
|
+
Rendered site/report.html.erb within layouts/application (26.2ms)
|
536574
|
+
Completed 200 OK in 34ms (Views: 29.5ms | ActiveRecord: 4.1ms)
|
536575
|
+
|
536576
|
+
|
536577
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=2016-12-05+00%3A00%3A00+UTC&commit=Run+report" for ::1 at 2016-04-05 10:25:49 -0400
|
536578
|
+
Processing by SiteController#report as HTML
|
536579
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>""}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"3.0"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>"2016-12-05 00:00:00 UTC"}}}}, "commit"=>"Run report"}
|
536580
|
+
[1m[35m (1.1ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536581
|
+
[1m[36m (1.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-12-01 00:00:00.000000' AND posts.created_at < '2016-12-05 00:00:00.000000'))[0m
|
536582
|
+
[1m[35m (1.6ms)[0m SELECT authors.name AS _repor_dimension_author, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536583
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536584
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536585
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
|
536586
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536587
|
+
CASE
|
536588
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536589
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536590
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536591
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536592
|
+
END
|
536593
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-12-01 00:00:00.000000' AND posts.created_at < '2016-12-05 00:00:00.000000')) GROUP BY _repor_dimension_author, _repor_dimension_likes ORDER BY _repor_dimension_author ASC NULLS FIRST
|
536594
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-12-01 00:00:00.000000' AND posts.created_at < '2016-12-05 00:00:00.000000'))[0m
|
536595
|
+
Rendered site/report.html.erb within layouts/application (26.9ms)
|
536596
|
+
Completed 200 OK in 37ms (Views: 32.9ms | ActiveRecord: 3.8ms)
|
536597
|
+
|
536598
|
+
|
536599
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=created_at&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=2016-12-05+00%3A00%3A00+UTC&commit=Run+report" for ::1 at 2016-04-05 10:25:58 -0400
|
536600
|
+
Processing by SiteController#report as HTML
|
536601
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>"created_at"}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"3.0"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>"2016-12-05 00:00:00 UTC"}}}}, "commit"=>"Run report"}
|
536602
|
+
[1m[35m (0.9ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536603
|
+
[1m[36m (0.9ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-12-01 00:00:00.000000' AND posts.created_at < '2016-12-05 00:00:00.000000'))[0m
|
536604
|
+
[1m[35m (6.8ms)[0m SELECT authors.name AS _repor_dimension_author, _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_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536605
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536606
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536607
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
|
536608
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536609
|
+
CASE
|
536610
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536611
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536612
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536613
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536614
|
+
END
|
536615
|
+
) INNER JOIN (
|
536616
|
+
SELECT CAST('2015-12-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-12-01 00:00:00 UTC,2016-01-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536617
|
+
SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp 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
|
536618
|
+
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
|
536619
|
+
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 UNION
|
536620
|
+
SELECT CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-05-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-04-01 00:00:00 UTC,2016-05-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536621
|
+
SELECT CAST('2016-05-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-06-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-05-01 00:00:00 UTC,2016-06-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536622
|
+
SELECT CAST('2016-06-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-07-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-06-01 00:00:00 UTC,2016-07-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536623
|
+
SELECT CAST('2016-07-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-08-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-07-01 00:00:00 UTC,2016-08-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536624
|
+
SELECT CAST('2016-08-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-09-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-08-01 00:00:00 UTC,2016-09-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536625
|
+
SELECT CAST('2016-09-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-10-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-09-01 00:00:00 UTC,2016-10-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536626
|
+
SELECT CAST('2016-10-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-11-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-10-01 00:00:00 UTC,2016-11-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536627
|
+
SELECT CAST('2016-11-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-12-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-11-01 00:00:00 UTC,2016-12-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536628
|
+
SELECT CAST('2016-12-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2017-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-12-01 00:00:00 UTC,2017-01-01 00:00:00 UTC' AS text) AS bin_text
|
536629
|
+
) AS _repor_dimension_created_at_bin_table ON (
|
536630
|
+
CASE
|
536631
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
|
536632
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
|
536633
|
+
WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
|
536634
|
+
ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
|
536635
|
+
END
|
536636
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-12-01 00:00:00.000000' AND posts.created_at < '2016-12-05 00:00:00.000000')) GROUP BY _repor_dimension_author, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST
|
536637
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND ((posts.created_at >= '2015-12-01 00:00:00.000000' AND posts.created_at < '2016-12-05 00:00:00.000000'))[0m
|
536638
|
+
Rendered site/report.html.erb within layouts/application (1047.1ms)
|
536639
|
+
Completed 200 OK in 1055ms (Views: 1044.8ms | ActiveRecord: 8.6ms)
|
536640
|
+
|
536641
|
+
|
536642
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=created_at&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bbin_width%5D=&commit=Run+report" for ::1 at 2016-04-05 10:26:10 -0400
|
536643
|
+
Processing by SiteController#report as HTML
|
536644
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>"created_at"}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"3.0"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>""}, "bin_width"=>""}}}, "commit"=>"Run report"}
|
536645
|
+
[1m[35m (1.1ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536646
|
+
[1m[36m (3.8ms)[0m [1mSELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
536647
|
+
[1m[35m (0.9ms)[0m SELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536648
|
+
[1m[36m (2.4ms)[0m [1mSELECT authors.name AS _repor_dimension_author, _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_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536649
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536650
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536651
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
|
536652
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536653
|
+
CASE
|
536654
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536655
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536656
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536657
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536658
|
+
END
|
536659
|
+
) INNER JOIN (
|
536660
|
+
SELECT CAST('2015-12-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-12-01 00:00:00 UTC,2016-01-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536661
|
+
SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp 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
|
536662
|
+
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
|
536663
|
+
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 UNION
|
536664
|
+
SELECT CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-05-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-04-01 00:00:00 UTC,2016-05-01 00:00:00 UTC' AS text) AS bin_text
|
536665
|
+
) AS _repor_dimension_created_at_bin_table ON (
|
536666
|
+
CASE
|
536667
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
|
536668
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
|
536669
|
+
WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
|
536670
|
+
ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
|
536671
|
+
END
|
536672
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000') GROUP BY _repor_dimension_author, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST[0m
|
536673
|
+
[1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536674
|
+
Rendered site/report.html.erb within layouts/application (450.2ms)
|
536675
|
+
Completed 200 OK in 477ms (Views: 468.1ms | ActiveRecord: 8.2ms)
|
536676
|
+
|
536677
|
+
|
536678
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=created_at&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bbin_width%5D=&commit=Run+report" for ::1 at 2016-04-05 10:26:13 -0400
|
536679
|
+
Processing by SiteController#report as HTML
|
536680
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>"created_at"}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"3.0"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>""}, "bin_width"=>""}}}, "commit"=>"Run report"}
|
536681
|
+
[1m[36m (1.2ms)[0m [1mSELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"[0m
|
536682
|
+
[1m[35m (0.9ms)[0m SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536683
|
+
[1m[36m (0.9ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
536684
|
+
[1m[35m (2.5ms)[0m SELECT authors.name AS _repor_dimension_author, _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_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536685
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536686
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536687
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
|
536688
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536689
|
+
CASE
|
536690
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536691
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536692
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536693
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536694
|
+
END
|
536695
|
+
) INNER JOIN (
|
536696
|
+
SELECT CAST('2015-12-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-12-01 00:00:00 UTC,2016-01-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536697
|
+
SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp 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
|
536698
|
+
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
|
536699
|
+
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 UNION
|
536700
|
+
SELECT CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-05-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-04-01 00:00:00 UTC,2016-05-01 00:00:00 UTC' AS text) AS bin_text
|
536701
|
+
) AS _repor_dimension_created_at_bin_table ON (
|
536702
|
+
CASE
|
536703
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
|
536704
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
|
536705
|
+
WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
|
536706
|
+
ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
|
536707
|
+
END
|
536708
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000') GROUP BY _repor_dimension_author, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST
|
536709
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
536710
|
+
Rendered site/report.html.erb within layouts/application (410.4ms)
|
536711
|
+
Completed 200 OK in 418ms (Views: 412.0ms | ActiveRecord: 5.5ms)
|
536712
|
+
|
536713
|
+
|
536714
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=created_at&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bbin_width%5D=1+year&commit=Run+report" for ::1 at 2016-04-05 10:26:15 -0400
|
536715
|
+
Processing by SiteController#report as HTML
|
536716
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>"created_at"}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"3.0"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>""}, "bin_width"=>"1 year"}}}, "commit"=>"Run report"}
|
536717
|
+
[1m[35m (0.9ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536718
|
+
[1m[36m (0.9ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
536719
|
+
[1m[35m (1.1ms)[0m SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536720
|
+
[1m[36m (2.4ms)[0m [1mSELECT authors.name AS _repor_dimension_author, _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_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536721
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536722
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536723
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
|
536724
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536725
|
+
CASE
|
536726
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536727
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536728
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536729
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536730
|
+
END
|
536731
|
+
) INNER JOIN (
|
536732
|
+
SELECT CAST('2015-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-01-01 00:00:00 UTC,2016-01-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536733
|
+
SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2017-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2017-01-01 00:00:00 UTC' AS text) AS bin_text
|
536734
|
+
) AS _repor_dimension_created_at_bin_table ON (
|
536735
|
+
CASE
|
536736
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
|
536737
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
|
536738
|
+
WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
|
536739
|
+
ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
|
536740
|
+
END
|
536741
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000') GROUP BY _repor_dimension_author, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST[0m
|
536742
|
+
[1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536743
|
+
Rendered site/report.html.erb within layouts/application (222.7ms)
|
536744
|
+
Completed 200 OK in 229ms (Views: 222.3ms | ActiveRecord: 5.3ms)
|
536745
|
+
|
536746
|
+
|
536747
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=created_at&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bbin_width%5D=1+year&commit=Run+report" for ::1 at 2016-04-05 10:32:41 -0400
|
536748
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
536749
|
+
Processing by SiteController#report as HTML
|
536750
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>"created_at"}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"3.0"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>""}, "bin_width"=>"1 year"}}}, "commit"=>"Run report"}
|
536751
|
+
[1m[35m (1.7ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536752
|
+
[1m[36m (1.5ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
536753
|
+
[1m[35m (1.0ms)[0m SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536754
|
+
[1m[36m (2.9ms)[0m [1mSELECT authors.name AS _repor_dimension_author, _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_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536755
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536756
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536757
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
|
536758
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536759
|
+
CASE
|
536760
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536761
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536762
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536763
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536764
|
+
END
|
536765
|
+
) INNER JOIN (
|
536766
|
+
SELECT CAST('2015-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-01-01 00:00:00 UTC,2016-01-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536767
|
+
SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2017-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2017-01-01 00:00:00 UTC' AS text) AS bin_text
|
536768
|
+
) AS _repor_dimension_created_at_bin_table ON (
|
536769
|
+
CASE
|
536770
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
|
536771
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
|
536772
|
+
WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
|
536773
|
+
ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
|
536774
|
+
END
|
536775
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000') GROUP BY _repor_dimension_author, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST[0m
|
536776
|
+
[1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536777
|
+
Rendered site/report.html.erb within layouts/application (735.6ms)
|
536778
|
+
Completed 200 OK in 1103ms (Views: 1067.4ms | ActiveRecord: 10.6ms)
|
536779
|
+
|
536780
|
+
|
536781
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-04-05 10:32:43 -0400
|
536782
|
+
|
536783
|
+
|
536784
|
+
Started GET "/assets/application.self-e52fa01d0a19195119d9932a5daf7da95708a2d13aa05ac541e03f3933769517.css?body=1" for ::1 at 2016-04-05 10:32:43 -0400
|
536785
|
+
|
536786
|
+
|
536787
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=created_at&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bbin_width%5D=1+year&commit=Run+report" for ::1 at 2016-04-05 10:33:14 -0400
|
536788
|
+
Processing by SiteController#report as HTML
|
536789
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>"created_at"}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"3.0"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>""}, "bin_width"=>"1 year"}}}, "commit"=>"Run report"}
|
536790
|
+
[1m[36m (1.3ms)[0m [1mSELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"[0m
|
536791
|
+
[1m[35m (1.0ms)[0m SELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536792
|
+
[1m[36m (1.0ms)[0m [1mSELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
536793
|
+
[1m[35m (2.6ms)[0m SELECT authors.name AS _repor_dimension_author, _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_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536794
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536795
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536796
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
|
536797
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536798
|
+
CASE
|
536799
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536800
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536801
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536802
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536803
|
+
END
|
536804
|
+
) INNER JOIN (
|
536805
|
+
SELECT CAST('2015-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-01-01 00:00:00 UTC,2016-01-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536806
|
+
SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2017-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2017-01-01 00:00:00 UTC' AS text) AS bin_text
|
536807
|
+
) AS _repor_dimension_created_at_bin_table ON (
|
536808
|
+
CASE
|
536809
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
|
536810
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
|
536811
|
+
WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
|
536812
|
+
ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
|
536813
|
+
END
|
536814
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000') GROUP BY _repor_dimension_author, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST
|
536815
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
536816
|
+
Rendered site/report.html.erb within layouts/application (316.6ms)
|
536817
|
+
Completed 200 OK in 344ms (Views: 337.6ms | ActiveRecord: 5.8ms)
|
536818
|
+
|
536819
|
+
|
536820
|
+
Started GET "/assets/application.self-e52fa01d0a19195119d9932a5daf7da95708a2d13aa05ac541e03f3933769517.css?body=1" for ::1 at 2016-04-05 10:33:15 -0400
|
536821
|
+
|
536822
|
+
|
536823
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-04-05 10:33:15 -0400
|
536824
|
+
|
536825
|
+
|
536826
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=created_at&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bbin_width%5D=1+year&commit=Run+report" for ::1 at 2016-04-05 10:34:19 -0400
|
536827
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
536828
|
+
Processing by SiteController#report as HTML
|
536829
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>"created_at"}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"3.0"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>""}, "bin_width"=>"1 year"}}}, "commit"=>"Run report"}
|
536830
|
+
[1m[35m (1.1ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536831
|
+
[1m[36m (3.1ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
536832
|
+
[1m[35m (1.1ms)[0m SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536833
|
+
[1m[36m (3.3ms)[0m [1mSELECT authors.name AS _repor_dimension_author, _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_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536834
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536835
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536836
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
|
536837
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536838
|
+
CASE
|
536839
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536840
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536841
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536842
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536843
|
+
END
|
536844
|
+
) INNER JOIN (
|
536845
|
+
SELECT CAST('2015-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-01-01 00:00:00 UTC,2016-01-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536846
|
+
SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2017-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2017-01-01 00:00:00 UTC' AS text) AS bin_text
|
536847
|
+
) AS _repor_dimension_created_at_bin_table ON (
|
536848
|
+
CASE
|
536849
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
|
536850
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
|
536851
|
+
WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
|
536852
|
+
ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
|
536853
|
+
END
|
536854
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000') GROUP BY _repor_dimension_author, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST[0m
|
536855
|
+
[1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536856
|
+
Rendered site/report.html.erb within layouts/application (754.4ms)
|
536857
|
+
Completed 200 OK in 1049ms (Views: 1010.9ms | ActiveRecord: 11.5ms)
|
536858
|
+
|
536859
|
+
|
536860
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=created_at&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bbin_width%5D=1+year&commit=Run+report" for ::1 at 2016-04-05 10:34:21 -0400
|
536861
|
+
Processing by SiteController#report as HTML
|
536862
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>"created_at"}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"3.0"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>""}, "bin_width"=>"1 year"}}}, "commit"=>"Run report"}
|
536863
|
+
[1m[36m (1.0ms)[0m [1mSELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"[0m
|
536864
|
+
[1m[35m (1.0ms)[0m SELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536865
|
+
[1m[36m (1.0ms)[0m [1mSELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
536866
|
+
[1m[35m (2.6ms)[0m SELECT authors.name AS _repor_dimension_author, _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_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536867
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536868
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536869
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
|
536870
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536871
|
+
CASE
|
536872
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536873
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536874
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536875
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536876
|
+
END
|
536877
|
+
) INNER JOIN (
|
536878
|
+
SELECT CAST('2015-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-01-01 00:00:00 UTC,2016-01-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536879
|
+
SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2017-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2017-01-01 00:00:00 UTC' AS text) AS bin_text
|
536880
|
+
) AS _repor_dimension_created_at_bin_table ON (
|
536881
|
+
CASE
|
536882
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
|
536883
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
|
536884
|
+
WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
|
536885
|
+
ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
|
536886
|
+
END
|
536887
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000') GROUP BY _repor_dimension_author, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST
|
536888
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
536889
|
+
Rendered site/report.html.erb within layouts/application (272.4ms)
|
536890
|
+
Completed 200 OK in 280ms (Views: 273.9ms | ActiveRecord: 5.6ms)
|
536891
|
+
|
536892
|
+
|
536893
|
+
Started GET "/assets/application.self-e52fa01d0a19195119d9932a5daf7da95708a2d13aa05ac541e03f3933769517.css?body=1" for ::1 at 2016-04-05 10:34:21 -0400
|
536894
|
+
|
536895
|
+
|
536896
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-04-05 10:34:21 -0400
|
536897
|
+
|
536898
|
+
|
536899
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=created_at&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=3.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bbin_width%5D=1+year&commit=Run+report" for ::1 at 2016-04-05 10:34:52 -0400
|
536900
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
536901
|
+
Processing by SiteController#report as HTML
|
536902
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>"created_at"}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"3.0"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>""}, "bin_width"=>"1 year"}}}, "commit"=>"Run report"}
|
536903
|
+
[1m[35m (1.1ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536904
|
+
[1m[36m (1.4ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
536905
|
+
[1m[35m (1.1ms)[0m SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536906
|
+
[1m[36m (2.8ms)[0m [1mSELECT authors.name AS _repor_dimension_author, _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_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536907
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536908
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536909
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
|
536910
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536911
|
+
CASE
|
536912
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536913
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536914
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536915
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536916
|
+
END
|
536917
|
+
) INNER JOIN (
|
536918
|
+
SELECT CAST('2015-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-01-01 00:00:00 UTC,2016-01-01 00:00:00 UTC' AS text) AS bin_text UNION
|
536919
|
+
SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2017-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2017-01-01 00:00:00 UTC' AS text) AS bin_text
|
536920
|
+
) AS _repor_dimension_created_at_bin_table ON (
|
536921
|
+
CASE
|
536922
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
|
536923
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
|
536924
|
+
WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
|
536925
|
+
ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
|
536926
|
+
END
|
536927
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000') GROUP BY _repor_dimension_author, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST[0m
|
536928
|
+
[1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 3.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536929
|
+
Rendered site/report.html.erb within layouts/application (772.9ms)
|
536930
|
+
Completed 200 OK in 1053ms (Views: 1018.3ms | ActiveRecord: 9.0ms)
|
536931
|
+
|
536932
|
+
|
536933
|
+
Started GET "/assets/application.self-e52fa01d0a19195119d9932a5daf7da95708a2d13aa05ac541e03f3933769517.css?body=1" for ::1 at 2016-04-05 10:34:54 -0400
|
536934
|
+
|
536935
|
+
|
536936
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-04-05 10:34:54 -0400
|
536937
|
+
|
536938
|
+
|
536939
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=5&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=1&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bbin_width%5D=1+year&commit=Run+report" for ::1 at 2016-04-05 10:34:56 -0400
|
536940
|
+
Processing by SiteController#report as HTML
|
536941
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes"}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"5"}, "bin_width"=>"1"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>""}, "bin_width"=>"1 year"}}}, "commit"=>"Run report"}
|
536942
|
+
[1m[36m (0.9ms)[0m [1mSELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"[0m
|
536943
|
+
[1m[35m (0.9ms)[0m SELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 5.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536944
|
+
[1m[36m (2.1ms)[0m [1mSELECT authors.name AS _repor_dimension_author, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536945
|
+
SELECT 0.0 AS min, 1.0 AS max, CAST('0.0,1.0' AS text) AS bin_text UNION
|
536946
|
+
SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
|
536947
|
+
SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text UNION
|
536948
|
+
SELECT 3.0 AS min, 4.0 AS max, CAST('3.0,4.0' AS text) AS bin_text UNION
|
536949
|
+
SELECT 4.0 AS min, 5.0 AS max, CAST('4.0,5.0' AS text) AS bin_text
|
536950
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536951
|
+
CASE
|
536952
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536953
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536954
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536955
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536956
|
+
END
|
536957
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 5.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000') GROUP BY _repor_dimension_author, _repor_dimension_likes ORDER BY _repor_dimension_author ASC NULLS FIRST[0m
|
536958
|
+
[1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 5.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536959
|
+
Rendered site/report.html.erb within layouts/application (35.2ms)
|
536960
|
+
Completed 200 OK in 43ms (Views: 38.5ms | ActiveRecord: 3.9ms)
|
536961
|
+
|
536962
|
+
|
536963
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=9.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=3&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&commit=Run+report" for ::1 at 2016-04-05 10:35:24 -0400
|
536964
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
536965
|
+
Processing by SiteController#report as HTML
|
536966
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes"}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"9.0"}, "bin_width"=>"3"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>""}}}}, "commit"=>"Run report"}
|
536967
|
+
[1m[35m (1.2ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536968
|
+
[1m[36m (2.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
536969
|
+
[1m[35m (3.0ms)[0m SELECT authors.name AS _repor_dimension_author, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536970
|
+
SELECT 0.0 AS min, 3.0 AS max, CAST('0.0,3.0' AS text) AS bin_text UNION
|
536971
|
+
SELECT 3.0 AS min, 6.0 AS max, CAST('3.0,6.0' AS text) AS bin_text UNION
|
536972
|
+
SELECT 6.0 AS min, 9.0 AS max, CAST('6.0,9.0' AS text) AS bin_text
|
536973
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536974
|
+
CASE
|
536975
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536976
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
536977
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
536978
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
536979
|
+
END
|
536980
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000') GROUP BY _repor_dimension_author, _repor_dimension_likes ORDER BY _repor_dimension_author ASC NULLS FIRST
|
536981
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
536982
|
+
Rendered site/report.html.erb within layouts/application (595.9ms)
|
536983
|
+
Completed 200 OK in 896ms (Views: 857.8ms | ActiveRecord: 9.2ms)
|
536984
|
+
|
536985
|
+
|
536986
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=created_at&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=9.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=3&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&commit=Run+report" for ::1 at 2016-04-05 10:35:31 -0400
|
536987
|
+
Processing by SiteController#report as HTML
|
536988
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>"created_at"}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"9.0"}, "bin_width"=>"3"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>""}}}}, "commit"=>"Run report"}
|
536989
|
+
[1m[35m (0.8ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
536990
|
+
[1m[36m (1.2ms)[0m [1mSELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
536991
|
+
[1m[35m (1.2ms)[0m SELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
536992
|
+
[1m[36m (4.3ms)[0m [1mSELECT authors.name AS _repor_dimension_author, _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_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
536993
|
+
SELECT 0.0 AS min, 3.0 AS max, CAST('0.0,3.0' AS text) AS bin_text UNION
|
536994
|
+
SELECT 3.0 AS min, 6.0 AS max, CAST('3.0,6.0' AS text) AS bin_text UNION
|
536995
|
+
SELECT 6.0 AS min, 9.0 AS max, CAST('6.0,9.0' AS text) AS bin_text
|
536996
|
+
) AS _repor_dimension_likes_bin_table ON (
|
536997
|
+
CASE
|
536998
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
536999
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
537000
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
537001
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
537002
|
+
END
|
537003
|
+
) INNER JOIN (
|
537004
|
+
SELECT CAST('2015-12-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-12-01 00:00:00 UTC,2016-01-01 00:00:00 UTC' AS text) AS bin_text UNION
|
537005
|
+
SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp 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
|
537006
|
+
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
|
537007
|
+
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 UNION
|
537008
|
+
SELECT CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-05-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-04-01 00:00:00 UTC,2016-05-01 00:00:00 UTC' AS text) AS bin_text
|
537009
|
+
) AS _repor_dimension_created_at_bin_table ON (
|
537010
|
+
CASE
|
537011
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
|
537012
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
|
537013
|
+
WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
|
537014
|
+
ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
|
537015
|
+
END
|
537016
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000') GROUP BY _repor_dimension_author, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST[0m
|
537017
|
+
[1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
537018
|
+
Rendered site/report.html.erb within layouts/application (625.7ms)
|
537019
|
+
Completed 200 OK in 634ms (Views: 625.4ms | ActiveRecord: 7.5ms)
|
537020
|
+
|
537021
|
+
|
537022
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=created_at&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=9.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=3&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bbin_width%5D=1+year&commit=Run+report" for ::1 at 2016-04-05 10:35:35 -0400
|
537023
|
+
Processing by SiteController#report as HTML
|
537024
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>"created_at"}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"9.0"}, "bin_width"=>"3"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>""}, "bin_width"=>"1 year"}}}, "commit"=>"Run report"}
|
537025
|
+
[1m[36m (0.8ms)[0m [1mSELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"[0m
|
537026
|
+
[1m[35m (1.1ms)[0m SELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
537027
|
+
[1m[36m (1.1ms)[0m [1mSELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
537028
|
+
[1m[35m (3.3ms)[0m SELECT authors.name AS _repor_dimension_author, _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_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
537029
|
+
SELECT 0.0 AS min, 3.0 AS max, CAST('0.0,3.0' AS text) AS bin_text UNION
|
537030
|
+
SELECT 3.0 AS min, 6.0 AS max, CAST('3.0,6.0' AS text) AS bin_text UNION
|
537031
|
+
SELECT 6.0 AS min, 9.0 AS max, CAST('6.0,9.0' AS text) AS bin_text
|
537032
|
+
) AS _repor_dimension_likes_bin_table ON (
|
537033
|
+
CASE
|
537034
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
537035
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
537036
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
537037
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
537038
|
+
END
|
537039
|
+
) INNER JOIN (
|
537040
|
+
SELECT CAST('2015-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-01-01 00:00:00 UTC,2016-01-01 00:00:00 UTC' AS text) AS bin_text UNION
|
537041
|
+
SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2017-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2017-01-01 00:00:00 UTC' AS text) AS bin_text
|
537042
|
+
) AS _repor_dimension_created_at_bin_table ON (
|
537043
|
+
CASE
|
537044
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
|
537045
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
|
537046
|
+
WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
|
537047
|
+
ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
|
537048
|
+
END
|
537049
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000') GROUP BY _repor_dimension_author, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST
|
537050
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
537051
|
+
Rendered site/report.html.erb within layouts/application (302.8ms)
|
537052
|
+
Completed 200 OK in 310ms (Views: 302.1ms | ActiveRecord: 6.3ms)
|
537053
|
+
|
537054
|
+
|
537055
|
+
Started GET "/?utf8=%E2%9C%93&post_report%5Baggregator%5D=count&post_report%5Bgroupers%5D%5B0%5D=author&post_report%5Bgroupers%5D%5B1%5D=likes&post_report%5Bgroupers%5D%5B2%5D=created_at&post_report%5Bdimensions%5D%5Bauthor%5D%5Bonly%5D=&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmin%5D=0.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bonly%5D%5Bmax%5D=9.0&post_report%5Bdimensions%5D%5Blikes%5D%5Bbin_width%5D=3&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmin%5D=2015-12-01+00%3A00%3A00+UTC&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bonly%5D%5Bmax%5D=&post_report%5Bdimensions%5D%5Bcreated_at%5D%5Bbin_width%5D=1+year&commit=Run+report" for ::1 at 2016-04-05 10:36:23 -0400
|
537056
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
537057
|
+
Processing by SiteController#report as HTML
|
537058
|
+
Parameters: {"utf8"=>"✓", "post_report"=>{"aggregator"=>"count", "groupers"=>{"0"=>"author", "1"=>"likes", "2"=>"created_at"}, "dimensions"=>{"author"=>{"only"=>""}, "likes"=>{"only"=>{"min"=>"0.0", "max"=>"9.0"}, "bin_width"=>"3"}, "created_at"=>{"only"=>{"min"=>"2015-12-01 00:00:00 UTC", "max"=>""}, "bin_width"=>"1 year"}}}, "commit"=>"Run report"}
|
537059
|
+
[1m[35m (1.1ms)[0m SELECT DISTINCT authors.name FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
|
537060
|
+
[1m[36m (1.8ms)[0m [1mSELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')[0m
|
537061
|
+
[1m[35m (1.3ms)[0m SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
537062
|
+
[1m[36m (4.3ms)[0m [1mSELECT authors.name AS _repor_dimension_author, _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_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
|
537063
|
+
SELECT 0.0 AS min, 3.0 AS max, CAST('0.0,3.0' AS text) AS bin_text UNION
|
537064
|
+
SELECT 3.0 AS min, 6.0 AS max, CAST('3.0,6.0' AS text) AS bin_text UNION
|
537065
|
+
SELECT 6.0 AS min, 9.0 AS max, CAST('6.0,9.0' AS text) AS bin_text
|
537066
|
+
) AS _repor_dimension_likes_bin_table ON (
|
537067
|
+
CASE
|
537068
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
|
537069
|
+
WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max)
|
537070
|
+
WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min)
|
537071
|
+
ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max))
|
537072
|
+
END
|
537073
|
+
) INNER JOIN (
|
537074
|
+
SELECT CAST('2015-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-01-01 00:00:00 UTC,2016-01-01 00:00:00 UTC' AS text) AS bin_text UNION
|
537075
|
+
SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2017-01-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2017-01-01 00:00:00 UTC' AS text) AS bin_text
|
537076
|
+
) AS _repor_dimension_created_at_bin_table ON (
|
537077
|
+
CASE
|
537078
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
|
537079
|
+
WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max)
|
537080
|
+
WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min)
|
537081
|
+
ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max))
|
537082
|
+
END
|
537083
|
+
) WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000') GROUP BY _repor_dimension_author, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST[0m
|
537084
|
+
[1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.likes >= 0.0 AND posts.likes < 9.0)) AND (posts.created_at >= '2015-12-01 00:00:00.000000')
|
537085
|
+
Rendered site/report.html.erb within layouts/application (803.2ms)
|
537086
|
+
Completed 200 OK in 1064ms (Views: 1026.1ms | ActiveRecord: 12.0ms)
|
537087
|
+
|
537088
|
+
|
537089
|
+
Started GET "/assets/application.self-e52fa01d0a19195119d9932a5daf7da95708a2d13aa05ac541e03f3933769517.css?body=1" for ::1 at 2016-04-05 10:36:25 -0400
|
537090
|
+
|
537091
|
+
|
537092
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-04-05 10:36:25 -0400
|