csv_rb 5.2.3.2 → 6.0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'action_controller'
4
- require 'csv_rb/stream_csv_deflator'
4
+ require 'csv_rb/stream_builder'
5
5
  unless Mime[:csv]
6
6
  Mime::Type.register 'text/csv', :csv
7
7
  end
@@ -41,7 +41,7 @@ ActionController::Renderers.add :csv do |filename, options|
41
41
 
42
42
 
43
43
  return self.response_body = Enumerator.new do |y|
44
- csv = CSVRb::StreamCSVDeflator.new(y, with_compression)
44
+ csv = CSVRb::StreamBuilder.new(y, with_compression)
45
45
  view_context.instance_eval lookup_context.find_template(options[:template], options[:prefixes], options[:partial], options.dup.merge(formats: [:csv])).source
46
46
  csv.close
47
47
  end
@@ -61,9 +61,9 @@ else
61
61
  def to_csv
62
62
  @_action_has_layout = false
63
63
  if @default_response
64
- @default_response.call(options)
64
+ @default_response.call(**options)
65
65
  else
66
- controller.render({csv: controller.action_name}.merge(options))
66
+ controller.render csv: controller.action_name, **options
67
67
  end
68
68
  end
69
69
  end
@@ -1,19 +1,17 @@
1
- module CSVRb
2
- class PlainBuilder
3
- def value
4
- @value ||= "#{}"
5
- end
1
+ require 'csv_rb/stream_builder'
6
2
 
7
- def set(value)
8
- @value = value
3
+ module CSVRb
4
+ class PlainBuilder < StreamBuilder
5
+ def initialize(*)
6
+ super(+"", false)
9
7
  end
10
8
 
11
- def stream(row)
12
- value << CSV.generate_line(row, force_quotes: true, encoding: 'utf-8')
9
+ def value
10
+ y
13
11
  end
14
12
 
15
- def <<(row)
16
- stream(row)
13
+ def set(complete_value)
14
+ @enumerator = complete_value || +""
17
15
  end
18
16
 
19
17
  def close
@@ -0,0 +1,39 @@
1
+ module CSVRb
2
+ class StreamBuilder
3
+ def initialize(enumerator, with_compression = true)
4
+ @enumerator = enumerator
5
+ @with_compression = with_compression
6
+ @deflator = Zlib::Deflate.new if @with_compression
7
+ end
8
+
9
+ def y
10
+ @enumerator
11
+ end
12
+
13
+ def set(value)
14
+ y << compress(value)
15
+ end
16
+
17
+ def stream(row)
18
+ y << compress(
19
+ CSV.generate_line(row, force_quotes: true, encoding: 'utf-8')
20
+ )
21
+ end
22
+
23
+ def <<(row)
24
+ stream(row)
25
+ end
26
+
27
+ def close
28
+ y << @deflator.flush(Zlib::FINISH) if @with_compression
29
+ end
30
+
31
+ private
32
+ def compress(value)
33
+ @with_compression \
34
+ ? @deflator.deflate(value, Zlib::SYNC_FLUSH) \
35
+ : value
36
+ end
37
+
38
+ end
39
+ end
@@ -1,39 +1,6 @@
1
- module CSVRb
2
- class StreamCSVDeflator
3
- def initialize(enum, with_compression = true)
4
- @enum = enum
5
- @with_compression = with_compression
6
- @deflator = Zlib::Deflate.new
7
- end
8
-
9
- def y
10
- @enum
11
- end
12
-
13
- def set(value)
14
- y << compress(value)
15
- end
16
-
17
- def stream(row)
18
- y << compress(
19
- CSV.generate_line(row, force_quotes: true, encoding: 'utf-8')
20
- )
21
- end
22
-
23
- def <<(row)
24
- stream(row)
25
- end
26
-
27
- def close
28
- y << @deflator.flush(Zlib::FINISH) if @with_compression
29
- end
30
-
31
- private
32
- def compress(value)
33
- @with_compression \
34
- ? @deflator.deflate(value, Zlib::SYNC_FLUSH) \
35
- : value
36
- end
1
+ require 'csv_rb/stream_builder'
37
2
 
3
+ module CSVRb
4
+ class StreamCSVDeflator < StreamBuilder
38
5
  end
39
6
  end
@@ -12,13 +12,13 @@ module ActionView
12
12
  Mime[:csv]
13
13
  end
14
14
 
15
- def call(template)
15
+ def call(template, source = nil)
16
16
  builder = StringIO.new
17
17
  builder << "# encoding: utf-8\n"
18
18
  builder << "require 'csv';"
19
19
  builder << "require 'csv_rb/plain_builder';"
20
20
  builder << "csv ||= CSVRb::PlainBuilder.new;"
21
- builder << template.source
21
+ builder << (source || template.source)
22
22
  builder << ";csv = csv.to_str if csv.is_a?(CSVRb::PlainBuilder); csv;"
23
23
  builder.string
24
24
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CSVRb
4
- VERSION = '5.2.3.2'
4
+ VERSION = '6.0.3.1'
5
5
  end
@@ -9,18 +9,24 @@ describe 'csvrb template handler' do
9
9
 
10
10
  let( :handler ) { AB.new }
11
11
 
12
- let( :template ) do
13
- src = <<-RUBY
12
+ let( :template_src ) do
13
+ <<-RUBY
14
14
  csv << ['TEST', 'STUFF']
15
15
  RUBY
16
- VT.new(src, [])
17
16
  end
18
17
 
19
- let( :set_template ) do
20
- src = <<-RUBY
18
+ let( :template ) do
19
+ VT.new(template_src, [])
20
+ end
21
+
22
+ let( :set_template_src ) do
23
+ <<-RUBY
21
24
  csv.set CSV.generate_line(['TEST', 'STUFF'], encoding: 'utf-8', force_quotes: true)
22
25
  RUBY
23
- VT.new(src, [])
26
+ end
27
+
28
+ let( :set_template ) do
29
+ VT.new(set_template_src, [])
24
30
  end
25
31
 
26
32
  context "Rails #{Rails.version}" do
@@ -33,21 +39,37 @@ describe 'csvrb template handler' do
33
39
  expect(handler.default_format).to eq(mime_type)
34
40
  end
35
41
 
36
- it "compiles to an csv spreadsheet" do
37
- csv = nil
38
- eval( AB.new.call template )
39
- expect{ csv = CSV.parse(csv) }.to_not raise_error
40
- expect(csv[0][0]).to eq('TEST')
42
+ context "compiles to an csv spreadsheet" do
43
+ it "rails 5 single arity call format" do
44
+ csv = nil
45
+ eval( AB.new.call template )
46
+ expect{ csv = CSV.parse(csv) }.to_not raise_error
47
+ expect(csv[0][0]).to eq('TEST')
48
+ end
49
+
50
+ it "rails 6 dual arity call format" do
51
+ csv = nil
52
+ eval( AB.new.call template, template_src )
53
+ expect{ csv = CSV.parse(csv) }.to_not raise_error
54
+ expect(csv[0][0]).to eq('TEST')
55
+ end
41
56
  end
42
57
 
43
- it "accepts a full CSV string" do
44
- csv = nil
45
- eval( AB.new.call set_template )
46
- expect{ csv = CSV.parse(csv) }.to_not raise_error
47
- expect(csv[0][0]).to eq('TEST')
58
+ context "accepts a full CSV string" do
59
+ it "rails 5 single arity call format" do
60
+ csv = nil
61
+ eval( AB.new.call set_template )
62
+ expect{ csv = CSV.parse(csv) }.to_not raise_error
63
+ expect(csv[0][0]).to eq('TEST')
64
+ end
65
+
66
+ it "rails 6 dual arity call format" do
67
+ csv = nil
68
+ eval( AB.new.call set_template, set_template_src )
69
+ expect{ csv = CSV.parse(csv) }.to_not raise_error
70
+ expect(csv[0][0]).to eq('TEST')
71
+ end
48
72
  end
49
73
 
50
- #TODO:
51
- # Test if author field is set - does roo parse that?
52
74
  end
53
75
  end
@@ -7,7 +7,7 @@ describe "Mailer", type: :request do
7
7
  @user = User.create name: 'Elmer', last_name: 'Fudd', address: '1234 Somewhere, Over NY 11111', email: 'elmer@fudd.com'
8
8
  end
9
9
 
10
- it "attaches an csv file" do
10
+ it "attaches a csv file" do
11
11
  visit "/users/#{@user.id}/send_instructions"
12
12
  last_email = ActionMailer::Base.deliveries.last
13
13
  expect(last_email.to).to eq([@user.email])
Binary file
@@ -391,3 +391,1158 @@ bnMiLCIiDQo=
391
391
  Rendering text template
392
392
  Rendered text template (0.0ms)
393
393
  Completed 200 OK in 94ms (Views: 0.5ms | ActiveRecord: 0.1ms)
394
+  (0.6ms) SELECT sqlite_version(*)
395
+ User Load (0.2ms) SELECT "users".* FROM "users"
396
+  (0.0ms) begin transaction
397
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]
398
+  (2.3ms) commit transaction
399
+  (0.0ms) begin transaction
400
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]
401
+  (2.8ms) commit transaction
402
+  (0.0ms) begin transaction
403
+ User Create (0.2ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 22:57:07.433022"], ["updated_at", "2020-04-22 22:57:07.433022"]]
404
+  (2.5ms) commit transaction
405
+ Started GET "/users/11/render_elsewhere.csv" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
406
+ Processing by LikesController#render_elsewhere as CSV
407
+ Parameters: {"user_id"=>"11"}
408
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]]
409
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms | Allocations: 455)
410
+ User Load (0.0ms) SELECT "users".* FROM "users"
411
+ Started GET "/home/render_elsewhere.csv?type=5" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
412
+ Processing by HomeController#render_elsewhere as CSV
413
+ Parameters: {"type"=>"5"}
414
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 123)
415
+ Started GET "/home/render_elsewhere.csv?type=4" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
416
+ Processing by HomeController#render_elsewhere as CSV
417
+ Parameters: {"type"=>"4"}
418
+ Rendering users/index.csv.csvrb
419
+ User Load (0.1ms) SELECT "users".* FROM "users"
420
+ Rendered users/index.csv.csvrb (Duration: 1.0ms | Allocations: 542)
421
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms | Allocations: 2055)
422
+ Started GET "/home/render_elsewhere.csv?type=3" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
423
+ Processing by HomeController#render_elsewhere as CSV
424
+ Parameters: {"type"=>"3"}
425
+ Rendering users/index.csv.csvrb
426
+ User Load (0.0ms) SELECT "users".* FROM "users"
427
+ Rendered users/index.csv.csvrb (Duration: 0.3ms | Allocations: 236)
428
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 506)
429
+ Started GET "/home/render_elsewhere.csv?type=1" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
430
+ Processing by HomeController#render_elsewhere as CSV
431
+ Parameters: {"type"=>"1"}
432
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 124)
433
+ User Load (0.0ms) SELECT "users".* FROM "users"
434
+  (0.0ms) begin transaction
435
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 22:57:07.458527"], ["updated_at", "2020-04-22 22:57:07.458527"]]
436
+  (2.8ms) commit transaction
437
+ Started GET "/" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
438
+ Processing by HomeController#index as HTML
439
+ Rendering home/index.html.erb within layouts/application
440
+ Rendered home/index.html.erb within layouts/application (Duration: 0.4ms | Allocations: 244)
441
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms | Allocations: 1246)
442
+ User Load (0.0ms) SELECT "users".* FROM "users"
443
+  (0.0ms) begin transaction
444
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]
445
+  (2.5ms) commit transaction
446
+  (0.0ms) begin transaction
447
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]
448
+  (2.5ms) commit transaction
449
+  (0.0ms) begin transaction
450
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Responder"], ["last_name", "Bunny"], ["address", "1234 Right Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 22:57:07.471489"], ["updated_at", "2020-04-22 22:57:07.471489"]]
451
+  (2.5ms) commit transaction
452
+ Started GET "/users/13.csv" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
453
+ Processing by UsersController#show as CSV
454
+ Parameters: {"id"=>"13"}
455
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]]
456
+ Rendering users/respond_with.csv.csvrb
457
+ Rendered users/respond_with.csv.csvrb (Duration: 0.3ms | Allocations: 156)
458
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms | Allocations: 752)
459
+ Started GET "/another" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
460
+ Processing by HomeController#another as */*
461
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 111)
462
+ Started GET "/home/only_html" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
463
+ Processing by HomeController#only_html as */*
464
+ Rendering home/only_html.html.erb within layouts/application
465
+ Rendered home/only_html.html.erb within layouts/application (Duration: 0.2ms | Allocations: 76)
466
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms | Allocations: 508)
467
+ User Load (0.0ms) SELECT "users".* FROM "users"
468
+  (0.0ms) begin transaction
469
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]
470
+  (2.7ms) commit transaction
471
+  (0.0ms) begin transaction
472
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 22:57:07.485977"], ["updated_at", "2020-04-22 22:57:07.485977"]]
473
+  (2.3ms) commit transaction
474
+  (0.0ms) begin transaction
475
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 22:57:07.488956"], ["updated_at", "2020-04-22 22:57:07.488956"]]
476
+  (3.1ms) commit transaction
477
+ Started GET "/users.csv" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
478
+ Processing by UsersController#index as CSV
479
+ Rendering users/index.csv.csvrb
480
+ User Load (0.2ms) SELECT "users".* FROM "users"
481
+ Rendered users/index.csv.csvrb (Duration: 2.1ms | Allocations: 357)
482
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms | Allocations: 595)
483
+ User Load (0.2ms) SELECT "users".* FROM "users"
484
+  (0.1ms) begin transaction
485
+ User Destroy (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]
486
+  (2.9ms) commit transaction
487
+  (0.1ms) begin transaction
488
+ User Destroy (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]
489
+  (2.7ms) commit transaction
490
+  (0.1ms) begin transaction
491
+ User Create (0.2ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 22:57:07.511696"], ["updated_at", "2020-04-22 22:57:07.511696"]]
492
+  (3.0ms) commit transaction
493
+  (0.1ms) begin transaction
494
+ User Create (0.2ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 22:57:07.516241"], ["updated_at", "2020-04-22 22:57:07.516241"]]
495
+  (2.9ms) commit transaction
496
+ Started GET "/users/noaction.csv" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
497
+ Processing by UsersController#noaction as CSV
498
+ Rendering users/noaction.csv.csvrb
499
+ User Load (0.1ms) SELECT "users".* FROM "users"
500
+ Rendered users/noaction.csv.csvrb (Duration: 1.3ms | Allocations: 415)
501
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms | Allocations: 720)
502
+ Started GET "/withpartial.csv" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
503
+ Processing by HomeController#withpartial as CSV
504
+ Rendering home/withpartial.csv.csvrb
505
+ Rendered home/_cover_sheet.csv.csvrb (Duration: 0.4ms | Allocations: 125)
506
+ Rendered home/withpartial.csv.csvrb (Duration: 1.2ms | Allocations: 476)
507
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms | Allocations: 887)
508
+ Started GET "/useheader.csv?set_direct=true" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
509
+ Processing by HomeController#useheader as CSV
510
+ Parameters: {"set_direct"=>"true"}
511
+ Rendering home/useheader.csv.csvrb
512
+ Rendered home/useheader.csv.csvrb (Duration: 0.4ms | Allocations: 156)
513
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms | Allocations: 610)
514
+ Started GET "/another.csv" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
515
+ Processing by HomeController#another as CSV
516
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 108)
517
+ User Load (0.1ms) SELECT "users".* FROM "users"
518
+  (0.1ms) begin transaction
519
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]
520
+  (2.5ms) commit transaction
521
+  (0.0ms) begin transaction
522
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]
523
+  (2.4ms) commit transaction
524
+  (0.0ms) begin transaction
525
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 22:57:07.543616"], ["updated_at", "2020-04-22 22:57:07.543616"]]
526
+  (2.5ms) commit transaction
527
+  (0.0ms) begin transaction
528
+ Like Create (0.2ms) INSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Carrots"], ["user_id", 18], ["created_at", "2020-04-22 22:57:07.559002"], ["updated_at", "2020-04-22 22:57:07.559002"]]
529
+  (2.8ms) commit transaction
530
+  (0.0ms) begin transaction
531
+ Like Create (0.1ms) INSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Celery"], ["user_id", 18], ["created_at", "2020-04-22 22:57:07.562854"], ["updated_at", "2020-04-22 22:57:07.562854"]]
532
+  (2.4ms) commit transaction
533
+ Started GET "/users/18/likes.csv" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
534
+ Processing by LikesController#index as CSV
535
+ Parameters: {"user_id"=>"18"}
536
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 18], ["LIMIT", 1]]
537
+ Rendering likes/index.csv.csvrb
538
+ Like Load (0.1ms) SELECT "likes".* FROM "likes" WHERE "likes"."user_id" = ? [["user_id", 18]]
539
+ Rendered likes/index.csv.csvrb (Duration: 1.0ms | Allocations: 572)
540
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms | Allocations: 1418)
541
+ Started GET "/useheader.csv" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
542
+ Processing by HomeController#useheader as CSV
543
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 154)
544
+ User Load (0.0ms) SELECT "users".* FROM "users"
545
+  (0.0ms) begin transaction
546
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]
547
+  (2.7ms) commit transaction
548
+  (0.1ms) begin transaction
549
+ User Create (0.4ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Responder"], ["last_name", "Bunny"], ["address", "1234 Right Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 22:57:07.578605"], ["updated_at", "2020-04-22 22:57:07.578605"]]
550
+  (3.4ms) commit transaction
551
+ Started GET "/users/export/19.csv" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
552
+ Processing by UsersController#export as CSV
553
+ Parameters: {"id"=>"19"}
554
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 19], ["LIMIT", 1]]
555
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms | Allocations: 246)
556
+ Started GET "/home.csv" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
557
+ Processing by HomeController#index as CSV
558
+ Rendering home/index.csv.csvrb
559
+ Rendered home/index.csv.csvrb (Duration: 0.3ms | Allocations: 160)
560
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms | Allocations: 600)
561
+ Started GET "/another" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
562
+ Processing by HomeController#another as HTML
563
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 108)
564
+  (0.0ms) begin transaction
565
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 22:57:07.595885"], ["updated_at", "2020-04-22 22:57:07.595885"]]
566
+  (3.3ms) commit transaction
567
+ Started GET "/users/20/send_instructions" for 127.0.0.1 at 2020-04-22 16:57:07 -0600
568
+ Processing by UsersController#send_instructions as HTML
569
+ Parameters: {"user_id"=>"20"}
570
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 20], ["LIMIT", 1]]
571
+ Rendering users/send_instructions.csv.csvrb
572
+ Rendered users/send_instructions.csv.csvrb (Duration: 0.5ms | Allocations: 188)
573
+ Rendering notifier/instructions.html.erb
574
+ Rendered notifier/instructions.html.erb (Duration: 0.3ms | Allocations: 113)
575
+ Notifier#instructions: processed outbound mail in 6.8ms
576
+ Delivered mail 5ea0cbc39557b_1bd81694811fe@archlinux.mail (4.4ms)
577
+ Date: Wed, 22 Apr 2020 16:57:07 -0600
578
+ From: noreply@company.com
579
+ To: elmer@fudd.com
580
+ Message-ID: <5ea0cbc39557b_1bd81694811fe@archlinux.mail>
581
+ Subject: Instructions
582
+ Mime-Version: 1.0
583
+ Content-Type: multipart/mixed;
584
+ boundary="--==_mimepart_5ea0cbc394e38_1bd816948108d";
585
+ charset=UTF-8
586
+ Content-Transfer-Encoding: 7bit
587
+
588
+
589
+ ----==_mimepart_5ea0cbc394e38_1bd816948108d
590
+ Content-Type: text/html;
591
+ charset=UTF-8
592
+ Content-Transfer-Encoding: 7bit
593
+
594
+ <!DOCTYPE html>
595
+ <html>
596
+ <head>
597
+ <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
598
+ </head>
599
+ <body>
600
+ <h1>Instructions</h1>
601
+ <p>
602
+ You have successfully signed up to example.com,
603
+ your username is: elmer@fudd.com.<br/>
604
+ </p>
605
+ <p>Thanks for joining and have a great day!</p>
606
+ </body>
607
+ </html>
608
+
609
+ ----==_mimepart_5ea0cbc394e38_1bd816948108d
610
+ Content-Type: text/csv;
611
+ charset=UTF-8
612
+ Content-Transfer-Encoding: base64
613
+ Content-Disposition: attachment;
614
+ filename=user_20.csv
615
+ Content-ID: <5ea0cbc395b5f_1bd8169481221@archlinux.mail>
616
+
617
+ IjIwIiwiRWxtZXIiLCJlbG1lckBmdWRkLmNvbSINCiIiLCJJbnN0cnVjdGlv
618
+ bnMiLCIiDQo=
619
+
620
+ ----==_mimepart_5ea0cbc394e38_1bd816948108d--
621
+
622
+ Rendering text template
623
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
624
+ Completed 200 OK in 15ms (Views: 0.5ms | ActiveRecord: 0.1ms | Allocations: 8206)
625
+  (0.5ms) SELECT sqlite_version(*)
626
+ Started GET "/useheader.csv" for 127.0.0.1 at 2020-04-22 17:16:01 -0600
627
+ Processing by HomeController#useheader as CSV
628
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 255)
629
+ Started GET "/withpartial.csv" for 127.0.0.1 at 2020-04-22 17:16:01 -0600
630
+ Processing by HomeController#withpartial as CSV
631
+ Rendering home/withpartial.csv.csvrb
632
+ Rendered home/_cover_sheet.csv.csvrb (Duration: 0.2ms | Allocations: 125)
633
+ Rendered home/withpartial.csv.csvrb (Duration: 0.8ms | Allocations: 726)
634
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms | Allocations: 2250)
635
+ User Load (0.1ms) SELECT "users".* FROM "users"
636
+  (0.0ms) begin transaction
637
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]
638
+  (3.1ms) commit transaction
639
+  (0.0ms) begin transaction
640
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 20]]
641
+  (3.0ms) commit transaction
642
+  (0.0ms) begin transaction
643
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 23:16:02.002004"], ["updated_at", "2020-04-22 23:16:02.002004"]]
644
+  (3.0ms) commit transaction
645
+  (0.0ms) begin transaction
646
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:16:02.005720"], ["updated_at", "2020-04-22 23:16:02.005720"]]
647
+  (2.6ms) commit transaction
648
+ Started GET "/users/noaction.csv" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
649
+ Processing by UsersController#noaction as CSV
650
+ Rendering users/noaction.csv.csvrb
651
+ User Load (0.1ms) SELECT "users".* FROM "users"
652
+ Rendered users/noaction.csv.csvrb (Duration: 0.6ms | Allocations: 431)
653
+ Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.1ms | Allocations: 891)
654
+ User Load (0.0ms) SELECT "users".* FROM "users"
655
+  (0.0ms) begin transaction
656
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 21]]
657
+  (2.7ms) commit transaction
658
+  (0.0ms) begin transaction
659
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 22]]
660
+  (2.6ms) commit transaction
661
+  (0.0ms) begin transaction
662
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Responder"], ["last_name", "Bunny"], ["address", "1234 Right Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:16:02.019808"], ["updated_at", "2020-04-22 23:16:02.019808"]]
663
+  (2.5ms) commit transaction
664
+ Started GET "/users/export/23.csv" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
665
+ Processing by UsersController#export as CSV
666
+ Parameters: {"id"=>"23"}
667
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 23], ["LIMIT", 1]]
668
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms | Allocations: 391)
669
+ Started GET "/another" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
670
+ Processing by HomeController#another as HTML
671
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 108)
672
+ User Load (0.1ms) SELECT "users".* FROM "users"
673
+  (0.0ms) begin transaction
674
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 23]]
675
+  (2.2ms) commit transaction
676
+  (0.0ms) begin transaction
677
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:16:02.029973"], ["updated_at", "2020-04-22 23:16:02.029973"]]
678
+  (2.7ms) commit transaction
679
+  (0.0ms) begin transaction
680
+ Like Create (0.1ms) INSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Carrots"], ["user_id", 24], ["created_at", "2020-04-22 23:16:02.041917"], ["updated_at", "2020-04-22 23:16:02.041917"]]
681
+  (2.8ms) commit transaction
682
+  (0.0ms) begin transaction
683
+ Like Create (0.1ms) INSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Celery"], ["user_id", 24], ["created_at", "2020-04-22 23:16:02.045607"], ["updated_at", "2020-04-22 23:16:02.045607"]]
684
+  (2.7ms) commit transaction
685
+ Started GET "/users/24/likes.csv" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
686
+ Processing by LikesController#index as CSV
687
+ Parameters: {"user_id"=>"24"}
688
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]]
689
+ Rendering likes/index.csv.csvrb
690
+ Like Load (0.1ms) SELECT "likes".* FROM "likes" WHERE "likes"."user_id" = ? [["user_id", 24]]
691
+ Rendered likes/index.csv.csvrb (Duration: 0.9ms | Allocations: 572)
692
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms | Allocations: 1581)
693
+ User Load (0.1ms) SELECT "users".* FROM "users"
694
+  (0.0ms) begin transaction
695
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 24]]
696
+  (2.6ms) commit transaction
697
+  (0.0ms) begin transaction
698
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 23:16:02.057135"], ["updated_at", "2020-04-22 23:16:02.057135"]]
699
+  (2.9ms) commit transaction
700
+  (0.0ms) begin transaction
701
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:16:02.060714"], ["updated_at", "2020-04-22 23:16:02.060714"]]
702
+  (2.6ms) commit transaction
703
+ Started GET "/users.csv" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
704
+ Processing by UsersController#index as CSV
705
+ Rendering users/index.csv.csvrb
706
+ User Load (0.1ms) SELECT "users".* FROM "users"
707
+ Rendered users/index.csv.csvrb (Duration: 0.8ms | Allocations: 415)
708
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.1ms | Allocations: 785)
709
+ User Load (0.0ms) SELECT "users".* FROM "users"
710
+  (0.0ms) begin transaction
711
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 25]]
712
+  (2.8ms) commit transaction
713
+  (0.0ms) begin transaction
714
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 26]]
715
+  (2.8ms) commit transaction
716
+  (0.0ms) begin transaction
717
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:16:02.073520"], ["updated_at", "2020-04-22 23:16:02.073520"]]
718
+  (2.2ms) commit transaction
719
+ Started GET "/users/27/render_elsewhere.csv" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
720
+ Processing by LikesController#render_elsewhere as CSV
721
+ Parameters: {"user_id"=>"27"}
722
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 1]]
723
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 211)
724
+ User Load (0.1ms) SELECT "users".* FROM "users"
725
+ Started GET "/home/render_elsewhere.csv?type=5" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
726
+ Processing by HomeController#render_elsewhere as CSV
727
+ Parameters: {"type"=>"5"}
728
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 120)
729
+ Started GET "/home/render_elsewhere.csv?type=4" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
730
+ Processing by HomeController#render_elsewhere as CSV
731
+ Parameters: {"type"=>"4"}
732
+ Rendering users/index.csv.csvrb
733
+ User Load (0.0ms) SELECT "users".* FROM "users"
734
+ Rendered users/index.csv.csvrb (Duration: 0.3ms | Allocations: 236)
735
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 504)
736
+ Started GET "/home/render_elsewhere.csv?type=3" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
737
+ Processing by HomeController#render_elsewhere as CSV
738
+ Parameters: {"type"=>"3"}
739
+ Rendering users/index.csv.csvrb
740
+ User Load (0.0ms) SELECT "users".* FROM "users"
741
+ Rendered users/index.csv.csvrb (Duration: 0.3ms | Allocations: 236)
742
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms | Allocations: 505)
743
+ Started GET "/home/render_elsewhere.csv?type=1" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
744
+ Processing by HomeController#render_elsewhere as CSV
745
+ Parameters: {"type"=>"1"}
746
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 124)
747
+ User Load (0.0ms) SELECT "users".* FROM "users"
748
+  (0.0ms) begin transaction
749
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 23:16:02.084289"], ["updated_at", "2020-04-22 23:16:02.084289"]]
750
+  (3.1ms) commit transaction
751
+ Started GET "/" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
752
+ Processing by HomeController#index as HTML
753
+ Rendering home/index.html.erb within layouts/application
754
+ Rendered home/index.html.erb within layouts/application (Duration: 0.4ms | Allocations: 244)
755
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms | Allocations: 1220)
756
+ Started GET "/another" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
757
+ Processing by HomeController#another as */*
758
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 111)
759
+ Started GET "/home/only_html" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
760
+ Processing by HomeController#only_html as */*
761
+ Rendering home/only_html.html.erb within layouts/application
762
+ Rendered home/only_html.html.erb within layouts/application (Duration: 3.9ms | Allocations: 76)
763
+ Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms | Allocations: 508)
764
+ Started GET "/another.csv" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
765
+ Processing by HomeController#another as CSV
766
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 108)
767
+ Started GET "/home.csv" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
768
+ Processing by HomeController#index as CSV
769
+ Rendering home/index.csv.csvrb
770
+ Rendered home/index.csv.csvrb (Duration: 0.2ms | Allocations: 160)
771
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms | Allocations: 600)
772
+ User Load (0.1ms) SELECT "users".* FROM "users"
773
+  (0.0ms) begin transaction
774
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 27]]
775
+  (3.1ms) commit transaction
776
+  (0.0ms) begin transaction
777
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 28]]
778
+  (2.7ms) commit transaction
779
+  (0.0ms) begin transaction
780
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Responder"], ["last_name", "Bunny"], ["address", "1234 Right Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:16:02.107987"], ["updated_at", "2020-04-22 23:16:02.107987"]]
781
+  (3.0ms) commit transaction
782
+ Started GET "/users/29.csv" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
783
+ Processing by UsersController#show as CSV
784
+ Parameters: {"id"=>"29"}
785
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 29], ["LIMIT", 1]]
786
+ Rendering users/respond_with.csv.csvrb
787
+ Rendered users/respond_with.csv.csvrb (Duration: 0.2ms | Allocations: 156)
788
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 600)
789
+ Started GET "/useheader.csv?set_direct=true" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
790
+ Processing by HomeController#useheader as CSV
791
+ Parameters: {"set_direct"=>"true"}
792
+ Rendering home/useheader.csv.csvrb
793
+ Rendered home/useheader.csv.csvrb (Duration: 0.1ms | Allocations: 156)
794
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms | Allocations: 610)
795
+  (0.0ms) begin transaction
796
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 23:16:02.118359"], ["updated_at", "2020-04-22 23:16:02.118359"]]
797
+  (6.8ms) commit transaction
798
+ Started GET "/users/30/send_instructions" for 127.0.0.1 at 2020-04-22 17:16:02 -0600
799
+ Processing by UsersController#send_instructions as HTML
800
+ Parameters: {"user_id"=>"30"}
801
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]]
802
+ Rendering users/send_instructions.csv.csvrb
803
+ Rendered users/send_instructions.csv.csvrb (Duration: 0.2ms | Allocations: 188)
804
+ Rendering notifier/instructions.html.erb
805
+ Rendered notifier/instructions.html.erb (Duration: 0.2ms | Allocations: 113)
806
+ Notifier#instructions: processed outbound mail in 3.5ms
807
+ Delivered mail 5ea0d032204ca_2837169484951@archlinux.mail (3.2ms)
808
+ Date: Wed, 22 Apr 2020 17:16:02 -0600
809
+ From: noreply@company.com
810
+ To: elmer@fudd.com
811
+ Message-ID: <5ea0d032204ca_2837169484951@archlinux.mail>
812
+ Subject: Instructions
813
+ Mime-Version: 1.0
814
+ Content-Type: multipart/mixed;
815
+ boundary="--==_mimepart_5ea0d0321ffa0_2837169484891";
816
+ charset=UTF-8
817
+ Content-Transfer-Encoding: 7bit
818
+
819
+
820
+ ----==_mimepart_5ea0d0321ffa0_2837169484891
821
+ Content-Type: text/html;
822
+ charset=UTF-8
823
+ Content-Transfer-Encoding: 7bit
824
+
825
+ <!DOCTYPE html>
826
+ <html>
827
+ <head>
828
+ <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
829
+ </head>
830
+ <body>
831
+ <h1>Instructions</h1>
832
+ <p>
833
+ You have successfully signed up to example.com,
834
+ your username is: elmer@fudd.com.<br/>
835
+ </p>
836
+ <p>Thanks for joining and have a great day!</p>
837
+ </body>
838
+ </html>
839
+
840
+ ----==_mimepart_5ea0d0321ffa0_2837169484891
841
+ Content-Type: text/csv;
842
+ charset=UTF-8
843
+ Content-Transfer-Encoding: base64
844
+ Content-Disposition: attachment;
845
+ filename=user_30.csv
846
+ Content-ID: <5ea0d032208f5_283716948506@archlinux.mail>
847
+
848
+ IjMwIiwiRWxtZXIiLCJlbG1lckBmdWRkLmNvbSINCiIiLCJJbnN0cnVjdGlv
849
+ bnMiLCIiDQo=
850
+
851
+ ----==_mimepart_5ea0d0321ffa0_2837169484891--
852
+
853
+ Rendering text template
854
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
855
+ Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 8206)
856
+  (0.5ms) SELECT sqlite_version(*)
857
+  (0.0ms) begin transaction
858
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 23:16:56.425711"], ["updated_at", "2020-04-22 23:16:56.425711"]]
859
+  (3.0ms) commit transaction
860
+ Started GET "/users/31/send_instructions" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
861
+ Processing by UsersController#send_instructions as HTML
862
+ Parameters: {"user_id"=>"31"}
863
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 1]]
864
+ Rendering users/send_instructions.csv.csvrb
865
+ Rendered users/send_instructions.csv.csvrb (Duration: 0.5ms | Allocations: 439)
866
+ Rendering notifier/instructions.html.erb
867
+ Rendered notifier/instructions.html.erb (Duration: 0.2ms | Allocations: 121)
868
+ Notifier#instructions: processed outbound mail in 5.5ms
869
+ Delivered mail 5ea0d0686d8bc_28ee16944760@archlinux.mail (3.1ms)
870
+ Date: Wed, 22 Apr 2020 17:16:56 -0600
871
+ From: noreply@company.com
872
+ To: elmer@fudd.com
873
+ Message-ID: <5ea0d0686d8bc_28ee16944760@archlinux.mail>
874
+ Subject: Instructions
875
+ Mime-Version: 1.0
876
+ Content-Type: multipart/mixed;
877
+ boundary="--==_mimepart_5ea0d0686d394_28ee169446cd";
878
+ charset=UTF-8
879
+ Content-Transfer-Encoding: 7bit
880
+
881
+
882
+ ----==_mimepart_5ea0d0686d394_28ee169446cd
883
+ Content-Type: text/html;
884
+ charset=UTF-8
885
+ Content-Transfer-Encoding: 7bit
886
+
887
+ <!DOCTYPE html>
888
+ <html>
889
+ <head>
890
+ <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
891
+ </head>
892
+ <body>
893
+ <h1>Instructions</h1>
894
+ <p>
895
+ You have successfully signed up to example.com,
896
+ your username is: elmer@fudd.com.<br/>
897
+ </p>
898
+ <p>Thanks for joining and have a great day!</p>
899
+ </body>
900
+ </html>
901
+
902
+ ----==_mimepart_5ea0d0686d394_28ee169446cd
903
+ Content-Type: text/csv;
904
+ charset=UTF-8
905
+ Content-Transfer-Encoding: base64
906
+ Content-Disposition: attachment;
907
+ filename=user_31.csv
908
+ Content-ID: <5ea0d0686dccc_28ee16944895@archlinux.mail>
909
+
910
+ IjMxIiwiRWxtZXIiLCJlbG1lckBmdWRkLmNvbSINCiIiLCJJbnN0cnVjdGlv
911
+ bnMiLCIiDQo=
912
+
913
+ ----==_mimepart_5ea0d0686d394_28ee169446cd--
914
+
915
+ Rendering text template
916
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
917
+ Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 0.1ms | Allocations: 10114)
918
+ Started GET "/another" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
919
+ Processing by HomeController#another as */*
920
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 119)
921
+ Started GET "/home/only_html" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
922
+ Processing by HomeController#only_html as */*
923
+ Rendering home/only_html.html.erb within layouts/application
924
+ Rendered home/only_html.html.erb within layouts/application (Duration: 0.1ms | Allocations: 76)
925
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms | Allocations: 1078)
926
+ Started GET "/useheader.csv?set_direct=true" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
927
+ Processing by HomeController#useheader as CSV
928
+ Parameters: {"set_direct"=>"true"}
929
+ Rendering home/useheader.csv.csvrb
930
+ Rendered home/useheader.csv.csvrb (Duration: 0.2ms | Allocations: 156)
931
+ Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms | Allocations: 1481)
932
+  (0.0ms) begin transaction
933
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 23:16:56.463660"], ["updated_at", "2020-04-22 23:16:56.463660"]]
934
+  (2.3ms) commit transaction
935
+ Started GET "/" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
936
+ Processing by HomeController#index as HTML
937
+ Rendering home/index.html.erb within layouts/application
938
+ Rendered home/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 236)
939
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 664)
940
+ Started GET "/another" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
941
+ Processing by HomeController#another as HTML
942
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 108)
943
+ Started GET "/useheader.csv" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
944
+ Processing by HomeController#useheader as CSV
945
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 154)
946
+ User Load (0.1ms) SELECT "users".* FROM "users"
947
+  (0.0ms) begin transaction
948
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 29]]
949
+  (2.7ms) commit transaction
950
+  (0.0ms) begin transaction
951
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 30]]
952
+  (2.5ms) commit transaction
953
+  (0.0ms) begin transaction
954
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 31]]
955
+  (2.6ms) commit transaction
956
+  (0.0ms) begin transaction
957
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 32]]
958
+  (2.2ms) commit transaction
959
+  (0.0ms) begin transaction
960
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:16:56.484067"], ["updated_at", "2020-04-22 23:16:56.484067"]]
961
+  (2.6ms) commit transaction
962
+ Started GET "/users/33/render_elsewhere.csv" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
963
+ Processing by LikesController#render_elsewhere as CSV
964
+ Parameters: {"user_id"=>"33"}
965
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 33], ["LIMIT", 1]]
966
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 214)
967
+ User Load (0.0ms) SELECT "users".* FROM "users"
968
+ Started GET "/home/render_elsewhere.csv?type=5" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
969
+ Processing by HomeController#render_elsewhere as CSV
970
+ Parameters: {"type"=>"5"}
971
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 120)
972
+ Started GET "/home/render_elsewhere.csv?type=4" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
973
+ Processing by HomeController#render_elsewhere as CSV
974
+ Parameters: {"type"=>"4"}
975
+ Rendering users/index.csv.csvrb
976
+ User Load (0.0ms) SELECT "users".* FROM "users"
977
+ Rendered users/index.csv.csvrb (Duration: 0.4ms | Allocations: 294)
978
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms | Allocations: 700)
979
+ Started GET "/home/render_elsewhere.csv?type=3" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
980
+ Processing by HomeController#render_elsewhere as CSV
981
+ Parameters: {"type"=>"3"}
982
+ Rendering users/index.csv.csvrb
983
+ User Load (0.0ms) SELECT "users".* FROM "users"
984
+ Rendered users/index.csv.csvrb (Duration: 0.3ms | Allocations: 236)
985
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 506)
986
+ Started GET "/home/render_elsewhere.csv?type=1" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
987
+ Processing by HomeController#render_elsewhere as CSV
988
+ Parameters: {"type"=>"1"}
989
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 124)
990
+ User Load (0.0ms) SELECT "users".* FROM "users"
991
+ User Load (0.0ms) SELECT "users".* FROM "users"
992
+  (0.0ms) begin transaction
993
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 33]]
994
+  (2.7ms) commit transaction
995
+  (0.0ms) begin transaction
996
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 23:16:56.500029"], ["updated_at", "2020-04-22 23:16:56.500029"]]
997
+  (3.3ms) commit transaction
998
+  (0.1ms) begin transaction
999
+ User Create (0.5ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:16:56.504732"], ["updated_at", "2020-04-22 23:16:56.504732"]]
1000
+  (3.8ms) commit transaction
1001
+ Started GET "/users.csv" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
1002
+ Processing by UsersController#index as CSV
1003
+ Rendering users/index.csv.csvrb
1004
+ User Load (0.3ms) SELECT "users".* FROM "users"
1005
+ Rendered users/index.csv.csvrb (Duration: 2.2ms | Allocations: 357)
1006
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms | Allocations: 595)
1007
+ User Load (0.2ms) SELECT "users".* FROM "users"
1008
+  (0.1ms) begin transaction
1009
+ User Destroy (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 34]]
1010
+  (3.4ms) commit transaction
1011
+  (0.1ms) begin transaction
1012
+ User Destroy (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 35]]
1013
+  (3.4ms) commit transaction
1014
+  (0.1ms) begin transaction
1015
+ User Create (0.5ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Responder"], ["last_name", "Bunny"], ["address", "1234 Right Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:16:56.535305"], ["updated_at", "2020-04-22 23:16:56.535305"]]
1016
+  (3.4ms) commit transaction
1017
+ Started GET "/users/export/36.csv" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
1018
+ Processing by UsersController#export as CSV
1019
+ Parameters: {"id"=>"36"}
1020
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 36], ["LIMIT", 1]]
1021
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms | Allocations: 246)
1022
+ Started GET "/another.csv" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
1023
+ Processing by HomeController#another as CSV
1024
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 108)
1025
+ User Load (0.1ms) SELECT "users".* FROM "users"
1026
+  (0.0ms) begin transaction
1027
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 36]]
1028
+  (2.5ms) commit transaction
1029
+  (0.0ms) begin transaction
1030
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Responder"], ["last_name", "Bunny"], ["address", "1234 Right Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:16:56.556058"], ["updated_at", "2020-04-22 23:16:56.556058"]]
1031
+  (2.8ms) commit transaction
1032
+ Started GET "/users/37.csv" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
1033
+ Processing by UsersController#show as CSV
1034
+ Parameters: {"id"=>"37"}
1035
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 37], ["LIMIT", 1]]
1036
+ Rendering users/respond_with.csv.csvrb
1037
+ Rendered users/respond_with.csv.csvrb (Duration: 0.2ms | Allocations: 157)
1038
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 601)
1039
+ User Load (0.0ms) SELECT "users".* FROM "users"
1040
+  (0.0ms) begin transaction
1041
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 37]]
1042
+  (2.6ms) commit transaction
1043
+  (0.0ms) begin transaction
1044
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:16:56.565116"], ["updated_at", "2020-04-22 23:16:56.565116"]]
1045
+  (2.7ms) commit transaction
1046
+  (0.0ms) begin transaction
1047
+ Like Create (0.1ms) INSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Carrots"], ["user_id", 38], ["created_at", "2020-04-22 23:16:56.576890"], ["updated_at", "2020-04-22 23:16:56.576890"]]
1048
+  (2.7ms) commit transaction
1049
+  (0.0ms) begin transaction
1050
+ Like Create (0.1ms) INSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Celery"], ["user_id", 38], ["created_at", "2020-04-22 23:16:56.580490"], ["updated_at", "2020-04-22 23:16:56.580490"]]
1051
+  (2.9ms) commit transaction
1052
+ Started GET "/users/38/likes.csv" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
1053
+ Processing by LikesController#index as CSV
1054
+ Parameters: {"user_id"=>"38"}
1055
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 38], ["LIMIT", 1]]
1056
+ Rendering likes/index.csv.csvrb
1057
+ Like Load (0.1ms) SELECT "likes".* FROM "likes" WHERE "likes"."user_id" = ? [["user_id", 38]]
1058
+ Rendered likes/index.csv.csvrb (Duration: 0.9ms | Allocations: 572)
1059
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms | Allocations: 1419)
1060
+ Started GET "/withpartial.csv" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
1061
+ Processing by HomeController#withpartial as CSV
1062
+ Rendering home/withpartial.csv.csvrb
1063
+ Rendered home/_cover_sheet.csv.csvrb (Duration: 0.2ms | Allocations: 125)
1064
+ Rendered home/withpartial.csv.csvrb (Duration: 0.5ms | Allocations: 476)
1065
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms | Allocations: 887)
1066
+ User Load (0.0ms) SELECT "users".* FROM "users"
1067
+  (0.0ms) begin transaction
1068
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 38]]
1069
+  (2.7ms) commit transaction
1070
+  (0.0ms) begin transaction
1071
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 23:16:56.593017"], ["updated_at", "2020-04-22 23:16:56.593017"]]
1072
+  (2.5ms) commit transaction
1073
+  (0.0ms) begin transaction
1074
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:16:56.596199"], ["updated_at", "2020-04-22 23:16:56.596199"]]
1075
+  (2.4ms) commit transaction
1076
+ Started GET "/users/noaction.csv" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
1077
+ Processing by UsersController#noaction as CSV
1078
+ Rendering users/noaction.csv.csvrb
1079
+ User Load (0.0ms) SELECT "users".* FROM "users"
1080
+ Rendered users/noaction.csv.csvrb (Duration: 0.6ms | Allocations: 415)
1081
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms | Allocations: 721)
1082
+ Started GET "/home.csv" for 127.0.0.1 at 2020-04-22 17:16:56 -0600
1083
+ Processing by HomeController#index as CSV
1084
+ Rendering home/index.csv.csvrb
1085
+ Rendered home/index.csv.csvrb (Duration: 0.1ms | Allocations: 159)
1086
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms | Allocations: 599)
1087
+  (0.5ms) SELECT sqlite_version(*)
1088
+ User Load (0.1ms) SELECT "users".* FROM "users"
1089
+  (0.0ms) begin transaction
1090
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 39]]
1091
+  (2.4ms) commit transaction
1092
+  (0.0ms) begin transaction
1093
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 40]]
1094
+  (2.4ms) commit transaction
1095
+  (0.0ms) begin transaction
1096
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 23:18:02.332566"], ["updated_at", "2020-04-22 23:18:02.332566"]]
1097
+  (2.3ms) commit transaction
1098
+  (0.0ms) begin transaction
1099
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:18:02.335647"], ["updated_at", "2020-04-22 23:18:02.335647"]]
1100
+  (2.5ms) commit transaction
1101
+ Started GET "/users.csv" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1102
+ Processing by UsersController#index as CSV
1103
+ Rendering users/index.csv.csvrb
1104
+ User Load (0.1ms) SELECT "users".* FROM "users"
1105
+ Rendered users/index.csv.csvrb (Duration: 1.0ms | Allocations: 681)
1106
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms | Allocations: 2150)
1107
+ Started GET "/useheader.csv?set_direct=true" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1108
+ Processing by HomeController#useheader as CSV
1109
+ Parameters: {"set_direct"=>"true"}
1110
+ Rendering home/useheader.csv.csvrb
1111
+ Rendered home/useheader.csv.csvrb (Duration: 0.2ms | Allocations: 159)
1112
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms | Allocations: 1625)
1113
+ User Load (0.1ms) SELECT "users".* FROM "users"
1114
+  (0.0ms) begin transaction
1115
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 41]]
1116
+  (2.7ms) commit transaction
1117
+  (0.0ms) begin transaction
1118
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 42]]
1119
+  (2.6ms) commit transaction
1120
+  (0.0ms) begin transaction
1121
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:18:02.361614"], ["updated_at", "2020-04-22 23:18:02.361614"]]
1122
+  (2.9ms) commit transaction
1123
+ Started GET "/users/43/render_elsewhere.csv" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1124
+ Processing by LikesController#render_elsewhere as CSV
1125
+ Parameters: {"user_id"=>"43"}
1126
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 43], ["LIMIT", 1]]
1127
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms | Allocations: 363)
1128
+ User Load (0.0ms) SELECT "users".* FROM "users"
1129
+ Started GET "/home/render_elsewhere.csv?type=5" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1130
+ Processing by HomeController#render_elsewhere as CSV
1131
+ Parameters: {"type"=>"5"}
1132
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 120)
1133
+ Started GET "/home/render_elsewhere.csv?type=4" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1134
+ Processing by HomeController#render_elsewhere as CSV
1135
+ Parameters: {"type"=>"4"}
1136
+ Rendering users/index.csv.csvrb
1137
+ User Load (0.0ms) SELECT "users".* FROM "users"
1138
+ Rendered users/index.csv.csvrb (Duration: 0.3ms | Allocations: 236)
1139
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 504)
1140
+ Started GET "/home/render_elsewhere.csv?type=3" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1141
+ Processing by HomeController#render_elsewhere as CSV
1142
+ Parameters: {"type"=>"3"}
1143
+ Rendering users/index.csv.csvrb
1144
+ User Load (0.0ms) SELECT "users".* FROM "users"
1145
+ Rendered users/index.csv.csvrb (Duration: 0.3ms | Allocations: 236)
1146
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 505)
1147
+ Started GET "/home/render_elsewhere.csv?type=1" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1148
+ Processing by HomeController#render_elsewhere as CSV
1149
+ Parameters: {"type"=>"1"}
1150
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 124)
1151
+ User Load (0.0ms) SELECT "users".* FROM "users"
1152
+ User Load (0.0ms) SELECT "users".* FROM "users"
1153
+  (0.0ms) begin transaction
1154
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 43]]
1155
+  (2.8ms) commit transaction
1156
+  (0.0ms) begin transaction
1157
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Responder"], ["last_name", "Bunny"], ["address", "1234 Right Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:18:02.378010"], ["updated_at", "2020-04-22 23:18:02.378010"]]
1158
+  (2.2ms) commit transaction
1159
+ Started GET "/users/44.csv" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1160
+ Processing by UsersController#show as CSV
1161
+ Parameters: {"id"=>"44"}
1162
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 44], ["LIMIT", 1]]
1163
+ Rendering users/respond_with.csv.csvrb
1164
+ Rendered users/respond_with.csv.csvrb (Duration: 0.2ms | Allocations: 156)
1165
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 600)
1166
+ Started GET "/another.csv" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1167
+ Processing by HomeController#another as CSV
1168
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 108)
1169
+  (0.0ms) begin transaction
1170
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 23:18:02.384852"], ["updated_at", "2020-04-22 23:18:02.384852"]]
1171
+  (2.3ms) commit transaction
1172
+ Started GET "/" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1173
+ Processing by HomeController#index as HTML
1174
+ Rendering home/index.html.erb within layouts/application
1175
+ Rendered home/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 244)
1176
+ Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms | Allocations: 1227)
1177
+ Started GET "/useheader.csv" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1178
+ Processing by HomeController#useheader as CSV
1179
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 154)
1180
+ Started GET "/home.csv" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1181
+ Processing by HomeController#index as CSV
1182
+ Rendering home/index.csv.csvrb
1183
+ Rendered home/index.csv.csvrb (Duration: 0.2ms | Allocations: 159)
1184
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms | Allocations: 598)
1185
+ User Load (0.0ms) SELECT "users".* FROM "users"
1186
+  (0.0ms) begin transaction
1187
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 44]]
1188
+  (2.4ms) commit transaction
1189
+  (0.0ms) begin transaction
1190
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 45]]
1191
+  (2.5ms) commit transaction
1192
+  (0.0ms) begin transaction
1193
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Responder"], ["last_name", "Bunny"], ["address", "1234 Right Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:18:02.399889"], ["updated_at", "2020-04-22 23:18:02.399889"]]
1194
+  (2.3ms) commit transaction
1195
+ Started GET "/users/export/46.csv" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1196
+ Processing by UsersController#export as CSV
1197
+ Parameters: {"id"=>"46"}
1198
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 46], ["LIMIT", 1]]
1199
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 246)
1200
+ User Load (0.0ms) SELECT "users".* FROM "users"
1201
+  (0.0ms) begin transaction
1202
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 46]]
1203
+  (2.6ms) commit transaction
1204
+  (0.0ms) begin transaction
1205
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 23:18:02.408314"], ["updated_at", "2020-04-22 23:18:02.408314"]]
1206
+  (2.7ms) commit transaction
1207
+  (0.0ms) begin transaction
1208
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:18:02.411583"], ["updated_at", "2020-04-22 23:18:02.411583"]]
1209
+  (2.7ms) commit transaction
1210
+ Started GET "/users/noaction.csv" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1211
+ Processing by UsersController#noaction as CSV
1212
+ Rendering users/noaction.csv.csvrb
1213
+ User Load (0.0ms) SELECT "users".* FROM "users"
1214
+ Rendered users/noaction.csv.csvrb (Duration: 0.6ms | Allocations: 415)
1215
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms | Allocations: 720)
1216
+ Started GET "/withpartial.csv" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1217
+ Processing by HomeController#withpartial as CSV
1218
+ Rendering home/withpartial.csv.csvrb
1219
+ Rendered home/_cover_sheet.csv.csvrb (Duration: 0.2ms | Allocations: 125)
1220
+ Rendered home/withpartial.csv.csvrb (Duration: 0.5ms | Allocations: 476)
1221
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms | Allocations: 887)
1222
+ Started GET "/another" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1223
+ Processing by HomeController#another as */*
1224
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 111)
1225
+ Started GET "/home/only_html" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1226
+ Processing by HomeController#only_html as */*
1227
+ Rendering home/only_html.html.erb within layouts/application
1228
+ Rendered home/only_html.html.erb within layouts/application (Duration: 0.1ms | Allocations: 76)
1229
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 508)
1230
+ User Load (0.0ms) SELECT "users".* FROM "users"
1231
+  (0.0ms) begin transaction
1232
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 47]]
1233
+  (2.8ms) commit transaction
1234
+  (0.0ms) begin transaction
1235
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 48]]
1236
+  (2.4ms) commit transaction
1237
+  (0.0ms) begin transaction
1238
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-04-22 23:18:02.429155"], ["updated_at", "2020-04-22 23:18:02.429155"]]
1239
+  (2.6ms) commit transaction
1240
+  (0.0ms) begin transaction
1241
+ Like Create (0.1ms) INSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Carrots"], ["user_id", 49], ["created_at", "2020-04-22 23:18:02.444920"], ["updated_at", "2020-04-22 23:18:02.444920"]]
1242
+  (2.3ms) commit transaction
1243
+  (0.0ms) begin transaction
1244
+ Like Create (0.1ms) INSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Celery"], ["user_id", 49], ["created_at", "2020-04-22 23:18:02.448039"], ["updated_at", "2020-04-22 23:18:02.448039"]]
1245
+  (3.0ms) commit transaction
1246
+ Started GET "/users/49/likes.csv" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1247
+ Processing by LikesController#index as CSV
1248
+ Parameters: {"user_id"=>"49"}
1249
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 49], ["LIMIT", 1]]
1250
+ Rendering likes/index.csv.csvrb
1251
+ Like Load (0.1ms) SELECT "likes".* FROM "likes" WHERE "likes"."user_id" = ? [["user_id", 49]]
1252
+ Rendered likes/index.csv.csvrb (Duration: 0.8ms | Allocations: 573)
1253
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms | Allocations: 1421)
1254
+ Started GET "/another" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1255
+ Processing by HomeController#another as HTML
1256
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 108)
1257
+  (0.0ms) begin transaction
1258
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-04-22 23:18:02.458348"], ["updated_at", "2020-04-22 23:18:02.458348"]]
1259
+  (2.8ms) commit transaction
1260
+ Started GET "/users/50/send_instructions" for 127.0.0.1 at 2020-04-22 17:18:02 -0600
1261
+ Processing by UsersController#send_instructions as HTML
1262
+ Parameters: {"user_id"=>"50"}
1263
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 50], ["LIMIT", 1]]
1264
+ Rendering users/send_instructions.csv.csvrb
1265
+ Rendered users/send_instructions.csv.csvrb (Duration: 0.2ms | Allocations: 188)
1266
+ Rendering notifier/instructions.html.erb
1267
+ Rendered notifier/instructions.html.erb (Duration: 0.2ms | Allocations: 113)
1268
+ Notifier#instructions: processed outbound mail in 3.7ms
1269
+ Delivered mail 5ea0d0aa72574_2996169422038@archlinux.mail (3.2ms)
1270
+ Date: Wed, 22 Apr 2020 17:18:02 -0600
1271
+ From: noreply@company.com
1272
+ To: elmer@fudd.com
1273
+ Message-ID: <5ea0d0aa72574_2996169422038@archlinux.mail>
1274
+ Subject: Instructions
1275
+ Mime-Version: 1.0
1276
+ Content-Type: multipart/mixed;
1277
+ boundary="--==_mimepart_5ea0d0aa72026_2996169421986";
1278
+ charset=UTF-8
1279
+ Content-Transfer-Encoding: 7bit
1280
+
1281
+
1282
+ ----==_mimepart_5ea0d0aa72026_2996169421986
1283
+ Content-Type: text/html;
1284
+ charset=UTF-8
1285
+ Content-Transfer-Encoding: 7bit
1286
+
1287
+ <!DOCTYPE html>
1288
+ <html>
1289
+ <head>
1290
+ <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
1291
+ </head>
1292
+ <body>
1293
+ <h1>Instructions</h1>
1294
+ <p>
1295
+ You have successfully signed up to example.com,
1296
+ your username is: elmer@fudd.com.<br/>
1297
+ </p>
1298
+ <p>Thanks for joining and have a great day!</p>
1299
+ </body>
1300
+ </html>
1301
+
1302
+ ----==_mimepart_5ea0d0aa72026_2996169421986
1303
+ Content-Type: text/csv;
1304
+ charset=UTF-8
1305
+ Content-Transfer-Encoding: base64
1306
+ Content-Disposition: attachment;
1307
+ filename=user_50.csv
1308
+ Content-ID: <5ea0d0aa729a4_29961694221c9@archlinux.mail>
1309
+
1310
+ IjUwIiwiRWxtZXIiLCJlbG1lckBmdWRkLmNvbSINCiIiLCJJbnN0cnVjdGlv
1311
+ bnMiLCIiDQo=
1312
+
1313
+ ----==_mimepart_5ea0d0aa72026_2996169421986--
1314
+
1315
+ Rendering text template
1316
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1317
+ Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 8207)
1318
+  (0.6ms) SELECT sqlite_version(*)
1319
+ User Load (0.2ms) SELECT "users".* FROM "users"
1320
+  (0.0ms) begin transaction
1321
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 49]]
1322
+  (2.8ms) commit transaction
1323
+  (0.1ms) begin transaction
1324
+ User Destroy (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 50]]
1325
+  (2.6ms) commit transaction
1326
+  (0.1ms) begin transaction
1327
+ User Create (0.5ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-05-27 18:32:24.850099"], ["updated_at", "2020-05-27 18:32:24.850099"]]
1328
+  (2.7ms) commit transaction
1329
+  (0.1ms) begin transaction
1330
+ User Create (0.2ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-05-27 18:32:24.855099"], ["updated_at", "2020-05-27 18:32:24.855099"]]
1331
+  (2.6ms) commit transaction
1332
+ Started GET "/users/noaction.csv" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1333
+ Processing by UsersController#noaction as CSV
1334
+ Rendering users/noaction.csv.csvrb
1335
+ User Load (0.1ms) SELECT "users".* FROM "users"
1336
+ Rendered users/noaction.csv.csvrb (Duration: 1.4ms | Allocations: 691)
1337
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms | Allocations: 1838)
1338
+ Started GET "/withpartial.csv" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1339
+ Processing by HomeController#withpartial as CSV
1340
+ Rendering home/withpartial.csv.csvrb
1341
+ Rendered home/_cover_sheet.csv.csvrb (Duration: 0.3ms | Allocations: 125)
1342
+ Rendered home/withpartial.csv.csvrb (Duration: 0.7ms | Allocations: 477)
1343
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms | Allocations: 1885)
1344
+ User Load (0.0ms) SELECT "users".* FROM "users"
1345
+  (0.0ms) begin transaction
1346
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 51]]
1347
+  (2.9ms) commit transaction
1348
+  (0.1ms) begin transaction
1349
+ User Destroy (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 52]]
1350
+  (3.1ms) commit transaction
1351
+  (0.1ms) begin transaction
1352
+ User Create (0.3ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-05-27 18:32:24.893338"], ["updated_at", "2020-05-27 18:32:24.893338"]]
1353
+  (2.6ms) commit transaction
1354
+ Started GET "/users/53/render_elsewhere.csv" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1355
+ Processing by LikesController#render_elsewhere as CSV
1356
+ Parameters: {"user_id"=>"53"}
1357
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 53], ["LIMIT", 1]]
1358
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms | Allocations: 376)
1359
+ User Load (0.1ms) SELECT "users".* FROM "users"
1360
+ Started GET "/home/render_elsewhere.csv?type=5" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1361
+ Processing by HomeController#render_elsewhere as CSV
1362
+ Parameters: {"type"=>"5"}
1363
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 120)
1364
+ Started GET "/home/render_elsewhere.csv?type=4" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1365
+ Processing by HomeController#render_elsewhere as CSV
1366
+ Parameters: {"type"=>"4"}
1367
+ Rendering users/index.csv.csvrb
1368
+ User Load (0.1ms) SELECT "users".* FROM "users"
1369
+ Rendered users/index.csv.csvrb (Duration: 0.7ms | Allocations: 304)
1370
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.1ms | Allocations: 710)
1371
+ Started GET "/home/render_elsewhere.csv?type=3" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1372
+ Processing by HomeController#render_elsewhere as CSV
1373
+ Parameters: {"type"=>"3"}
1374
+ Rendering users/index.csv.csvrb
1375
+ User Load (0.1ms) SELECT "users".* FROM "users"
1376
+ Rendered users/index.csv.csvrb (Duration: 0.5ms | Allocations: 246)
1377
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.1ms | Allocations: 516)
1378
+ Started GET "/home/render_elsewhere.csv?type=1" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1379
+ Processing by HomeController#render_elsewhere as CSV
1380
+ Parameters: {"type"=>"1"}
1381
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 124)
1382
+ User Load (0.1ms) SELECT "users".* FROM "users"
1383
+ Started GET "/another" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1384
+ Processing by HomeController#another as */*
1385
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 111)
1386
+ Started GET "/home/only_html" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1387
+ Processing by HomeController#only_html as */*
1388
+ Rendering home/only_html.html.erb within layouts/application
1389
+ Rendered home/only_html.html.erb within layouts/application (Duration: 0.3ms | Allocations: 84)
1390
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms | Allocations: 1071)
1391
+ User Load (0.1ms) SELECT "users".* FROM "users"
1392
+  (0.0ms) begin transaction
1393
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 53]]
1394
+  (2.4ms) commit transaction
1395
+  (0.0ms) begin transaction
1396
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Responder"], ["last_name", "Bunny"], ["address", "1234 Right Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-05-27 18:32:24.922627"], ["updated_at", "2020-05-27 18:32:24.922627"]]
1397
+  (2.7ms) commit transaction
1398
+ Started GET "/users/export/54.csv" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1399
+ Processing by UsersController#export as CSV
1400
+ Parameters: {"id"=>"54"}
1401
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 54], ["LIMIT", 1]]
1402
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 257)
1403
+ Started GET "/another" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1404
+ Processing by HomeController#another as HTML
1405
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 108)
1406
+ Started GET "/another.csv" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1407
+ Processing by HomeController#another as CSV
1408
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 108)
1409
+ User Load (0.1ms) SELECT "users".* FROM "users"
1410
+  (0.0ms) begin transaction
1411
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 54]]
1412
+  (2.7ms) commit transaction
1413
+  (0.0ms) begin transaction
1414
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-05-27 18:32:24.935154"], ["updated_at", "2020-05-27 18:32:24.935154"]]
1415
+  (2.3ms) commit transaction
1416
+  (0.0ms) begin transaction
1417
+ Like Create (0.2ms) INSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Carrots"], ["user_id", 55], ["created_at", "2020-05-27 18:32:24.953129"], ["updated_at", "2020-05-27 18:32:24.953129"]]
1418
+  (3.1ms) commit transaction
1419
+  (0.0ms) begin transaction
1420
+ Like Create (0.1ms) INSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Celery"], ["user_id", 55], ["created_at", "2020-05-27 18:32:24.957262"], ["updated_at", "2020-05-27 18:32:24.957262"]]
1421
+  (3.3ms) commit transaction
1422
+ Started GET "/users/55/likes.csv" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1423
+ Processing by LikesController#index as CSV
1424
+ Parameters: {"user_id"=>"55"}
1425
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 55], ["LIMIT", 1]]
1426
+ Rendering likes/index.csv.csvrb
1427
+ Like Load (0.1ms) SELECT "likes".* FROM "likes" WHERE "likes"."user_id" = ? [["user_id", 55]]
1428
+ Rendered likes/index.csv.csvrb (Duration: 0.9ms | Allocations: 616)
1429
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms | Allocations: 1478)
1430
+ User Load (0.0ms) SELECT "users".* FROM "users"
1431
+  (0.0ms) begin transaction
1432
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 55]]
1433
+  (2.4ms) commit transaction
1434
+  (0.1ms) begin transaction
1435
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-05-27 18:32:24.967763"], ["updated_at", "2020-05-27 18:32:24.967763"]]
1436
+  (2.4ms) commit transaction
1437
+  (0.0ms) begin transaction
1438
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-05-27 18:32:24.970840"], ["updated_at", "2020-05-27 18:32:24.970840"]]
1439
+  (2.2ms) commit transaction
1440
+ Started GET "/users.csv" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1441
+ Processing by UsersController#index as CSV
1442
+ Rendering users/index.csv.csvrb
1443
+ User Load (0.0ms) SELECT "users".* FROM "users"
1444
+ Rendered users/index.csv.csvrb (Duration: 0.4ms | Allocations: 367)
1445
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 612)
1446
+  (0.0ms) begin transaction
1447
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-05-27 18:32:24.975803"], ["updated_at", "2020-05-27 18:32:24.975803"]]
1448
+  (3.0ms) commit transaction
1449
+ Started GET "/" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1450
+ Processing by HomeController#index as HTML
1451
+ Rendering home/index.html.erb within layouts/application
1452
+ Rendered home/index.html.erb within layouts/application (Duration: 0.5ms | Allocations: 238)
1453
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms | Allocations: 666)
1454
+ Started GET "/useheader.csv?set_direct=true" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
1455
+ Processing by HomeController#useheader as CSV
1456
+ Parameters: {"set_direct"=>"true"}
1457
+ Rendering home/useheader.csv.csvrb
1458
+ Rendered home/useheader.csv.csvrb (Duration: 0.3ms | Allocations: 156)
1459
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 611)
1460
+ User Load (0.0ms) SELECT "users".* FROM "users"
1461
+  (0.0ms) begin transaction
1462
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 56]]
1463
+  (2.9ms) commit transaction
1464
+  (0.1ms) begin transaction
1465
+ User Destroy (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 57]]
1466
+  (3.4ms) commit transaction
1467
+  (0.1ms) begin transaction
1468
+ User Destroy (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 58]]
1469
+  (4.4ms) commit transaction
1470
+  (0.2ms) begin transaction
1471
+ User Create (0.5ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Responder"], ["last_name", "Bunny"], ["address", "1234 Right Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-05-27 18:32:25.001296"], ["updated_at", "2020-05-27 18:32:25.001296"]]
1472
+  (3.6ms) commit transaction
1473
+ Started GET "/users/59.csv" for 127.0.0.1 at 2020-05-27 12:32:25 -0600
1474
+ Processing by UsersController#show as CSV
1475
+ Parameters: {"id"=>"59"}
1476
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 59], ["LIMIT", 1]]
1477
+ Rendering users/respond_with.csv.csvrb
1478
+ Rendered users/respond_with.csv.csvrb (Duration: 0.3ms | Allocations: 156)
1479
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 603)
1480
+ Started GET "/useheader.csv" for 127.0.0.1 at 2020-05-27 12:32:25 -0600
1481
+ Processing by HomeController#useheader as CSV
1482
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 154)
1483
+ Started GET "/home.csv" for 127.0.0.1 at 2020-05-27 12:32:25 -0600
1484
+ Processing by HomeController#index as CSV
1485
+ Rendering home/index.csv.csvrb
1486
+ Rendered home/index.csv.csvrb (Duration: 0.2ms | Allocations: 159)
1487
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms | Allocations: 599)
1488
+  (0.0ms) begin transaction
1489
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-05-27 18:32:25.020463"], ["updated_at", "2020-05-27 18:32:25.020463"]]
1490
+  (2.5ms) commit transaction
1491
+ Started GET "/users/60/send_instructions" for 127.0.0.1 at 2020-05-27 12:32:25 -0600
1492
+ Processing by UsersController#send_instructions as HTML
1493
+ Parameters: {"user_id"=>"60"}
1494
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 60], ["LIMIT", 1]]
1495
+ Rendering users/send_instructions.csv.csvrb
1496
+ Rendered users/send_instructions.csv.csvrb (Duration: 0.3ms | Allocations: 188)
1497
+ Rendering notifier/instructions.html.erb
1498
+ Rendered notifier/instructions.html.erb (Duration: 0.3ms | Allocations: 112)
1499
+ Notifier#instructions: processed outbound mail in 5.7ms
1500
+ Delivered mail 5eceb239808c_bbc616a837878@archlinux.mail (3.7ms)
1501
+ Date: Wed, 27 May 2020 12:32:25 -0600
1502
+ From: noreply@company.com
1503
+ To: elmer@fudd.com
1504
+ Message-ID: <5eceb239808c_bbc616a837878@archlinux.mail>
1505
+ Subject: Instructions
1506
+ Mime-Version: 1.0
1507
+ Content-Type: multipart/mixed;
1508
+ boundary="--==_mimepart_5eceb2397acd_bbc616a83776e";
1509
+ charset=UTF-8
1510
+ Content-Transfer-Encoding: 7bit
1511
+
1512
+
1513
+ ----==_mimepart_5eceb2397acd_bbc616a83776e
1514
+ Content-Type: text/html;
1515
+ charset=UTF-8
1516
+ Content-Transfer-Encoding: 7bit
1517
+
1518
+ <!DOCTYPE html>
1519
+ <html>
1520
+ <head>
1521
+ <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
1522
+ </head>
1523
+ <body>
1524
+ <h1>Instructions</h1>
1525
+ <p>
1526
+ You have successfully signed up to example.com,
1527
+ your username is: elmer@fudd.com.<br/>
1528
+ </p>
1529
+ <p>Thanks for joining and have a great day!</p>
1530
+ </body>
1531
+ </html>
1532
+
1533
+ ----==_mimepart_5eceb2397acd_bbc616a83776e
1534
+ Content-Type: text/csv;
1535
+ charset=UTF-8
1536
+ Content-Transfer-Encoding: base64
1537
+ Content-Disposition: attachment;
1538
+ filename=user_60.csv
1539
+ Content-ID: <5eceb239857f_bbc616a83791@archlinux.mail>
1540
+
1541
+ IjYwIiwiRWxtZXIiLCJlbG1lckBmdWRkLmNvbSINCiIiLCJJbnN0cnVjdGlv
1542
+ bnMiLCIiDQo=
1543
+
1544
+ ----==_mimepart_5eceb2397acd_bbc616a83776e--
1545
+
1546
+ Rendering text template
1547
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1548
+ Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 8201)