active_reporter 0.5.12 → 0.5.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aed148d6a8bfcab1d71ab77adc0663400b36bfac88a20070a42350bdee5afe71
4
- data.tar.gz: f588e4470f5f496e5d3206c1e4374c50d968dbb9e6be0310525509d0faf4d7d5
3
+ metadata.gz: 76bf4a7715dc1f3b05c96e5551218f94883a279d2dc1b38a29ec105ddcb20029
4
+ data.tar.gz: 14e3277ec0392caafcc4dffb9a4cd0c6ffc0bcbb73491b62d130f4daf15ba2a3
5
5
  SHA512:
6
- metadata.gz: 850aa84aa4db8c5a879a224cb6e06033a5435e161dd232092b4dd66d3ba51d81bb83cd9b13414e6233c9ef1311c315892c458c91e1e56a8526ae2ebf30df370d
7
- data.tar.gz: cd18bc9a71b491c451639a6102d497a8d9766deee3b97275f35485cd0bb51c013bb8e3ef8dde69b2d9035df61ac13dc0e10df9f4af22c309f52f101c239fb19a
6
+ metadata.gz: de569ff4a172dce471465e23afbf7738d823d3b7928690dcd7ddf9f8a31398f900f847b09cc0c779ac5ec042de9246dce02bbf0c0f3c3c9f1b2a4bf6d508c052
7
+ data.tar.gz: '091e1036ef4d70655420a83a548b880c6264a373138486110567c392f06e836e0bd91ea1960db011cec0c98ceb3ded0195b1f57d8f4e59e995c6aeb6af756edf'
@@ -6,18 +6,24 @@ module ActiveReporter
6
6
  def group_values
7
7
  return filter_values if filtering?
8
8
 
9
- # i = report.groupers.key(self)
10
- all_values & report.raw_data.keys.map { |x| x[0] }.uniq
9
+ all_values & report_values
11
10
  end
12
11
 
13
12
  def all_values
14
- enum_values.keys.unshift(nil)
13
+ enum_values.keys.tap { |values| values.unshift(nil) unless values.include?(nil) }.uniq
15
14
  end
16
15
 
17
16
  private
18
17
 
19
18
  def enum_values
20
- model.defined_enums[attribute.to_s]
19
+ model.defined_enums[attribute.to_s] || {}
20
+ end
21
+
22
+ def report_values
23
+ return [] if report.raw_data.nil?
24
+
25
+ i = report.groupers.index(self)
26
+ report.raw_data.keys.map { |x| x[i] }.uniq
21
27
  end
22
28
 
23
29
  def sanitize_sql_value(value)
@@ -197,7 +197,7 @@ module ActiveReporter
197
197
  def total
198
198
  results = @total_data || total_report.raw_data
199
199
 
200
- results.merge!(results.collect do |row, value|
200
+ results.deep_merge!(results.collect do |row, value|
201
201
  calculators.collect do |name, calculator|
202
202
  row_data = hash_raw_row(row, value, ['totals'])
203
203
  calc_report = parent_report.total_report
@@ -1,3 +1,3 @@
1
1
  module ActiveReporter
2
- VERSION = "0.5.12"
2
+ VERSION = "0.5.13"
3
3
  end
@@ -1,94 +1,47 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe ActiveReporter::Dimension::Enum do
4
- def new_dimension(dimension_params = {}, report_params = {}, opts = { model: :post })
5
- report_params[:dimensions] = dimension_params
6
- ActiveReporter::Dimension::Enum.new(
7
- :status,
8
- OpenStruct.new(params: report_params, groupers: { status: {}, category: {} }, raw_data: {
9
- ['published', 'post_count'] => 5, ['published', 'post_total'] => 500.00, ['published', 'post_average'] => 100.00,
10
- ['archived', 'post_count'] => 7, ['archived', 'post_total'] => 530.25, ['archived', 'post_average'] => 75.75,
11
- }),
12
- opts
13
- )
14
- end
15
-
16
- def status_dimension(report)
17
- described_class.new(:status, report, model: :posts, attribute: :status)
18
- end
4
+ let(:report_model) { :post }
5
+ let(:filter_values) { nil }
6
+ let(:status_dimension_options) { { only: filter_values }.compact }
7
+ let(:report) { OpenStruct.new(params: { dimensions: { status: status_dimension_options } }, groupers: [:status, :category], raw_data: raw_data) }
8
+
9
+ let(:raw_data) { {
10
+ ['published', 'post_count'] => 5, ['published', 'post_total'] => 500.00, ['published', 'post_average'] => 100.00,
11
+ ['archived', 'post_count'] => 7, ['archived', 'post_total'] => 530.25, ['archived', 'post_average'] => 75.75,
12
+ } }
13
+
14
+ let(:enum_values) { { 'draft' => 0, 'unpublished' => 1, 'published' => 2, 'archived' => 3 } }
15
+ let(:group_values) { ['published', 'archived'] }
16
+ let(:all_values) { enum_values.keys.unshift(nil) }
17
+
18
+ let(:status_dimension) do
19
+ dimension = ActiveReporter::Dimension::Enum.new(:status, report, { model: report_model, only: filter_values })
20
+ allow(dimension).to receive(:enum_values).and_return(enum_values)
21
+ report.groupers[report.groupers.index(:status)] = dimension if report.groupers.include?(:status)
19
22
 
20
- def author_dimension(report)
21
- described_class.new(:author, report, model: :authors, attribute: :name, relation: ->(r) { r.joins(
22
- "LEFT OUTER JOIN authors ON authors.id = posts.author_id") })
23
+ dimension
23
24
  end
24
25
 
25
26
  describe '#group_values' do
26
- # it 'echoes filter_values if filtering' do
27
- # dimension = status_dimension(OpenStruct.new(params: {
28
- # groupers: [:status]
29
- # }))
30
- # expect(dimension.group_values).to eq [nil, 'draft', 'unpublished', 'published', 'archived']
31
- # end
27
+ context 'when filtering' do
28
+ let(:filter_values) { ['unpublished', 'published', 'archived'] }
32
29
 
30
+ it 'returns filter_values' do
31
+ expect(status_dimension).to be_filtering
32
+ expect(status_dimension.group_values).to eq filter_values
33
+ end
34
+ end
33
35
 
34
- it 'determines #filtering?' do
35
- dimension = new_dimension({ status: {}, category: {} }, { groupers: [:status] })
36
- expect(dimension).not_to be_filtering
37
- expect(dimension.group_values).to match %w(published archived)
36
+ it 'returns group enum values' do
37
+ expect(status_dimension).not_to be_filtering
38
+ expect(status_dimension.group_values).to match group_values
38
39
  end
39
40
  end
40
41
 
41
- # describe '#all_values' do
42
- # it 'returns model enum values' do
43
- # dimension = author_dimension(OpenStruct.new(params: {
44
- # dimensions: { author: { only: [nil, 'draft', 'unpublished', 'published', 'archived'] } }
45
- # }))
46
- # expect(dimension.all_values).to eq described_class.
47
- # end
48
- # end
49
-
50
- # describe '#filter' do
51
- # it 'filters to rows matching at least one value' do
52
- # p1 = create(:post, author: 'Alice')
53
- # p2 = create(:post, author: 'Bob')
54
- # p3 = create(:post, author: nil)
55
-
56
- # def filter_by(author_values)
57
- # report = OpenStruct.new(
58
- # table_name: 'posts',
59
- # params: { dimensions: { author: { only: author_values } } }
60
- # )
61
- # dimension = author_dimension(report)
62
- # dimension.filter(dimension.relate(Post))
63
- # end
64
-
65
- # expect(filter_by(['Alice'])).to eq [p1]
66
- # expect(filter_by([nil])).to eq [p3]
67
- # expect(filter_by(['Alice', nil])).to eq [p1, p3]
68
- # expect(filter_by(['Alice', 'Bob'])).to eq [p1, p2]
69
- # expect(filter_by([])).to eq []
70
- # end
71
- # end
72
-
73
- # describe '#group' do
74
- # it 'groups the relation by the exact value of the SQL expression' do
75
- # p1 = create(:post, author: 'Alice')
76
- # p2 = create(:post, author: 'Alice')
77
- # p3 = create(:post, author: nil)
78
- # p4 = create(:post, author: 'Bob')
79
- # p5 = create(:post, author: 'Bob')
80
- # p6 = create(:post, author: 'Bob')
81
-
82
- # report = OpenStruct.new(table_name: 'posts', params: {})
83
- # dimension = author_dimension(report)
84
-
85
- # results = dimension.group(dimension.relate(Post)).select("COUNT(*) AS count").map do |r|
86
- # r.attributes.values_at(dimension.send(:sql_value_name), 'count')
87
- # end
88
-
89
- # expect(results).to eq [[nil, 1], ['Alice', 2], ['Bob', 3]]
90
- # end
91
- # end
92
-
93
-
42
+ describe '#all_values' do
43
+ it 'returns model enum values' do
44
+ expect(status_dimension.all_values).to match all_values
45
+ end
46
+ end
94
47
  end
@@ -49561,5 +49561,43768 @@
49561
49561
  WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
49562
49562
  ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
49563
49563
  END
49564
+ ) GROUP BY _active_reporter_dimension_created_at, _active_reporter_dimension_likes, _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
49565
+  (0.3ms) ROLLBACK
49566
+  (18.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
49567
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
49568
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
49569
+  (0.2ms) BEGIN
49570
+  (0.3ms) SAVEPOINT active_record_1
49571
+ Author Create (1.1ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.376417"], ["updated_at", "2020-11-11 04:00:27.376417"], ["name", "James Joyce"]]
49572
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49573
+ Author Load (0.5ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
49574
+  (0.2ms) SAVEPOINT active_record_1
49575
+ Post Create (0.7ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.421262"], ["updated_at", "2020-11-11 04:00:27.421262"], ["author_id", 1270], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
49576
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49577
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
49578
+  (0.3ms) SAVEPOINT active_record_1
49579
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.426785"], ["updated_at", "2020-11-11 04:00:27.426785"], ["author_id", 1270], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
49580
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49581
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
49582
+  (0.2ms) SAVEPOINT active_record_1
49583
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.431968"], ["updated_at", "2020-11-11 04:00:27.431968"], ["author_id", 1270], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
49584
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49585
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
49586
+  (0.2ms) SAVEPOINT active_record_1
49587
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.436146"], ["updated_at", "2020-11-11 04:00:27.436146"], ["author_id", 1270], ["status", 2], ["likes", 3]]
49588
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49589
+  (0.2ms) SAVEPOINT active_record_1
49590
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.440566"], ["updated_at", "2020-11-11 04:00:27.440566"], ["name", "Virginia Woolf"]]
49591
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49592
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
49593
+  (0.3ms) SAVEPOINT active_record_1
49594
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.446139"], ["updated_at", "2020-11-11 04:00:27.446139"], ["author_id", 1271], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
49595
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49596
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
49597
+  (0.2ms) SAVEPOINT active_record_1
49598
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.450460"], ["updated_at", "2020-11-11 04:00:27.450460"], ["author_id", 1271], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
49599
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49600
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
49601
+  (0.2ms) SAVEPOINT active_record_1
49602
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.455415"], ["updated_at", "2020-11-11 04:00:27.455415"], ["author_id", 1271], ["status", 2], ["likes", 3]]
49603
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49604
+  (0.2ms) SAVEPOINT active_record_1
49605
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.459003"], ["updated_at", "2020-11-11 04:00:27.459003"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
49606
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49607
+  (0.3ms) SAVEPOINT active_record_1
49608
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.462678"], ["updated_at", "2020-11-11 04:00:27.462678"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
49609
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49610
+ Post Load (37.7ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
49611
+  (12.5ms) SELECT MIN(posts.published_at) FROM "posts"
49612
+  (0.4ms) SELECT MAX(posts.published_at) FROM "posts"
49613
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
49614
+ Post Load (2.2ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
49615
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text UNION
49616
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text UNION
49617
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text
49618
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
49619
+ CASE
49620
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
49621
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
49622
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
49623
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
49624
+ END
49625
+ ) GROUP BY _active_reporter_dimension_published_at
49626
+  (0.5ms) SELECT MIN(posts.likes) FROM "posts"
49627
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
49628
+ Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
49629
+ Post Load (18.7ms) SELECT _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
49630
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
49631
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text UNION
49632
+ SELECT 3.0 AS min, 4.0 AS max, CAST('3.0,4.0' AS text) AS bin_text
49633
+ ) AS _active_reporter_dimension_likes_bin_table ON (
49634
+ CASE
49635
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
49636
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
49637
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
49638
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
49639
+ END
49640
+ ) GROUP BY _active_reporter_dimension_likes
49641
+  (0.3ms) ROLLBACK
49642
+  (0.1ms) BEGIN
49643
+  (0.2ms) SAVEPOINT active_record_1
49644
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.589999"], ["updated_at", "2020-11-11 04:00:27.589999"], ["name", "James Joyce"]]
49645
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49646
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
49647
+  (0.2ms) SAVEPOINT active_record_1
49648
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.592890"], ["updated_at", "2020-11-11 04:00:27.592890"], ["author_id", 1272], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
49649
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49650
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
49651
+  (0.3ms) SAVEPOINT active_record_1
49652
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.596650"], ["updated_at", "2020-11-11 04:00:27.596650"], ["author_id", 1272], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
49653
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49654
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
49655
+  (0.2ms) SAVEPOINT active_record_1
49656
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.600498"], ["updated_at", "2020-11-11 04:00:27.600498"], ["author_id", 1272], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
49657
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49658
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
49659
+  (0.2ms) SAVEPOINT active_record_1
49660
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.603774"], ["updated_at", "2020-11-11 04:00:27.603774"], ["author_id", 1272], ["status", 2], ["likes", 3]]
49661
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49662
+  (0.2ms) SAVEPOINT active_record_1
49663
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.606157"], ["updated_at", "2020-11-11 04:00:27.606157"], ["name", "Virginia Woolf"]]
49664
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49665
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
49666
+  (0.2ms) SAVEPOINT active_record_1
49667
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.608867"], ["updated_at", "2020-11-11 04:00:27.608867"], ["author_id", 1273], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
49668
+  (0.3ms) RELEASE SAVEPOINT active_record_1
49669
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
49670
+  (0.2ms) SAVEPOINT active_record_1
49671
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.612251"], ["updated_at", "2020-11-11 04:00:27.612251"], ["author_id", 1273], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
49672
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49673
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
49674
+  (0.2ms) SAVEPOINT active_record_1
49675
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.616285"], ["updated_at", "2020-11-11 04:00:27.616285"], ["author_id", 1273], ["status", 2], ["likes", 3]]
49676
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49677
+  (0.2ms) SAVEPOINT active_record_1
49678
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.618902"], ["updated_at", "2020-11-11 04:00:27.618902"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
49679
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49680
+  (0.1ms) SAVEPOINT active_record_1
49681
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.620977"], ["updated_at", "2020-11-11 04:00:27.620977"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
49682
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49683
+  (0.7ms) SELECT MIN(posts.published_at) FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id"
49684
+  (0.7ms) SELECT MAX(posts.published_at) FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id"
49685
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
49686
+ Post Load (1.7ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
49687
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text UNION
49688
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text UNION
49689
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text
49690
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
49691
+ CASE
49692
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
49693
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
49694
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
49695
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
49696
+ END
49697
+ ) GROUP BY _active_reporter_dimension_published_at, _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
49698
+  (0.4ms) ROLLBACK
49699
+  (0.2ms) BEGIN
49700
+  (0.3ms) SAVEPOINT active_record_1
49701
+ Author Create (0.5ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.648627"], ["updated_at", "2020-11-11 04:00:27.648627"], ["name", "James Joyce"]]
49702
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49703
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
49704
+  (0.3ms) SAVEPOINT active_record_1
49705
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.653406"], ["updated_at", "2020-11-11 04:00:27.653406"], ["author_id", 1274], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
49706
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49707
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
49708
+  (0.2ms) SAVEPOINT active_record_1
49709
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.657864"], ["updated_at", "2020-11-11 04:00:27.657864"], ["author_id", 1274], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
49710
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49711
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
49712
+  (0.2ms) SAVEPOINT active_record_1
49713
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.662205"], ["updated_at", "2020-11-11 04:00:27.662205"], ["author_id", 1274], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
49714
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49715
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
49716
+  (0.2ms) SAVEPOINT active_record_1
49717
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.666173"], ["updated_at", "2020-11-11 04:00:27.666173"], ["author_id", 1274], ["status", 2], ["likes", 3]]
49718
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49719
+  (0.2ms) SAVEPOINT active_record_1
49720
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.669598"], ["updated_at", "2020-11-11 04:00:27.669598"], ["name", "Virginia Woolf"]]
49721
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49722
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
49723
+  (0.2ms) SAVEPOINT active_record_1
49724
+ Post Create (6.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.673262"], ["updated_at", "2020-11-11 04:00:27.673262"], ["author_id", 1275], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
49725
+  (0.3ms) RELEASE SAVEPOINT active_record_1
49726
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
49727
+  (0.2ms) SAVEPOINT active_record_1
49728
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-11 04:00:27.682802"], ["updated_at", "2020-11-11 04:00:27.682802"], ["author_id", 1275], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
49729
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49730
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
49731
+  (0.2ms) SAVEPOINT active_record_1
49732
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.685985"], ["updated_at", "2020-11-11 04:00:27.685985"], ["author_id", 1275], ["status", 2], ["likes", 3]]
49733
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49734
+  (0.2ms) SAVEPOINT active_record_1
49735
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.688758"], ["updated_at", "2020-11-11 04:00:27.688758"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
49736
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49737
+  (0.2ms) SAVEPOINT active_record_1
49738
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.691046"], ["updated_at", "2020-11-11 04:00:27.691046"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
49739
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49740
+ Post Load (1.1ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author DESC NULLS LAST
49741
+  (0.5ms) SELECT MIN(posts.published_at) FROM "posts"
49742
+  (0.5ms) SELECT MAX(posts.published_at) FROM "posts"
49743
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
49744
+ Post Load (1.3ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
49745
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text UNION
49746
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text UNION
49747
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text
49748
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
49749
+ CASE
49750
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
49751
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
49752
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
49753
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
49754
+ END
49755
+ ) GROUP BY _active_reporter_dimension_published_at
49756
+ Post Load (1.0ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS LAST
49757
+ Post Load (1.0ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author DESC NULLS FIRST
49758
+  (0.5ms) SELECT MIN(posts.published_at) FROM "posts"
49759
+  (0.5ms) SELECT MAX(posts.published_at) FROM "posts"
49760
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
49761
+ Post Load (1.0ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
49762
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text UNION
49763
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text UNION
49764
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text
49765
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
49766
+ CASE
49767
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
49768
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
49769
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
49770
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
49771
+ END
49772
+ ) GROUP BY _active_reporter_dimension_published_at
49773
+  (0.6ms) SELECT MIN(posts.published_at) FROM "posts"
49774
+  (0.4ms) SELECT MAX(posts.published_at) FROM "posts"
49775
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.published_at IS NULL) LIMIT $1 [["LIMIT", 1]]
49776
+ Post Load (1.1ms) SELECT _active_reporter_dimension_published_at_bin_table.bin_text AS _active_reporter_dimension_published_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_total_likes, AVG(posts.likes) AS _report_aggregator_mean_likes, MIN(posts.likes) AS _report_aggregator_min_likes, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN (
49777
+ SELECT CAST(NULL AS timestamp with time zone) AS min, CAST(NULL AS timestamp with time zone) AS max, CAST(',' AS text) AS bin_text UNION
49778
+ SELECT CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-12-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-11-01 00:00:00 UTC,2015-12-01 00:00:00 UTC' AS text) AS bin_text UNION
49779
+ SELECT CAST('2015-10-01 00:00:00' AS timestamp with time zone) AS min, CAST('2015-11-01 00:00:00' AS timestamp with time zone) AS max, CAST('2015-10-01 00:00:00 UTC,2015-11-01 00:00:00 UTC' AS text) AS bin_text
49780
+ ) AS _active_reporter_dimension_published_at_bin_table ON (
49781
+ CASE
49782
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL AND _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at IS NULL)
49783
+ WHEN _active_reporter_dimension_published_at_bin_table.min IS NULL THEN (posts.published_at < _active_reporter_dimension_published_at_bin_table.max)
49784
+ WHEN _active_reporter_dimension_published_at_bin_table.max IS NULL THEN (posts.published_at >= _active_reporter_dimension_published_at_bin_table.min)
49785
+ ELSE ((posts.published_at >= _active_reporter_dimension_published_at_bin_table.min) AND (posts.published_at < _active_reporter_dimension_published_at_bin_table.max))
49786
+ END
49787
+ ) GROUP BY _active_reporter_dimension_published_at
49788
+  (0.3ms) ROLLBACK
49789
+  (0.1ms) BEGIN
49790
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
49791
+  (0.3ms) SAVEPOINT active_record_1
49792
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.745466"], ["updated_at", "2020-11-11 04:00:27.745466"], ["name", "Alice"]]
49793
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49794
+  (0.2ms) SAVEPOINT active_record_1
49795
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.747891"], ["updated_at", "2020-11-11 04:00:27.747891"], ["author_id", 1276], ["status", 2], ["likes", 3]]
49796
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49797
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
49798
+  (0.2ms) SAVEPOINT active_record_1
49799
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.751052"], ["updated_at", "2020-11-11 04:00:27.751052"], ["author_id", 1276], ["status", 2], ["likes", 2]]
49800
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49801
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49802
+  (0.1ms) SAVEPOINT active_record_1
49803
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.754248"], ["updated_at", "2020-11-11 04:00:27.754248"], ["name", "Bob"]]
49804
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49805
+  (0.2ms) SAVEPOINT active_record_1
49806
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.756233"], ["updated_at", "2020-11-11 04:00:27.756233"], ["author_id", 1277], ["status", 2], ["likes", 4]]
49807
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49808
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49809
+  (0.2ms) SAVEPOINT active_record_1
49810
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.759403"], ["updated_at", "2020-11-11 04:00:27.759403"], ["author_id", 1277], ["status", 2], ["likes", 1]]
49811
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49812
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49813
+  (0.2ms) SAVEPOINT active_record_1
49814
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.763082"], ["updated_at", "2020-11-11 04:00:27.763082"], ["author_id", 1277], ["status", 2], ["likes", 5]]
49815
+  (0.5ms) RELEASE SAVEPOINT active_record_1
49816
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
49817
+  (0.2ms) SAVEPOINT active_record_1
49818
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.767068"], ["updated_at", "2020-11-11 04:00:27.767068"], ["name", "Chester"]]
49819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49820
+  (0.1ms) SAVEPOINT active_record_1
49821
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.768791"], ["updated_at", "2020-11-11 04:00:27.768791"], ["author_id", 1278], ["status", 2], ["likes", 10]]
49822
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49823
+ Post Load (6.4ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
49824
+  (0.2ms) ROLLBACK
49825
+  (0.2ms) BEGIN
49826
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
49827
+  (0.2ms) SAVEPOINT active_record_1
49828
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.781487"], ["updated_at", "2020-11-11 04:00:27.781487"], ["name", "Alice"]]
49829
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49830
+  (0.2ms) SAVEPOINT active_record_1
49831
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.783293"], ["updated_at", "2020-11-11 04:00:27.783293"], ["author_id", 1279], ["status", 2], ["likes", 3]]
49832
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49833
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
49834
+  (0.2ms) SAVEPOINT active_record_1
49835
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.786430"], ["updated_at", "2020-11-11 04:00:27.786430"], ["author_id", 1279], ["status", 2], ["likes", 2]]
49836
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49837
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49838
+  (0.2ms) SAVEPOINT active_record_1
49839
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.789297"], ["updated_at", "2020-11-11 04:00:27.789297"], ["name", "Bob"]]
49840
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49841
+  (0.2ms) SAVEPOINT active_record_1
49842
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.791127"], ["updated_at", "2020-11-11 04:00:27.791127"], ["author_id", 1280], ["status", 2], ["likes", 4]]
49843
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49844
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49845
+  (0.2ms) SAVEPOINT active_record_1
49846
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.794507"], ["updated_at", "2020-11-11 04:00:27.794507"], ["author_id", 1280], ["status", 2], ["likes", 1]]
49847
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49848
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49849
+  (0.2ms) SAVEPOINT active_record_1
49850
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.798204"], ["updated_at", "2020-11-11 04:00:27.798204"], ["author_id", 1280], ["status", 2], ["likes", 5]]
49851
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49852
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
49853
+  (0.2ms) SAVEPOINT active_record_1
49854
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.801551"], ["updated_at", "2020-11-11 04:00:27.801551"], ["name", "Chester"]]
49855
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49856
+  (0.2ms) SAVEPOINT active_record_1
49857
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.803487"], ["updated_at", "2020-11-11 04:00:27.803487"], ["author_id", 1281], ["status", 2], ["likes", 10]]
49858
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49859
+ Post Load (0.6ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
49860
+  (0.2ms) ROLLBACK
49861
+  (0.2ms) BEGIN
49862
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
49863
+  (0.2ms) SAVEPOINT active_record_1
49864
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.810722"], ["updated_at", "2020-11-11 04:00:27.810722"], ["name", "Alice"]]
49865
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49866
+  (0.2ms) SAVEPOINT active_record_1
49867
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.812793"], ["updated_at", "2020-11-11 04:00:27.812793"], ["author_id", 1282], ["status", 2], ["likes", 3]]
49868
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49869
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
49870
+  (0.2ms) SAVEPOINT active_record_1
49871
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.816533"], ["updated_at", "2020-11-11 04:00:27.816533"], ["author_id", 1282], ["status", 2], ["likes", 2]]
49872
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49873
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49874
+  (0.2ms) SAVEPOINT active_record_1
49875
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.819848"], ["updated_at", "2020-11-11 04:00:27.819848"], ["name", "Bob"]]
49876
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49877
+  (0.2ms) SAVEPOINT active_record_1
49878
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.821727"], ["updated_at", "2020-11-11 04:00:27.821727"], ["author_id", 1283], ["status", 2], ["likes", 4]]
49879
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49880
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49881
+  (0.2ms) SAVEPOINT active_record_1
49882
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.824707"], ["updated_at", "2020-11-11 04:00:27.824707"], ["author_id", 1283], ["status", 2], ["likes", 1]]
49883
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49884
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49885
+  (0.2ms) SAVEPOINT active_record_1
49886
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.827918"], ["updated_at", "2020-11-11 04:00:27.827918"], ["author_id", 1283], ["status", 2], ["likes", 5]]
49887
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49888
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
49889
+  (0.2ms) SAVEPOINT active_record_1
49890
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.831299"], ["updated_at", "2020-11-11 04:00:27.831299"], ["name", "Chester"]]
49891
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49892
+  (0.1ms) SAVEPOINT active_record_1
49893
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.833014"], ["updated_at", "2020-11-11 04:00:27.833014"], ["author_id", 1284], ["status", 2], ["likes", 10]]
49894
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49895
+ Post Load (0.8ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
49896
+  (0.3ms) ROLLBACK
49897
+  (0.2ms) BEGIN
49898
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
49899
+  (0.2ms) SAVEPOINT active_record_1
49900
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.840223"], ["updated_at", "2020-11-11 04:00:27.840223"], ["name", "Alice"]]
49901
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49902
+  (0.5ms) SAVEPOINT active_record_1
49903
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.842613"], ["updated_at", "2020-11-11 04:00:27.842613"], ["author_id", 1285], ["status", 2], ["likes", 3]]
49904
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49905
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
49906
+  (0.2ms) SAVEPOINT active_record_1
49907
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.846449"], ["updated_at", "2020-11-11 04:00:27.846449"], ["author_id", 1285], ["status", 2], ["likes", 2]]
49908
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49909
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49910
+  (0.1ms) SAVEPOINT active_record_1
49911
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.849756"], ["updated_at", "2020-11-11 04:00:27.849756"], ["name", "Bob"]]
49912
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49913
+  (0.2ms) SAVEPOINT active_record_1
49914
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.851685"], ["updated_at", "2020-11-11 04:00:27.851685"], ["author_id", 1286], ["status", 2], ["likes", 4]]
49915
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49916
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49917
+  (0.2ms) SAVEPOINT active_record_1
49918
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.854798"], ["updated_at", "2020-11-11 04:00:27.854798"], ["author_id", 1286], ["status", 2], ["likes", 1]]
49919
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49920
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49921
+  (0.2ms) SAVEPOINT active_record_1
49922
+ Post Create (0.7ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.858041"], ["updated_at", "2020-11-11 04:00:27.858041"], ["author_id", 1286], ["status", 2], ["likes", 5]]
49923
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49924
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
49925
+  (0.1ms) SAVEPOINT active_record_1
49926
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.862078"], ["updated_at", "2020-11-11 04:00:27.862078"], ["name", "Chester"]]
49927
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49928
+  (0.1ms) SAVEPOINT active_record_1
49929
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.863766"], ["updated_at", "2020-11-11 04:00:27.863766"], ["author_id", 1287], ["status", 2], ["likes", 10]]
49930
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49931
+ Post Load (0.6ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
49932
+  (0.2ms) ROLLBACK
49933
+  (0.1ms) BEGIN
49934
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
49935
+  (0.2ms) SAVEPOINT active_record_1
49936
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.870765"], ["updated_at", "2020-11-11 04:00:27.870765"], ["name", "Alice"]]
49937
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49938
+  (0.1ms) SAVEPOINT active_record_1
49939
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.872591"], ["updated_at", "2020-11-11 04:00:27.872591"], ["author_id", 1288], ["status", 2], ["likes", 3]]
49940
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49941
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
49942
+  (0.2ms) SAVEPOINT active_record_1
49943
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.875666"], ["updated_at", "2020-11-11 04:00:27.875666"], ["author_id", 1288], ["status", 2], ["likes", 2]]
49944
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49945
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49946
+  (0.2ms) SAVEPOINT active_record_1
49947
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.879143"], ["updated_at", "2020-11-11 04:00:27.879143"], ["name", "Bob"]]
49948
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49949
+  (0.2ms) SAVEPOINT active_record_1
49950
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.880815"], ["updated_at", "2020-11-11 04:00:27.880815"], ["author_id", 1289], ["status", 2], ["likes", 4]]
49951
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49952
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49953
+  (0.2ms) SAVEPOINT active_record_1
49954
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.883827"], ["updated_at", "2020-11-11 04:00:27.883827"], ["author_id", 1289], ["status", 2], ["likes", 1]]
49955
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49956
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49957
+  (0.2ms) SAVEPOINT active_record_1
49958
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.887008"], ["updated_at", "2020-11-11 04:00:27.887008"], ["author_id", 1289], ["status", 2], ["likes", 5]]
49959
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49960
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
49961
+  (0.2ms) SAVEPOINT active_record_1
49962
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.890009"], ["updated_at", "2020-11-11 04:00:27.890009"], ["name", "Chester"]]
49963
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49964
+  (0.1ms) SAVEPOINT active_record_1
49965
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.891824"], ["updated_at", "2020-11-11 04:00:27.891824"], ["author_id", 1290], ["status", 2], ["likes", 10]]
49966
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49967
+ Post Load (0.6ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
49968
+  (0.3ms) ROLLBACK
49969
+  (0.1ms) BEGIN
49970
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
49971
+  (0.1ms) SAVEPOINT active_record_1
49972
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.899651"], ["updated_at", "2020-11-11 04:00:27.899651"], ["name", "Alice"]]
49973
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49974
+  (0.2ms) SAVEPOINT active_record_1
49975
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.901614"], ["updated_at", "2020-11-11 04:00:27.901614"], ["author_id", 1291], ["status", 2], ["likes", 3]]
49976
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49977
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
49978
+  (0.2ms) SAVEPOINT active_record_1
49979
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.906070"], ["updated_at", "2020-11-11 04:00:27.906070"], ["author_id", 1291], ["status", 2], ["likes", 2]]
49980
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49981
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49982
+  (0.2ms) SAVEPOINT active_record_1
49983
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.909253"], ["updated_at", "2020-11-11 04:00:27.909253"], ["name", "Bob"]]
49984
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49985
+  (0.2ms) SAVEPOINT active_record_1
49986
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.911012"], ["updated_at", "2020-11-11 04:00:27.911012"], ["author_id", 1292], ["status", 2], ["likes", 4]]
49987
+  (0.2ms) RELEASE SAVEPOINT active_record_1
49988
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49989
+  (0.2ms) SAVEPOINT active_record_1
49990
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.914253"], ["updated_at", "2020-11-11 04:00:27.914253"], ["author_id", 1292], ["status", 2], ["likes", 1]]
49991
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49992
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
49993
+  (0.1ms) SAVEPOINT active_record_1
49994
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.917198"], ["updated_at", "2020-11-11 04:00:27.917198"], ["author_id", 1292], ["status", 2], ["likes", 5]]
49995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
49996
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
49997
+  (0.2ms) SAVEPOINT active_record_1
49998
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.919920"], ["updated_at", "2020-11-11 04:00:27.919920"], ["name", "Chester"]]
49999
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50000
+  (0.1ms) SAVEPOINT active_record_1
50001
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-11 04:00:27.921554"], ["updated_at", "2020-11-11 04:00:27.921554"], ["author_id", 1293], ["status", 2], ["likes", 10]]
50002
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50003
+ Post Load (0.7ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
50004
+  (0.2ms) ROLLBACK
50005
+  (0.2ms) BEGIN
50006
+  (0.2ms) ROLLBACK
50007
+  (0.1ms) BEGIN
50008
+  (0.1ms) ROLLBACK
50009
+  (0.1ms) BEGIN
50010
+  (0.1ms) ROLLBACK
50011
+  (0.2ms) BEGIN
50012
+  (0.2ms) ROLLBACK
50013
+  (0.2ms) BEGIN
50014
+  (0.2ms) ROLLBACK
50015
+  (0.2ms) BEGIN
50016
+  (0.1ms) ROLLBACK
50017
+  (0.1ms) BEGIN
50018
+  (0.2ms) ROLLBACK
50019
+  (0.2ms) BEGIN
50020
+  (0.1ms) ROLLBACK
50021
+  (0.2ms) BEGIN
50022
+  (0.2ms) ROLLBACK
50023
+  (0.1ms) BEGIN
50024
+  (0.1ms) ROLLBACK
50025
+  (0.1ms) BEGIN
50026
+  (0.1ms) ROLLBACK
50027
+  (0.1ms) BEGIN
50028
+  (0.2ms) ROLLBACK
50029
+  (0.1ms) BEGIN
50030
+  (0.2ms) ROLLBACK
50031
+  (0.3ms) BEGIN
50032
+  (0.1ms) ROLLBACK
50033
+  (0.1ms) BEGIN
50034
+  (0.2ms) ROLLBACK
50035
+  (0.2ms) BEGIN
50036
+  (0.2ms) ROLLBACK
50037
+  (0.2ms) BEGIN
50038
+  (0.2ms) ROLLBACK
50039
+  (0.2ms) BEGIN
50040
+  (0.2ms) ROLLBACK
50041
+  (0.1ms) BEGIN
50042
+  (0.1ms) ROLLBACK
50043
+  (0.1ms) BEGIN
50044
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
50045
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
50046
+  (0.2ms) SAVEPOINT active_record_1
50047
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-11 04:00:27.961573"], ["updated_at", "2020-11-11 04:00:27.961573"], ["status", 2], ["likes", 3]]
50048
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50049
+  (0.2ms) SAVEPOINT active_record_1
50050
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-11 04:00:27.964515"], ["updated_at", "2020-11-11 04:00:27.964515"], ["status", 2], ["likes", 10]]
50051
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50052
+  (0.2ms) SAVEPOINT active_record_1
50053
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-11 04:00:27.966818"], ["updated_at", "2020-11-11 04:00:27.966818"], ["status", 2], ["likes", 1]]
50054
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50055
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
50056
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
50057
+  (0.2ms) ROLLBACK
50058
+  (0.2ms) BEGIN
50059
+  (0.3ms) ROLLBACK
50060
+  (0.1ms) BEGIN
50061
+  (0.2ms) SAVEPOINT active_record_1
50062
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-11 04:00:27.985124"], ["updated_at", "2020-11-11 04:00:27.985124"], ["status", 2], ["likes", 2]]
50063
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50064
+  (0.5ms) SELECT MAX(posts.likes) FROM "posts"
50065
+ Post Exists? (0.4ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
50066
+  (0.2ms) ROLLBACK
50067
+  (0.2ms) BEGIN
50068
+  (0.2ms) ROLLBACK
50069
+  (0.2ms) BEGIN
50070
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
50071
+  (0.2ms) SAVEPOINT active_record_1
50072
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.994588"], ["updated_at", "2020-11-11 04:00:27.994588"], ["name", "Alice"]]
50073
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50074
+  (0.1ms) SAVEPOINT active_record_1
50075
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-11 04:00:27.996777"], ["updated_at", "2020-11-11 04:00:27.996777"], ["author_id", 1294], ["status", 2]]
50076
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50077
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
50078
+  (0.2ms) SAVEPOINT active_record_1
50079
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:27.999822"], ["updated_at", "2020-11-11 04:00:27.999822"], ["name", "Bob"]]
50080
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50081
+  (0.2ms) SAVEPOINT active_record_1
50082
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-11 04:00:28.001679"], ["updated_at", "2020-11-11 04:00:28.001679"], ["author_id", 1295], ["status", 2]]
50083
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50084
+  (0.2ms) SAVEPOINT active_record_1
50085
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.004373"], ["updated_at", "2020-11-11 04:00:28.004373"], ["status", 2]]
50086
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50087
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice'))
50088
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL))
50089
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice'))
50090
+ Post Load (0.8ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob'))
50091
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))
50092
+  (0.2ms) ROLLBACK
50093
+  (0.1ms) BEGIN
50094
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
50095
+  (0.2ms) SAVEPOINT active_record_1
50096
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.020314"], ["updated_at", "2020-11-11 04:00:28.020314"], ["name", "Alice"]]
50097
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50098
+  (0.1ms) SAVEPOINT active_record_1
50099
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-11 04:00:28.022407"], ["updated_at", "2020-11-11 04:00:28.022407"], ["author_id", 1296], ["status", 2]]
50100
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50101
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
50102
+  (0.2ms) SAVEPOINT active_record_1
50103
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-11 04:00:28.034260"], ["updated_at", "2020-11-11 04:00:28.034260"], ["author_id", 1296], ["status", 2]]
50104
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50105
+  (0.2ms) SAVEPOINT active_record_1
50106
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.036784"], ["updated_at", "2020-11-11 04:00:28.036784"], ["status", 2]]
50107
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50108
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
50109
+  (0.2ms) SAVEPOINT active_record_1
50110
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.040557"], ["updated_at", "2020-11-11 04:00:28.040557"], ["name", "Bob"]]
50111
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50112
+  (0.2ms) SAVEPOINT active_record_1
50113
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-11 04:00:28.042489"], ["updated_at", "2020-11-11 04:00:28.042489"], ["author_id", 1297], ["status", 2]]
50114
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50115
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
50116
+  (0.2ms) SAVEPOINT active_record_1
50117
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-11 04:00:28.046209"], ["updated_at", "2020-11-11 04:00:28.046209"], ["author_id", 1297], ["status", 2]]
50118
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50119
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
50120
+  (0.2ms) SAVEPOINT active_record_1
50121
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-11 04:00:28.049884"], ["updated_at", "2020-11-11 04:00:28.049884"], ["author_id", 1297], ["status", 2]]
50122
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50123
+ Post Load (0.8ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
50124
+  (0.2ms) ROLLBACK
50125
+  (0.2ms) BEGIN
50126
+  (0.2ms) ROLLBACK
50127
+  (0.2ms) BEGIN
50128
+  (0.2ms) ROLLBACK
50129
+  (0.1ms) BEGIN
50130
+  (0.2ms) ROLLBACK
50131
+  (0.2ms) BEGIN
50132
+  (0.2ms) ROLLBACK
50133
+  (0.2ms) BEGIN
50134
+  (0.2ms) ROLLBACK
50135
+  (0.2ms) BEGIN
50136
+  (0.2ms) ROLLBACK
50137
+  (0.2ms) BEGIN
50138
+  (0.2ms) ROLLBACK
50139
+  (0.2ms) BEGIN
50140
+  (0.3ms) ROLLBACK
50141
+  (0.2ms) BEGIN
50142
+  (0.3ms) ROLLBACK
50143
+  (0.2ms) BEGIN
50144
+  (0.2ms) ROLLBACK
50145
+  (0.2ms) BEGIN
50146
+  (0.3ms) ROLLBACK
50147
+  (0.2ms) BEGIN
50148
+  (0.3ms) ROLLBACK
50149
+  (0.2ms) BEGIN
50150
+  (0.1ms) ROLLBACK
50151
+  (0.2ms) BEGIN
50152
+  (0.2ms) ROLLBACK
50153
+  (0.1ms) BEGIN
50154
+  (0.2ms) ROLLBACK
50155
+  (0.2ms) BEGIN
50156
+  (0.1ms) ROLLBACK
50157
+  (0.1ms) BEGIN
50158
+  (0.2ms) ROLLBACK
50159
+  (0.2ms) BEGIN
50160
+  (0.2ms) ROLLBACK
50161
+  (0.2ms) BEGIN
50162
+  (0.2ms) ROLLBACK
50163
+  (0.2ms) BEGIN
50164
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50165
+  (0.2ms) SAVEPOINT active_record_1
50166
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.109925"], ["updated_at", "2020-11-11 04:00:28.109925"], ["name", "Tammy"]]
50167
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50168
+  (0.2ms) SAVEPOINT active_record_1
50169
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-11-11 04:00:28.111912"], ["author_id", 1298], ["status", 2], ["likes", 23]]
50170
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50171
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50172
+  (0.2ms) SAVEPOINT active_record_1
50173
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.115548"], ["author_id", 1298], ["status", 2], ["likes", 7]]
50174
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50175
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50176
+  (0.2ms) SAVEPOINT active_record_1
50177
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-11-11 04:00:28.119013"], ["author_id", 1298], ["status", 2], ["likes", 4]]
50178
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50179
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50180
+  (0.2ms) SAVEPOINT active_record_1
50181
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-11-11 04:00:28.122404"], ["author_id", 1298], ["status", 2], ["likes", 11]]
50182
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50183
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50184
+  (0.3ms) SAVEPOINT active_record_1
50185
+ Author Create (0.7ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.126341"], ["updated_at", "2020-11-11 04:00:28.126341"], ["name", "Timmy"]]
50186
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50187
+  (0.2ms) SAVEPOINT active_record_1
50188
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-11-11 04:00:28.129332"], ["author_id", 1299], ["status", 2], ["likes", 3]]
50189
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50190
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50191
+  (0.2ms) SAVEPOINT active_record_1
50192
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-11-11 04:00:28.132863"], ["author_id", 1299], ["status", 2], ["likes", 24]]
50193
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50194
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50195
+  (0.2ms) SAVEPOINT active_record_1
50196
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-11-11 04:00:28.136453"], ["author_id", 1299], ["status", 2]]
50197
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50198
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50199
+  (0.2ms) SAVEPOINT active_record_1
50200
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.140200"], ["author_id", 1299], ["status", 2], ["likes", 19]]
50201
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50202
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50203
+  (0.2ms) SAVEPOINT active_record_1
50204
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-11-11 04:00:28.144184"], ["author_id", 1299], ["status", 2], ["likes", 8]]
50205
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50206
+  (7.0ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
50207
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
50208
+ Post Load (1.6ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
50209
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
50210
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
50211
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
50212
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
50213
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
50214
+ CASE
50215
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
50216
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
50217
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
50218
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
50219
+ END
50220
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
50221
+  (0.3ms) ROLLBACK
50222
+  (0.2ms) BEGIN
50223
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50224
+  (0.3ms) SAVEPOINT active_record_1
50225
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.173453"], ["updated_at", "2020-11-11 04:00:28.173453"], ["name", "Tammy"]]
50226
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50227
+  (0.2ms) SAVEPOINT active_record_1
50228
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-11-11 04:00:28.177072"], ["author_id", 1300], ["status", 2], ["likes", 23]]
50229
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50230
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50231
+  (0.1ms) SAVEPOINT active_record_1
50232
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.180687"], ["author_id", 1300], ["status", 2], ["likes", 7]]
50233
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50234
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50235
+  (0.2ms) SAVEPOINT active_record_1
50236
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-11-11 04:00:28.183630"], ["author_id", 1300], ["status", 2], ["likes", 4]]
50237
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50238
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50239
+  (0.2ms) SAVEPOINT active_record_1
50240
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-11-11 04:00:28.186927"], ["author_id", 1300], ["status", 2], ["likes", 11]]
50241
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50242
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50243
+  (0.3ms) SAVEPOINT active_record_1
50244
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.190346"], ["updated_at", "2020-11-11 04:00:28.190346"], ["name", "Timmy"]]
50245
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50246
+  (0.2ms) SAVEPOINT active_record_1
50247
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-11-11 04:00:28.192797"], ["author_id", 1301], ["status", 2], ["likes", 3]]
50248
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50249
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50250
+  (0.2ms) SAVEPOINT active_record_1
50251
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-11-11 04:00:28.196885"], ["author_id", 1301], ["status", 2], ["likes", 24]]
50252
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50253
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50254
+  (0.2ms) SAVEPOINT active_record_1
50255
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-11-11 04:00:28.200457"], ["author_id", 1301], ["status", 2]]
50256
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50257
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50258
+  (0.2ms) SAVEPOINT active_record_1
50259
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.203402"], ["author_id", 1301], ["status", 2], ["likes", 19]]
50260
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50261
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50262
+  (0.1ms) SAVEPOINT active_record_1
50263
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-11-11 04:00:28.206717"], ["author_id", 1301], ["status", 2], ["likes", 8]]
50264
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50265
+  (0.9ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
50266
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
50267
+ Post Load (1.5ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
50268
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
50269
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
50270
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
50271
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
50272
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
50273
+ CASE
50274
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
50275
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
50276
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
50277
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
50278
+ END
50279
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
50280
+  (0.3ms) ROLLBACK
50281
+  (0.2ms) BEGIN
50282
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50283
+  (0.2ms) SAVEPOINT active_record_1
50284
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.229016"], ["updated_at", "2020-11-11 04:00:28.229016"], ["name", "Tammy"]]
50285
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50286
+  (0.1ms) SAVEPOINT active_record_1
50287
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-11-11 04:00:28.230613"], ["author_id", 1302], ["status", 2], ["likes", 23]]
50288
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50289
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50290
+  (0.2ms) SAVEPOINT active_record_1
50291
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.233930"], ["author_id", 1302], ["status", 2], ["likes", 7]]
50292
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50293
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50294
+  (0.1ms) SAVEPOINT active_record_1
50295
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-11-11 04:00:28.237254"], ["author_id", 1302], ["status", 2], ["likes", 4]]
50296
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50297
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50298
+  (0.1ms) SAVEPOINT active_record_1
50299
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-11-11 04:00:28.239953"], ["author_id", 1302], ["status", 2], ["likes", 11]]
50300
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50301
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50302
+  (0.2ms) SAVEPOINT active_record_1
50303
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.243012"], ["updated_at", "2020-11-11 04:00:28.243012"], ["name", "Timmy"]]
50304
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50305
+  (0.2ms) SAVEPOINT active_record_1
50306
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-11-11 04:00:28.245037"], ["author_id", 1303], ["status", 2], ["likes", 3]]
50307
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50308
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50309
+  (0.2ms) SAVEPOINT active_record_1
50310
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-11-11 04:00:28.248584"], ["author_id", 1303], ["status", 2], ["likes", 24]]
50311
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50312
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50313
+  (0.1ms) SAVEPOINT active_record_1
50314
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-11-11 04:00:28.251518"], ["author_id", 1303], ["status", 2]]
50315
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50316
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50317
+  (0.2ms) SAVEPOINT active_record_1
50318
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.254731"], ["author_id", 1303], ["status", 2], ["likes", 19]]
50319
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50320
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50321
+  (0.2ms) SAVEPOINT active_record_1
50322
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-11-11 04:00:28.258133"], ["author_id", 1303], ["status", 2], ["likes", 8]]
50323
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50324
+  (0.6ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
50325
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
50326
+ Post Load (1.5ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
50327
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
50328
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
50329
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
50330
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
50331
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
50332
+ CASE
50333
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
50334
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
50335
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
50336
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
50337
+ END
50338
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
50339
+  (0.3ms) ROLLBACK
50340
+  (0.2ms) BEGIN
50341
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50342
+  (0.2ms) SAVEPOINT active_record_1
50343
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.281592"], ["updated_at", "2020-11-11 04:00:28.281592"], ["name", "Tammy"]]
50344
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50345
+  (0.1ms) SAVEPOINT active_record_1
50346
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-11-11 04:00:28.283707"], ["author_id", 1304], ["status", 2], ["likes", 23]]
50347
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50348
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50349
+  (0.2ms) SAVEPOINT active_record_1
50350
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.286641"], ["author_id", 1304], ["status", 2], ["likes", 7]]
50351
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50352
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50353
+  (0.2ms) SAVEPOINT active_record_1
50354
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-11-11 04:00:28.290103"], ["author_id", 1304], ["status", 2], ["likes", 4]]
50355
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50356
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50357
+  (0.2ms) SAVEPOINT active_record_1
50358
+ Post Create (0.7ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-11-11 04:00:28.293972"], ["author_id", 1304], ["status", 2], ["likes", 11]]
50359
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50360
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50361
+  (0.2ms) SAVEPOINT active_record_1
50362
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.298797"], ["updated_at", "2020-11-11 04:00:28.298797"], ["name", "Timmy"]]
50363
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50364
+  (0.1ms) SAVEPOINT active_record_1
50365
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-11-11 04:00:28.300899"], ["author_id", 1305], ["status", 2], ["likes", 3]]
50366
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50367
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50368
+  (0.2ms) SAVEPOINT active_record_1
50369
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-11-11 04:00:28.304180"], ["author_id", 1305], ["status", 2], ["likes", 24]]
50370
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50371
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50372
+  (0.2ms) SAVEPOINT active_record_1
50373
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-11-11 04:00:28.307821"], ["author_id", 1305], ["status", 2]]
50374
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50375
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50376
+  (0.3ms) SAVEPOINT active_record_1
50377
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.311710"], ["author_id", 1305], ["status", 2], ["likes", 19]]
50378
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50379
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50380
+  (0.2ms) SAVEPOINT active_record_1
50381
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-11-11 04:00:28.316196"], ["author_id", 1305], ["status", 2], ["likes", 8]]
50382
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50383
+  (0.6ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
50384
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
50385
+ Post Load (1.5ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
50386
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
50387
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
50388
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
50389
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
50390
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
50391
+ CASE
50392
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
50393
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
50394
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
50395
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
50396
+ END
50397
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
50398
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
50399
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
50400
+  (0.2ms) ROLLBACK
50401
+  (0.2ms) BEGIN
50402
+ Author Load (0.7ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50403
+  (0.2ms) SAVEPOINT active_record_1
50404
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.348219"], ["updated_at", "2020-11-11 04:00:28.348219"], ["name", "Tammy"]]
50405
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50406
+  (0.2ms) SAVEPOINT active_record_1
50407
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2018-12-18 00:00:00"], ["updated_at", "2020-11-11 04:00:28.351282"], ["author_id", 1306], ["status", 2], ["likes", 23]]
50408
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50409
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50410
+  (0.2ms) SAVEPOINT active_record_1
50411
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.355837"], ["author_id", 1306], ["status", 2], ["likes", 7]]
50412
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50413
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50414
+  (0.2ms) SAVEPOINT active_record_1
50415
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-11-11 04:00:28.359950"], ["author_id", 1306], ["status", 2], ["likes", 4]]
50416
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50417
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50418
+  (0.3ms) SAVEPOINT active_record_1
50419
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-08 00:00:00"], ["updated_at", "2020-11-11 04:00:28.364576"], ["author_id", 1306], ["status", 2], ["likes", 11]]
50420
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50421
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50422
+  (0.3ms) SAVEPOINT active_record_1
50423
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.368463"], ["updated_at", "2020-11-11 04:00:28.368463"], ["name", "Timmy"]]
50424
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50425
+  (0.1ms) SAVEPOINT active_record_1
50426
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-11-11 04:00:28.370769"], ["author_id", 1307], ["status", 2], ["likes", 3]]
50427
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50428
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50429
+  (0.2ms) SAVEPOINT active_record_1
50430
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-02-27 00:00:00"], ["updated_at", "2020-11-11 04:00:28.374025"], ["author_id", 1307], ["status", 2], ["likes", 24]]
50431
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50432
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50433
+  (0.2ms) SAVEPOINT active_record_1
50434
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-02-28 00:00:00"], ["updated_at", "2020-11-11 04:00:28.377659"], ["author_id", 1307], ["status", 2]]
50435
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50436
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50437
+  (0.1ms) SAVEPOINT active_record_1
50438
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.381996"], ["author_id", 1307], ["status", 2], ["likes", 19]]
50439
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50440
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50441
+  (0.3ms) SAVEPOINT active_record_1
50442
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-04-08 00:00:00"], ["updated_at", "2020-11-11 04:00:28.385315"], ["author_id", 1307], ["status", 2], ["likes", 8]]
50443
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50444
+  (0.5ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00')
50445
+ Post Exists? (0.5ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (posts.created_at >= '2019-01-01 00:00:00') AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
50446
+ Post Exists? (0.8ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) AND (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
50447
+ Post Load (1.2ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
50448
+ SELECT CAST('2018-12-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS max, CAST('2018-12-01 00:00:00 UTC,2019-01-01 00:00:00 UTC' AS text) AS bin_text
50449
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
50450
+ CASE
50451
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
50452
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
50453
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
50454
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
50455
+ END
50456
+ ) WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST LIMIT $1 [["LIMIT", 1]]
50457
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
50458
+ SELECT CAST('2018-12-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS max, CAST('2018-12-01 00:00:00 UTC,2019-01-01 00:00:00 UTC' AS text) AS bin_text
50459
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
50460
+ CASE
50461
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
50462
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
50463
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
50464
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
50465
+ END
50466
+ ) WHERE ((posts.created_at >= '2018-12-01 00:00:00' AND posts.created_at < '2019-01-01 00:00:00')) GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
50467
+ Post Load (1.2ms) SELECT authors.name AS _active_reporter_dimension_author, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN (
50468
+ SELECT CAST('2019-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-01-01 00:00:00 UTC,2019-02-01 00:00:00 UTC' AS text) AS bin_text UNION
50469
+ SELECT CAST('2019-02-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-02-01 00:00:00 UTC,2019-03-01 00:00:00 UTC' AS text) AS bin_text UNION
50470
+ SELECT CAST('2019-03-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-03-01 00:00:00 UTC,2019-04-01 00:00:00 UTC' AS text) AS bin_text UNION
50471
+ SELECT CAST('2019-04-01 00:00:00' AS timestamp with time zone) AS min, CAST('2019-05-01 00:00:00' AS timestamp with time zone) AS max, CAST('2019-04-01 00:00:00 UTC,2019-05-01 00:00:00 UTC' AS text) AS bin_text
50472
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
50473
+ CASE
50474
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
50475
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
50476
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
50477
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
50478
+ END
50479
+ ) WHERE (posts.created_at >= '2019-01-01 00:00:00') GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_author ASC NULLS FIRST
50480
+  (0.3ms) ROLLBACK
50481
+  (0.2ms) BEGIN
50482
+  (0.2ms) ROLLBACK
50483
+  (0.2ms) BEGIN
50484
+  (0.2ms) ROLLBACK
50485
+  (0.1ms) BEGIN
50486
+  (0.2ms) ROLLBACK
50487
+  (0.2ms) BEGIN
50488
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
50489
+  (0.2ms) SAVEPOINT active_record_1
50490
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.423525"], ["updated_at", "2020-11-11 04:00:28.423525"], ["name", "Phil"]]
50491
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50492
+  (0.2ms) SAVEPOINT active_record_1
50493
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.425384"], ["author_id", 1308], ["status", 2]]
50494
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50495
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
50496
+  (0.2ms) SAVEPOINT active_record_1
50497
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.429268"], ["author_id", 1308], ["status", 2]]
50498
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50499
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
50500
+  (0.2ms) SAVEPOINT active_record_1
50501
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.433209"], ["updated_at", "2020-11-11 04:00:28.433209"], ["name", "Phyllis"]]
50502
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50503
+  (0.2ms) SAVEPOINT active_record_1
50504
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.435483"], ["author_id", 1309], ["status", 2]]
50505
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50506
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
50507
+  (0.2ms) SAVEPOINT active_record_1
50508
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.439056"], ["author_id", 1309], ["status", 2]]
50509
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50510
+ Post Load (0.3ms) SELECT "posts".* FROM "posts"
50511
+  (0.3ms) ROLLBACK
50512
+  (0.1ms) BEGIN
50513
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
50514
+  (0.2ms) SAVEPOINT active_record_1
50515
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.446609"], ["updated_at", "2020-11-11 04:00:28.446609"], ["name", "Phil"]]
50516
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50517
+  (0.2ms) SAVEPOINT active_record_1
50518
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.449140"], ["author_id", 1310], ["status", 2]]
50519
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50520
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
50521
+  (0.2ms) SAVEPOINT active_record_1
50522
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.453163"], ["author_id", 1310], ["status", 2]]
50523
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50524
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
50525
+  (0.1ms) SAVEPOINT active_record_1
50526
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.456285"], ["updated_at", "2020-11-11 04:00:28.456285"], ["name", "Phyllis"]]
50527
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50528
+  (0.2ms) SAVEPOINT active_record_1
50529
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.457905"], ["author_id", 1311], ["status", 2]]
50530
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50531
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phyllis"], ["LIMIT", 1]]
50532
+  (0.3ms) SAVEPOINT active_record_1
50533
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.462162"], ["author_id", 1311], ["status", 2]]
50534
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50535
+ Post Load (0.4ms) SELECT "posts".* FROM "posts"
50536
+  (0.3ms) ROLLBACK
50537
+  (0.2ms) BEGIN
50538
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
50539
+  (0.2ms) SAVEPOINT active_record_1
50540
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.470585"], ["updated_at", "2020-11-11 04:00:28.470585"], ["name", "Phil"]]
50541
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50542
+  (0.3ms) SAVEPOINT active_record_1
50543
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.472762"], ["author_id", 1312], ["status", 2]]
50544
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50545
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Phil"], ["LIMIT", 1]]
50546
+  (0.2ms) SAVEPOINT active_record_1
50547
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.476926"], ["author_id", 1312], ["status", 2]]
50548
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50549
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('Phil'))
50550
+  (0.3ms) ROLLBACK
50551
+  (0.3ms) BEGIN
50552
+ Post Exists? (0.8ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('')) LIMIT $1 [["LIMIT", 1]]
50553
+  (0.3ms) ROLLBACK
50554
+  (0.2ms) BEGIN
50555
+ Post Exists? (0.6ms) SELECT 1 AS one FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IS NULL OR authors.name IN (NULL)) LIMIT $1 [["LIMIT", 1]]
50556
+  (0.2ms) ROLLBACK
50557
+  (0.1ms) BEGIN
50558
+  (0.2ms) ROLLBACK
50559
+  (0.3ms) BEGIN
50560
+  (0.3ms) ROLLBACK
50561
+  (0.1ms) BEGIN
50562
+  (0.2ms) ROLLBACK
50563
+  (0.2ms) BEGIN
50564
+  (0.2ms) ROLLBACK
50565
+  (0.2ms) BEGIN
50566
+  (0.2ms) ROLLBACK
50567
+  (0.2ms) BEGIN
50568
+  (0.2ms) ROLLBACK
50569
+  (0.2ms) BEGIN
50570
+  (0.1ms) ROLLBACK
50571
+  (0.2ms) BEGIN
50572
+  (0.1ms) ROLLBACK
50573
+  (0.2ms) BEGIN
50574
+  (0.2ms) ROLLBACK
50575
+  (0.2ms) BEGIN
50576
+  (0.2ms) ROLLBACK
50577
+  (0.2ms) BEGIN
50578
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50579
+  (0.2ms) SAVEPOINT active_record_1
50580
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.514639"], ["updated_at", "2020-11-11 04:00:28.514639"], ["name", "Timmy"]]
50581
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50582
+  (0.2ms) SAVEPOINT active_record_1
50583
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.516704"], ["author_id", 1313], ["status", 2], ["likes", 1]]
50584
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50585
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50586
+  (0.1ms) SAVEPOINT active_record_1
50587
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-11-11 04:00:28.520095"], ["author_id", 1313], ["status", 2], ["likes", 2]]
50588
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50589
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50590
+  (0.2ms) SAVEPOINT active_record_1
50591
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.523586"], ["updated_at", "2020-11-11 04:00:28.523586"], ["name", "Tammy"]]
50592
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50593
+  (0.2ms) SAVEPOINT active_record_1
50594
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-11-11 04:00:28.525622"], ["author_id", 1314], ["status", 2], ["likes", 3]]
50595
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50596
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50597
+  (0.2ms) SAVEPOINT active_record_1
50598
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.529683"], ["author_id", 1314], ["status", 2], ["likes", 4]]
50599
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50600
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50601
+  (0.2ms) SAVEPOINT active_record_1
50602
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-15 00:00:00"], ["updated_at", "2020-11-11 04:00:28.533486"], ["author_id", 1314], ["status", 2], ["likes", 2]]
50603
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50604
+ Post Load (0.4ms) SELECT 'totals' AS _active_reporter_dimension_totals, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" GROUP BY _active_reporter_dimension_totals ORDER BY _active_reporter_dimension_totals ASC NULLS FIRST
50605
+  (0.2ms) ROLLBACK
50606
+  (0.2ms) BEGIN
50607
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50608
+  (0.2ms) SAVEPOINT active_record_1
50609
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.541478"], ["updated_at", "2020-11-11 04:00:28.541478"], ["name", "Timmy"]]
50610
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50611
+  (0.2ms) SAVEPOINT active_record_1
50612
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.543580"], ["author_id", 1315], ["status", 2], ["likes", 1]]
50613
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50614
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Timmy"], ["LIMIT", 1]]
50615
+  (0.2ms) SAVEPOINT active_record_1
50616
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-12 00:00:00"], ["updated_at", "2020-11-11 04:00:28.546890"], ["author_id", 1315], ["status", 2], ["likes", 2]]
50617
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50618
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50619
+  (0.2ms) SAVEPOINT active_record_1
50620
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-11 04:00:28.550412"], ["updated_at", "2020-11-11 04:00:28.550412"], ["name", "Tammy"]]
50621
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50622
+  (0.2ms) SAVEPOINT active_record_1
50623
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-01-15 00:00:00"], ["updated_at", "2020-11-11 04:00:28.552476"], ["author_id", 1316], ["status", 2], ["likes", 3]]
50624
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50625
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50626
+  (0.2ms) SAVEPOINT active_record_1
50627
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.555429"], ["author_id", 1316], ["status", 2], ["likes", 4]]
50628
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50629
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Tammy"], ["LIMIT", 1]]
50630
+  (0.2ms) SAVEPOINT active_record_1
50631
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2019-03-15 00:00:00"], ["updated_at", "2020-11-11 04:00:28.558858"], ["author_id", 1316], ["status", 2], ["likes", 2]]
50632
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50633
+ Post Load (0.7ms) SELECT 'totals' AS _active_reporter_dimension_totals, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('Tammy')) GROUP BY _active_reporter_dimension_totals ORDER BY _active_reporter_dimension_totals ASC NULLS FIRST
50634
+ Post Load (0.6ms) SELECT 'totals' AS _active_reporter_dimension_totals, COUNT(DISTINCT posts.id) AS _report_aggregator_count, SUM(posts.likes) AS _report_aggregator_likes FROM "posts" GROUP BY _active_reporter_dimension_totals ORDER BY _active_reporter_dimension_totals ASC NULLS FIRST
50635
+  (0.2ms) ROLLBACK
50636
+  (0.2ms) BEGIN
50637
+  (0.2ms) SAVEPOINT active_record_1
50638
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.569891"], ["title", "A"], ["status", 2], ["likes", 2]]
50639
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50640
+  (0.3ms) SAVEPOINT active_record_1
50641
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.572827"], ["title", "A"], ["status", 2], ["likes", 2]]
50642
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50643
+  (0.2ms) SAVEPOINT active_record_1
50644
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.575909"], ["title", "B"], ["status", 2], ["likes", 1]]
50645
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50646
+  (0.3ms) SAVEPOINT active_record_1
50647
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-11-11 04:00:28.578984"], ["title", "A"], ["status", 2], ["likes", 1]]
50648
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50649
+  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"
50650
+  (0.6ms) SELECT MAX(posts.created_at) FROM "posts"
50651
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
50652
+ Post Load (1.1ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count, SUM(posts.likes) AS _report_aggregator_likes_count FROM "posts" INNER JOIN (
50653
+ SELECT CAST('2016-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
50654
+ SELECT CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
50655
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
50656
+ CASE
50657
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
50658
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
50659
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
50660
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
50661
+ END
50662
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
50663
+  (0.2ms) ROLLBACK
50664
+  (0.2ms) BEGIN
50665
+  (0.2ms) SAVEPOINT active_record_1
50666
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.592980"], ["title", "A"], ["status", 2], ["likes", 2]]
50667
+  (0.3ms) RELEASE SAVEPOINT active_record_1
50668
+  (0.2ms) SAVEPOINT active_record_1
50669
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.596376"], ["title", "A"], ["status", 2], ["likes", 2]]
50670
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50671
+  (0.2ms) SAVEPOINT active_record_1
50672
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.599627"], ["title", "B"], ["status", 2], ["likes", 1]]
50673
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50674
+  (0.2ms) SAVEPOINT active_record_1
50675
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-11-11 04:00:28.602343"], ["title", "A"], ["status", 2], ["likes", 1]]
50676
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50677
+ Post Load (0.5ms) SELECT posts.title AS _active_reporter_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
50678
+  (0.2ms) ROLLBACK
50679
+  (0.2ms) BEGIN
50680
+  (0.3ms) SAVEPOINT active_record_1
50681
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.610224"], ["title", "A"], ["status", 2], ["likes", 2]]
50682
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50683
+  (0.1ms) SAVEPOINT active_record_1
50684
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.613575"], ["title", "A"], ["status", 2], ["likes", 2]]
50685
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50686
+  (0.1ms) SAVEPOINT active_record_1
50687
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.615771"], ["title", "B"], ["status", 2], ["likes", 1]]
50688
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50689
+  (0.1ms) SAVEPOINT active_record_1
50690
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-11-11 04:00:28.617721"], ["title", "A"], ["status", 2], ["likes", 1]]
50691
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50692
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
50693
+  (0.5ms) SELECT MAX(posts.likes) FROM "posts"
50694
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
50695
+ Post Load (1.3ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
50696
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
50697
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
50698
+ ) AS _active_reporter_dimension_likes_bin_table ON (
50699
+ CASE
50700
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
50701
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
50702
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
50703
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
50704
+ END
50705
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
50706
+  (0.3ms) ROLLBACK
50707
+  (0.2ms) BEGIN
50708
+  (0.2ms) SAVEPOINT active_record_1
50709
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.631069"], ["title", "A"], ["status", 2], ["likes", 2]]
50710
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50711
+  (0.2ms) SAVEPOINT active_record_1
50712
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.633597"], ["title", "A"], ["status", 2], ["likes", 2]]
50713
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50714
+  (0.2ms) SAVEPOINT active_record_1
50715
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.635911"], ["title", "B"], ["status", 2], ["likes", 1]]
50716
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50717
+  (0.2ms) SAVEPOINT active_record_1
50718
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-11-11 04:00:28.637945"], ["title", "A"], ["status", 2], ["likes", 1]]
50719
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50720
+  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"
50721
+  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"
50722
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
50723
+  (0.5ms) SELECT MIN(posts.likes) FROM "posts"
50724
+  (0.4ms) SELECT MAX(posts.likes) FROM "posts"
50725
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
50726
+ Post Load (1.4ms) SELECT posts.title AS _active_reporter_dimension_title, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
50727
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
50728
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
50729
+ ) AS _active_reporter_dimension_likes_bin_table ON (
50730
+ CASE
50731
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
50732
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
50733
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
50734
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
50735
+ END
50736
+ ) INNER JOIN (
50737
+ SELECT CAST('2016-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
50738
+ SELECT CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
50739
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
50740
+ CASE
50741
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
50742
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
50743
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
50744
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
50745
+ END
50746
+ ) GROUP BY _active_reporter_dimension_title, _active_reporter_dimension_likes, _active_reporter_dimension_created_at ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
50747
+  (0.3ms) ROLLBACK
50748
+  (0.2ms) BEGIN
50749
+  (0.2ms) SAVEPOINT active_record_1
50750
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.725935"], ["title", "A"], ["status", 2], ["likes", 2]]
50751
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50752
+  (0.2ms) SAVEPOINT active_record_1
50753
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.728724"], ["title", "A"], ["status", 2], ["likes", 2]]
50754
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50755
+  (0.2ms) SAVEPOINT active_record_1
50756
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.731277"], ["title", "B"], ["status", 2], ["likes", 1]]
50757
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50758
+  (0.2ms) SAVEPOINT active_record_1
50759
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-11-11 04:00:28.733582"], ["title", "A"], ["status", 2], ["likes", 1]]
50760
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50761
+  (0.2ms) ROLLBACK
50762
+  (0.2ms) BEGIN
50763
+  (0.2ms) SAVEPOINT active_record_1
50764
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.738046"], ["title", "A"], ["status", 2], ["likes", 2]]
50765
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50766
+  (0.2ms) SAVEPOINT active_record_1
50767
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.740323"], ["title", "A"], ["status", 2], ["likes", 2]]
50768
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50769
+  (0.2ms) SAVEPOINT active_record_1
50770
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.742723"], ["title", "B"], ["status", 2], ["likes", 1]]
50771
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50772
+  (0.2ms) SAVEPOINT active_record_1
50773
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-11-11 04:00:28.744997"], ["title", "A"], ["status", 2], ["likes", 1]]
50774
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50775
+  (0.3ms) SELECT COUNT(*) FROM "posts"
50776
+  (0.2ms) SELECT COUNT(*) FROM "posts"
50777
+  (0.2ms) ROLLBACK
50778
+  (0.2ms) BEGIN
50779
+  (0.2ms) SAVEPOINT active_record_1
50780
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.750809"], ["title", "A"], ["status", 2], ["likes", 2]]
50781
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50782
+  (0.1ms) SAVEPOINT active_record_1
50783
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.753330"], ["title", "A"], ["status", 2], ["likes", 2]]
50784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50785
+  (0.2ms) SAVEPOINT active_record_1
50786
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-01 00:00:00"], ["updated_at", "2020-11-11 04:00:28.755489"], ["title", "B"], ["status", 2], ["likes", 1]]
50787
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50788
+  (0.2ms) SAVEPOINT active_record_1
50789
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "title", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-01-02 00:00:00"], ["updated_at", "2020-11-11 04:00:28.757646"], ["title", "A"], ["status", 2], ["likes", 1]]
50790
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50791
+  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"
50792
+  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"
50793
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.created_at IS NULL) LIMIT $1 [["LIMIT", 1]]
50794
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
50795
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
50796
+ Post Exists? (0.2ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
50797
+ Post Load (1.0ms) SELECT _active_reporter_dimension_created_at_bin_table.bin_text AS _active_reporter_dimension_created_at, _active_reporter_dimension_likes_bin_table.bin_text AS _active_reporter_dimension_likes, posts.title AS _active_reporter_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN (
50798
+ SELECT CAST('2016-01-01 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION
50799
+ SELECT CAST('2016-01-02 00:00:00' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text
50800
+ ) AS _active_reporter_dimension_created_at_bin_table ON (
50801
+ CASE
50802
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL AND _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL)
50803
+ WHEN _active_reporter_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _active_reporter_dimension_created_at_bin_table.max)
50804
+ WHEN _active_reporter_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _active_reporter_dimension_created_at_bin_table.min)
50805
+ ELSE ((posts.created_at >= _active_reporter_dimension_created_at_bin_table.min) AND (posts.created_at < _active_reporter_dimension_created_at_bin_table.max))
50806
+ END
50807
+ ) INNER JOIN (
50808
+ SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION
50809
+ SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text
50810
+ ) AS _active_reporter_dimension_likes_bin_table ON (
50811
+ CASE
50812
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL AND _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL)
50813
+ WHEN _active_reporter_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _active_reporter_dimension_likes_bin_table.max)
50814
+ WHEN _active_reporter_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _active_reporter_dimension_likes_bin_table.min)
50815
+ ELSE ((posts.likes >= _active_reporter_dimension_likes_bin_table.min) AND (posts.likes < _active_reporter_dimension_likes_bin_table.max))
50816
+ END
50817
+ ) GROUP BY _active_reporter_dimension_created_at, _active_reporter_dimension_likes, _active_reporter_dimension_title ORDER BY _active_reporter_dimension_title ASC NULLS FIRST
50818
+  (0.3ms) ROLLBACK
50819
+  (12.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
50820
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
50821
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
50822
+  (0.3ms) BEGIN
50823
+  (0.3ms) SAVEPOINT active_record_1
50824
+ Author Create (5.1ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.596507"], ["updated_at", "2020-11-16 02:53:38.596507"], ["name", "James Joyce"]]
50825
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50826
+ Author Load (1.5ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
50827
+  (0.2ms) SAVEPOINT active_record_1
50828
+ Post Create (1.8ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.642875"], ["updated_at", "2020-11-16 02:53:38.642875"], ["author_id", 1317], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
50829
+  (0.3ms) RELEASE SAVEPOINT active_record_1
50830
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
50831
+  (0.2ms) SAVEPOINT active_record_1
50832
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.650119"], ["updated_at", "2020-11-16 02:53:38.650119"], ["author_id", 1317], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
50833
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50834
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
50835
+  (0.2ms) SAVEPOINT active_record_1
50836
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.654391"], ["updated_at", "2020-11-16 02:53:38.654391"], ["author_id", 1317], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
50837
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50838
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
50839
+  (0.2ms) SAVEPOINT active_record_1
50840
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.659028"], ["updated_at", "2020-11-16 02:53:38.659028"], ["author_id", 1317], ["status", 2], ["likes", 3]]
50841
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50842
+  (0.2ms) SAVEPOINT active_record_1
50843
+ Author Create (1.1ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.662110"], ["updated_at", "2020-11-16 02:53:38.662110"], ["name", "Virginia Woolf"]]
50844
+  (0.4ms) RELEASE SAVEPOINT active_record_1
50845
+ Author Load (0.6ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
50846
+  (0.2ms) SAVEPOINT active_record_1
50847
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.669460"], ["updated_at", "2020-11-16 02:53:38.669460"], ["author_id", 1318], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
50848
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50849
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
50850
+  (1.1ms) SAVEPOINT active_record_1
50851
+ Post Create (1.2ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.673986"], ["updated_at", "2020-11-16 02:53:38.673986"], ["author_id", 1318], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
50852
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50853
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
50854
+  (0.2ms) SAVEPOINT active_record_1
50855
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.679949"], ["updated_at", "2020-11-16 02:53:38.679949"], ["author_id", 1318], ["status", 2], ["likes", 3]]
50856
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50857
+  (0.2ms) SAVEPOINT active_record_1
50858
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.683273"], ["updated_at", "2020-11-16 02:53:38.683273"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
50859
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50860
+  (0.1ms) SAVEPOINT active_record_1
50861
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.686554"], ["updated_at", "2020-11-16 02:53:38.686554"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
50862
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50863
+  (0.3ms) ROLLBACK
50864
+  (0.2ms) BEGIN
50865
+  (0.3ms) SAVEPOINT active_record_1
50866
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.693487"], ["updated_at", "2020-11-16 02:53:38.693487"], ["name", "James Joyce"]]
50867
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50868
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
50869
+  (0.2ms) SAVEPOINT active_record_1
50870
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.699144"], ["updated_at", "2020-11-16 02:53:38.699144"], ["author_id", 1319], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
50871
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50872
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
50873
+  (0.1ms) SAVEPOINT active_record_1
50874
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.704046"], ["updated_at", "2020-11-16 02:53:38.704046"], ["author_id", 1319], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
50875
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50876
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
50877
+  (0.1ms) SAVEPOINT active_record_1
50878
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.707417"], ["updated_at", "2020-11-16 02:53:38.707417"], ["author_id", 1319], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
50879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50880
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
50881
+  (0.1ms) SAVEPOINT active_record_1
50882
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.711460"], ["updated_at", "2020-11-16 02:53:38.711460"], ["author_id", 1319], ["status", 2], ["likes", 3]]
50883
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50884
+  (0.2ms) SAVEPOINT active_record_1
50885
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.714101"], ["updated_at", "2020-11-16 02:53:38.714101"], ["name", "Virginia Woolf"]]
50886
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50887
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
50888
+  (0.2ms) SAVEPOINT active_record_1
50889
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.718087"], ["updated_at", "2020-11-16 02:53:38.718087"], ["author_id", 1320], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
50890
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50891
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
50892
+  (0.1ms) SAVEPOINT active_record_1
50893
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.721314"], ["updated_at", "2020-11-16 02:53:38.721314"], ["author_id", 1320], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
50894
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50895
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
50896
+  (0.2ms) SAVEPOINT active_record_1
50897
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.735436"], ["updated_at", "2020-11-16 02:53:38.735436"], ["author_id", 1320], ["status", 2], ["likes", 3]]
50898
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50899
+  (0.1ms) SAVEPOINT active_record_1
50900
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.737997"], ["updated_at", "2020-11-16 02:53:38.737997"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
50901
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50902
+  (0.1ms) SAVEPOINT active_record_1
50903
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.739641"], ["updated_at", "2020-11-16 02:53:38.739641"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
50904
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50905
+  (0.2ms) ROLLBACK
50906
+  (0.1ms) BEGIN
50907
+  (0.1ms) SAVEPOINT active_record_1
50908
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.742898"], ["updated_at", "2020-11-16 02:53:38.742898"], ["name", "James Joyce"]]
50909
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50910
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
50911
+  (0.1ms) SAVEPOINT active_record_1
50912
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.745340"], ["updated_at", "2020-11-16 02:53:38.745340"], ["author_id", 1321], ["status", 2], ["likes", 1], ["published_at", "2015-10-01 00:00:00"]]
50913
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50914
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
50915
+  (0.1ms) SAVEPOINT active_record_1
50916
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.747587"], ["updated_at", "2020-11-16 02:53:38.747587"], ["author_id", 1321], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
50917
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50918
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
50919
+  (0.1ms) SAVEPOINT active_record_1
50920
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.749971"], ["updated_at", "2020-11-16 02:53:38.749971"], ["author_id", 1321], ["status", 2], ["likes", 1], ["published_at", "2015-11-01 00:00:00"]]
50921
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50922
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "James Joyce"], ["LIMIT", 1]]
50923
+  (0.1ms) SAVEPOINT active_record_1
50924
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.752268"], ["updated_at", "2020-11-16 02:53:38.752268"], ["author_id", 1321], ["status", 2], ["likes", 3]]
50925
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50926
+  (0.2ms) SAVEPOINT active_record_1
50927
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.754307"], ["updated_at", "2020-11-16 02:53:38.754307"], ["name", "Virginia Woolf"]]
50928
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50929
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
50930
+  (0.1ms) SAVEPOINT active_record_1
50931
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.756860"], ["updated_at", "2020-11-16 02:53:38.756860"], ["author_id", 1322], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
50932
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50933
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
50934
+  (0.1ms) SAVEPOINT active_record_1
50935
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", "2020-11-16 02:53:38.759250"], ["updated_at", "2020-11-16 02:53:38.759250"], ["author_id", 1322], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
50936
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50937
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Virginia Woolf"], ["LIMIT", 1]]
50938
+  (0.2ms) SAVEPOINT active_record_1
50939
+ Post Create (0.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.762027"], ["updated_at", "2020-11-16 02:53:38.762027"], ["author_id", 1322], ["status", 2], ["likes", 3]]
50940
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50941
+  (0.4ms) SAVEPOINT active_record_1
50942
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.765476"], ["updated_at", "2020-11-16 02:53:38.765476"], ["status", 2], ["likes", 2], ["published_at", "2015-10-01 00:00:00"]]
50943
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50944
+  (0.2ms) SAVEPOINT active_record_1
50945
+ Post Create (1.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes", "published_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.768792"], ["updated_at", "2020-11-16 02:53:38.768792"], ["status", 2], ["likes", 3], ["published_at", "2015-11-01 00:00:00"]]
50946
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50947
+  (0.3ms) ROLLBACK
50948
+  (0.1ms) BEGIN
50949
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
50950
+  (0.3ms) SAVEPOINT active_record_1
50951
+ Author Create (0.6ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.775801"], ["updated_at", "2020-11-16 02:53:38.775801"], ["name", "Alice"]]
50952
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50953
+  (0.2ms) SAVEPOINT active_record_1
50954
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.778583"], ["updated_at", "2020-11-16 02:53:38.778583"], ["author_id", 1323], ["status", 2], ["likes", 3]]
50955
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50956
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
50957
+  (0.3ms) SAVEPOINT active_record_1
50958
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.782894"], ["updated_at", "2020-11-16 02:53:38.782894"], ["author_id", 1323], ["status", 2], ["likes", 2]]
50959
+  (0.4ms) RELEASE SAVEPOINT active_record_1
50960
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
50961
+  (0.3ms) SAVEPOINT active_record_1
50962
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.787190"], ["updated_at", "2020-11-16 02:53:38.787190"], ["name", "Bob"]]
50963
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50964
+  (0.2ms) SAVEPOINT active_record_1
50965
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.789231"], ["updated_at", "2020-11-16 02:53:38.789231"], ["author_id", 1324], ["status", 2], ["likes", 4]]
50966
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50967
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
50968
+  (0.2ms) SAVEPOINT active_record_1
50969
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.792143"], ["updated_at", "2020-11-16 02:53:38.792143"], ["author_id", 1324], ["status", 2], ["likes", 1]]
50970
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50971
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
50972
+  (0.2ms) SAVEPOINT active_record_1
50973
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.794938"], ["updated_at", "2020-11-16 02:53:38.794938"], ["author_id", 1324], ["status", 2], ["likes", 5]]
50974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50975
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
50976
+  (0.2ms) SAVEPOINT active_record_1
50977
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.797740"], ["updated_at", "2020-11-16 02:53:38.797740"], ["name", "Chester"]]
50978
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50979
+  (0.2ms) SAVEPOINT active_record_1
50980
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.799525"], ["updated_at", "2020-11-16 02:53:38.799525"], ["author_id", 1325], ["status", 2], ["likes", 10]]
50981
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50982
+ Post Load (13.2ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
50983
+  (0.3ms) ROLLBACK
50984
+  (0.2ms) BEGIN
50985
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
50986
+  (0.2ms) SAVEPOINT active_record_1
50987
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.832190"], ["updated_at", "2020-11-16 02:53:38.832190"], ["name", "Alice"]]
50988
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50989
+  (0.1ms) SAVEPOINT active_record_1
50990
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.834079"], ["updated_at", "2020-11-16 02:53:38.834079"], ["author_id", 1326], ["status", 2], ["likes", 3]]
50991
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50992
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
50993
+  (0.1ms) SAVEPOINT active_record_1
50994
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.836854"], ["updated_at", "2020-11-16 02:53:38.836854"], ["author_id", 1326], ["status", 2], ["likes", 2]]
50995
+  (0.2ms) RELEASE SAVEPOINT active_record_1
50996
+ Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
50997
+  (0.2ms) SAVEPOINT active_record_1
50998
+ Author Create (0.4ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.840555"], ["updated_at", "2020-11-16 02:53:38.840555"], ["name", "Bob"]]
50999
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51000
+  (0.2ms) SAVEPOINT active_record_1
51001
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.842490"], ["updated_at", "2020-11-16 02:53:38.842490"], ["author_id", 1327], ["status", 2], ["likes", 4]]
51002
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51003
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51004
+  (0.2ms) SAVEPOINT active_record_1
51005
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.845596"], ["updated_at", "2020-11-16 02:53:38.845596"], ["author_id", 1327], ["status", 2], ["likes", 1]]
51006
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51007
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51008
+  (0.1ms) SAVEPOINT active_record_1
51009
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.848274"], ["updated_at", "2020-11-16 02:53:38.848274"], ["author_id", 1327], ["status", 2], ["likes", 5]]
51010
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51011
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
51012
+  (0.1ms) SAVEPOINT active_record_1
51013
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.850639"], ["updated_at", "2020-11-16 02:53:38.850639"], ["name", "Chester"]]
51014
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51015
+  (0.1ms) SAVEPOINT active_record_1
51016
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.851987"], ["updated_at", "2020-11-16 02:53:38.851987"], ["author_id", 1328], ["status", 2], ["likes", 10]]
51017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51018
+ Post Load (6.0ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
51019
+  (0.2ms) ROLLBACK
51020
+  (0.1ms) BEGIN
51021
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
51022
+  (0.1ms) SAVEPOINT active_record_1
51023
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.863233"], ["updated_at", "2020-11-16 02:53:38.863233"], ["name", "Alice"]]
51024
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51025
+  (0.1ms) SAVEPOINT active_record_1
51026
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.864670"], ["updated_at", "2020-11-16 02:53:38.864670"], ["author_id", 1329], ["status", 2], ["likes", 3]]
51027
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51028
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
51029
+  (0.2ms) SAVEPOINT active_record_1
51030
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.867665"], ["updated_at", "2020-11-16 02:53:38.867665"], ["author_id", 1329], ["status", 2], ["likes", 2]]
51031
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51032
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51033
+  (0.2ms) SAVEPOINT active_record_1
51034
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.870932"], ["updated_at", "2020-11-16 02:53:38.870932"], ["name", "Bob"]]
51035
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51036
+  (0.2ms) SAVEPOINT active_record_1
51037
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.872625"], ["updated_at", "2020-11-16 02:53:38.872625"], ["author_id", 1330], ["status", 2], ["likes", 4]]
51038
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51039
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51040
+  (0.2ms) SAVEPOINT active_record_1
51041
+ Post Create (5.6ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.875646"], ["updated_at", "2020-11-16 02:53:38.875646"], ["author_id", 1330], ["status", 2], ["likes", 1]]
51042
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51043
+ Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51044
+  (0.2ms) SAVEPOINT active_record_1
51045
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.884076"], ["updated_at", "2020-11-16 02:53:38.884076"], ["author_id", 1330], ["status", 2], ["likes", 5]]
51046
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51047
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
51048
+  (0.1ms) SAVEPOINT active_record_1
51049
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.886729"], ["updated_at", "2020-11-16 02:53:38.886729"], ["name", "Chester"]]
51050
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51051
+  (0.2ms) SAVEPOINT active_record_1
51052
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.888145"], ["updated_at", "2020-11-16 02:53:38.888145"], ["author_id", 1331], ["status", 2], ["likes", 10]]
51053
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51054
+ Post Load (0.6ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
51055
+  (0.2ms) ROLLBACK
51056
+  (0.1ms) BEGIN
51057
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
51058
+  (0.1ms) SAVEPOINT active_record_1
51059
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.894109"], ["updated_at", "2020-11-16 02:53:38.894109"], ["name", "Alice"]]
51060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51061
+  (0.1ms) SAVEPOINT active_record_1
51062
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.895451"], ["updated_at", "2020-11-16 02:53:38.895451"], ["author_id", 1332], ["status", 2], ["likes", 3]]
51063
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51064
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
51065
+  (0.2ms) SAVEPOINT active_record_1
51066
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.897519"], ["updated_at", "2020-11-16 02:53:38.897519"], ["author_id", 1332], ["status", 2], ["likes", 2]]
51067
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51068
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51069
+  (0.1ms) SAVEPOINT active_record_1
51070
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.899851"], ["updated_at", "2020-11-16 02:53:38.899851"], ["name", "Bob"]]
51071
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51072
+  (0.1ms) SAVEPOINT active_record_1
51073
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.901374"], ["updated_at", "2020-11-16 02:53:38.901374"], ["author_id", 1333], ["status", 2], ["likes", 4]]
51074
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51075
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51076
+  (0.2ms) SAVEPOINT active_record_1
51077
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.903725"], ["updated_at", "2020-11-16 02:53:38.903725"], ["author_id", 1333], ["status", 2], ["likes", 1]]
51078
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51079
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51080
+  (0.1ms) SAVEPOINT active_record_1
51081
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.906487"], ["updated_at", "2020-11-16 02:53:38.906487"], ["author_id", 1333], ["status", 2], ["likes", 5]]
51082
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51083
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
51084
+  (0.1ms) SAVEPOINT active_record_1
51085
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.908951"], ["updated_at", "2020-11-16 02:53:38.908951"], ["name", "Chester"]]
51086
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51087
+  (0.1ms) SAVEPOINT active_record_1
51088
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.910284"], ["updated_at", "2020-11-16 02:53:38.910284"], ["author_id", 1334], ["status", 2], ["likes", 10]]
51089
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51090
+ Post Load (0.8ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
51091
+  (0.1ms) ROLLBACK
51092
+  (0.1ms) BEGIN
51093
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
51094
+  (0.2ms) SAVEPOINT active_record_1
51095
+ Author Create (0.6ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.916898"], ["updated_at", "2020-11-16 02:53:38.916898"], ["name", "Alice"]]
51096
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51097
+  (0.2ms) SAVEPOINT active_record_1
51098
+ Post Create (0.5ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.919566"], ["updated_at", "2020-11-16 02:53:38.919566"], ["author_id", 1335], ["status", 2], ["likes", 3]]
51099
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51100
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
51101
+  (0.2ms) SAVEPOINT active_record_1
51102
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.922606"], ["updated_at", "2020-11-16 02:53:38.922606"], ["author_id", 1335], ["status", 2], ["likes", 2]]
51103
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51104
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51105
+  (0.1ms) SAVEPOINT active_record_1
51106
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.925248"], ["updated_at", "2020-11-16 02:53:38.925248"], ["name", "Bob"]]
51107
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51108
+  (0.2ms) SAVEPOINT active_record_1
51109
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.926745"], ["updated_at", "2020-11-16 02:53:38.926745"], ["author_id", 1336], ["status", 2], ["likes", 4]]
51110
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51111
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51112
+  (0.1ms) SAVEPOINT active_record_1
51113
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.929483"], ["updated_at", "2020-11-16 02:53:38.929483"], ["author_id", 1336], ["status", 2], ["likes", 1]]
51114
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51115
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51116
+  (0.2ms) SAVEPOINT active_record_1
51117
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.932000"], ["updated_at", "2020-11-16 02:53:38.932000"], ["author_id", 1336], ["status", 2], ["likes", 5]]
51118
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51119
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
51120
+  (0.2ms) SAVEPOINT active_record_1
51121
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.934446"], ["updated_at", "2020-11-16 02:53:38.934446"], ["name", "Chester"]]
51122
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51123
+  (0.1ms) SAVEPOINT active_record_1
51124
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.936185"], ["updated_at", "2020-11-16 02:53:38.936185"], ["author_id", 1337], ["status", 2], ["likes", 10]]
51125
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51126
+ Post Load (0.7ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
51127
+  (0.2ms) ROLLBACK
51128
+  (0.1ms) BEGIN
51129
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
51130
+  (0.1ms) SAVEPOINT active_record_1
51131
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.942641"], ["updated_at", "2020-11-16 02:53:38.942641"], ["name", "Alice"]]
51132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51133
+  (0.1ms) SAVEPOINT active_record_1
51134
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.944208"], ["updated_at", "2020-11-16 02:53:38.944208"], ["author_id", 1338], ["status", 2], ["likes", 3]]
51135
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51136
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
51137
+  (0.2ms) SAVEPOINT active_record_1
51138
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.946829"], ["updated_at", "2020-11-16 02:53:38.946829"], ["author_id", 1338], ["status", 2], ["likes", 2]]
51139
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51140
+ Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51141
+  (0.2ms) SAVEPOINT active_record_1
51142
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.949546"], ["updated_at", "2020-11-16 02:53:38.949546"], ["name", "Bob"]]
51143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51144
+  (0.2ms) SAVEPOINT active_record_1
51145
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.951219"], ["updated_at", "2020-11-16 02:53:38.951219"], ["author_id", 1339], ["status", 2], ["likes", 4]]
51146
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51147
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51148
+  (0.2ms) SAVEPOINT active_record_1
51149
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.954023"], ["updated_at", "2020-11-16 02:53:38.954023"], ["author_id", 1339], ["status", 2], ["likes", 1]]
51150
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51151
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51152
+  (0.1ms) SAVEPOINT active_record_1
51153
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.956854"], ["updated_at", "2020-11-16 02:53:38.956854"], ["author_id", 1339], ["status", 2], ["likes", 5]]
51154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51155
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Chester"], ["LIMIT", 1]]
51156
+  (0.1ms) SAVEPOINT active_record_1
51157
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:38.959431"], ["updated_at", "2020-11-16 02:53:38.959431"], ["name", "Chester"]]
51158
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51159
+  (0.1ms) SAVEPOINT active_record_1
51160
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status", "likes") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2020-11-16 02:53:38.960754"], ["updated_at", "2020-11-16 02:53:38.960754"], ["author_id", 1340], ["status", 2], ["likes", 10]]
51161
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51162
+ Post Load (0.9ms) SELECT authors.name AS _active_reporter_dimension_author, posts.status AS _active_reporter_dimension_status, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" LEFT OUTER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _active_reporter_dimension_author, _active_reporter_dimension_status ORDER BY _active_reporter_dimension_author ASC NULLS FIRST, _active_reporter_dimension_status ASC NULLS FIRST
51163
+  (0.2ms) ROLLBACK
51164
+  (0.1ms) BEGIN
51165
+  (0.2ms) ROLLBACK
51166
+  (0.2ms) BEGIN
51167
+  (0.1ms) ROLLBACK
51168
+  (0.1ms) BEGIN
51169
+  (0.1ms) ROLLBACK
51170
+  (0.2ms) BEGIN
51171
+  (0.1ms) ROLLBACK
51172
+  (0.1ms) BEGIN
51173
+  (0.2ms) ROLLBACK
51174
+  (0.1ms) BEGIN
51175
+  (0.1ms) ROLLBACK
51176
+  (0.1ms) BEGIN
51177
+  (0.1ms) ROLLBACK
51178
+  (0.1ms) BEGIN
51179
+  (0.1ms) ROLLBACK
51180
+  (0.1ms) BEGIN
51181
+  (0.1ms) ROLLBACK
51182
+  (0.1ms) BEGIN
51183
+  (0.1ms) ROLLBACK
51184
+  (0.1ms) BEGIN
51185
+  (0.1ms) ROLLBACK
51186
+  (0.1ms) BEGIN
51187
+  (0.1ms) ROLLBACK
51188
+  (0.1ms) BEGIN
51189
+  (0.1ms) ROLLBACK
51190
+  (0.1ms) BEGIN
51191
+  (0.1ms) ROLLBACK
51192
+  (0.1ms) BEGIN
51193
+  (0.1ms) ROLLBACK
51194
+  (0.1ms) BEGIN
51195
+  (0.2ms) ROLLBACK
51196
+  (0.1ms) BEGIN
51197
+  (0.2ms) ROLLBACK
51198
+  (0.1ms) BEGIN
51199
+  (0.2ms) ROLLBACK
51200
+  (0.1ms) BEGIN
51201
+  (0.1ms) ROLLBACK
51202
+  (0.1ms) BEGIN
51203
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
51204
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
51205
+  (0.1ms) SAVEPOINT active_record_1
51206
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-16 02:53:38.996227"], ["updated_at", "2020-11-16 02:53:38.996227"], ["status", 2], ["likes", 3]]
51207
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51208
+  (0.1ms) SAVEPOINT active_record_1
51209
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-16 02:53:38.998404"], ["updated_at", "2020-11-16 02:53:38.998404"], ["status", 2], ["likes", 10]]
51210
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51211
+  (0.2ms) SAVEPOINT active_record_1
51212
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-16 02:53:39.000811"], ["updated_at", "2020-11-16 02:53:39.000811"], ["status", 2], ["likes", 1]]
51213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51214
+  (0.4ms) SELECT MIN(posts.likes) FROM "posts"
51215
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
51216
+  (0.2ms) ROLLBACK
51217
+  (0.3ms) BEGIN
51218
+  (0.2ms) ROLLBACK
51219
+  (0.1ms) BEGIN
51220
+  (0.1ms) SAVEPOINT active_record_1
51221
+ Post Create (0.4ms) INSERT INTO "posts" ("created_at", "updated_at", "status", "likes") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-16 02:53:39.020856"], ["updated_at", "2020-11-16 02:53:39.020856"], ["status", 2], ["likes", 2]]
51222
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51223
+  (0.3ms) SELECT MAX(posts.likes) FROM "posts"
51224
+ Post Exists? (0.3ms) SELECT 1 AS one FROM "posts" WHERE (posts.likes IS NULL) LIMIT $1 [["LIMIT", 1]]
51225
+  (0.2ms) ROLLBACK
51226
+  (0.1ms) BEGIN
51227
+  (0.1ms) ROLLBACK
51228
+  (0.1ms) BEGIN
51229
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
51230
+  (0.1ms) SAVEPOINT active_record_1
51231
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:39.028205"], ["updated_at", "2020-11-16 02:53:39.028205"], ["name", "Alice"]]
51232
+  (0.2ms) RELEASE SAVEPOINT active_record_1
51233
+  (0.1ms) SAVEPOINT active_record_1
51234
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-16 02:53:39.029833"], ["updated_at", "2020-11-16 02:53:39.029833"], ["author_id", 1341], ["status", 2]]
51235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51236
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Bob"], ["LIMIT", 1]]
51237
+  (0.1ms) SAVEPOINT active_record_1
51238
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:39.032509"], ["updated_at", "2020-11-16 02:53:39.032509"], ["name", "Bob"]]
51239
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51240
+  (0.1ms) SAVEPOINT active_record_1
51241
+ Post Create (0.3ms) INSERT INTO "posts" ("created_at", "updated_at", "author_id", "status") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2020-11-16 02:53:39.034054"], ["updated_at", "2020-11-16 02:53:39.034054"], ["author_id", 1342], ["status", 2]]
51242
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51243
+  (0.1ms) SAVEPOINT active_record_1
51244
+ Post Create (0.2ms) INSERT INTO "posts" ("created_at", "updated_at", "status") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:39.035688"], ["updated_at", "2020-11-16 02:53:39.035688"], ["status", 2]]
51245
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51246
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice'))
51247
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL))
51248
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice'))
51249
+ Post Load (0.8ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob'))
51250
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))
51251
+  (0.1ms) ROLLBACK
51252
+  (0.2ms) BEGIN
51253
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT $2 [["name", "Alice"], ["LIMIT", 1]]
51254
+  (0.1ms) SAVEPOINT active_record_1
51255
+ Author Create (0.3ms) INSERT INTO "authors" ("created_at", "updated_at", "name") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2020-11-16 02:53:39.044924"], ["updated_at", "2020-11-16 02:53:39.044924"], ["name", "Alice"]]
51256
+  (0.1ms) RELEASE SAVEPOINT active_record_1