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.
- checksums.yaml +4 -4
- data/Gemfile +3 -3
- data/Gemfile.lock +127 -111
- data/README.md +22 -15
- data/lib/csv_rb/action_controller.rb +4 -4
- data/lib/csv_rb/plain_builder.rb +9 -11
- data/lib/csv_rb/stream_builder.rb +39 -0
- data/lib/csv_rb/stream_csv_deflator.rb +3 -36
- data/lib/csv_rb/template_handler.rb +2 -2
- data/lib/csv_rb/version.rb +1 -1
- data/spec/csv_rb_builder_spec.rb +40 -18
- data/spec/csv_rb_mailer_spec.rb +1 -1
- data/spec/dummy/app/assets/config/manifest.js +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +1155 -0
- data/spec/test_6.0.sh +16 -0
- metadata +10 -5
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'action_controller'
|
4
|
-
require 'csv_rb/
|
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::
|
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
|
66
|
+
controller.render csv: controller.action_name, **options
|
67
67
|
end
|
68
68
|
end
|
69
69
|
end
|
data/lib/csv_rb/plain_builder.rb
CHANGED
@@ -1,19 +1,17 @@
|
|
1
|
-
|
2
|
-
class PlainBuilder
|
3
|
-
def value
|
4
|
-
@value ||= "#{}"
|
5
|
-
end
|
1
|
+
require 'csv_rb/stream_builder'
|
6
2
|
|
7
|
-
|
8
|
-
|
3
|
+
module CSVRb
|
4
|
+
class PlainBuilder < StreamBuilder
|
5
|
+
def initialize(*)
|
6
|
+
super(+"", false)
|
9
7
|
end
|
10
8
|
|
11
|
-
def
|
12
|
-
|
9
|
+
def value
|
10
|
+
y
|
13
11
|
end
|
14
12
|
|
15
|
-
def
|
16
|
-
|
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
|
-
|
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
|
data/lib/csv_rb/version.rb
CHANGED
data/spec/csv_rb_builder_spec.rb
CHANGED
@@ -9,18 +9,24 @@ describe 'csvrb template handler' do
|
|
9
9
|
|
10
10
|
let( :handler ) { AB.new }
|
11
11
|
|
12
|
-
let( :
|
13
|
-
|
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( :
|
20
|
-
|
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
|
-
|
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
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
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
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
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
|
data/spec/csv_rb_mailer_spec.rb
CHANGED
@@ -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
|
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])
|
File without changes
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -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
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
395
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
396
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
397
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 9]]
|
398
|
+
[1m[35m (2.3ms)[0m [1m[36mcommit transaction[0m
|
399
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
400
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 10]]
|
401
|
+
[1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
|
402
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
403
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
|
409
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms | Allocations: 455)
|
410
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
434
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
435
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
443
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
444
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 11]]
|
445
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
446
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
447
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 12]]
|
448
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
449
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
450
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
468
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
469
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 13]]
|
470
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
471
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
472
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.3ms)[0m [1m[36mcommit transaction[0m
|
474
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
475
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
484
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
485
|
+
[1m[36mUser Destroy (0.3ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 14]]
|
486
|
+
[1m[35m (2.9ms)[0m [1m[36mcommit transaction[0m
|
487
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
488
|
+
[1m[36mUser Destroy (0.2ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 15]]
|
489
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
490
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
491
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
493
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
494
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.9ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
518
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
519
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 16]]
|
520
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
521
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
522
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 17]]
|
523
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
524
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
525
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
527
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
528
|
+
[1m[36mLike Create (0.2ms)[0m [1m[32mINSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Carrots"], ["user_id", 18], ["created_at", "2020-04-22 22:57:07.559002"], ["updated_at", "2020-04-22 22:57:07.559002"]]
|
529
|
+
[1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
|
530
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
531
|
+
[1m[36mLike Create (0.1ms)[0m [1m[32mINSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Celery"], ["user_id", 18], ["created_at", "2020-04-22 22:57:07.562854"], ["updated_at", "2020-04-22 22:57:07.562854"]]
|
532
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 18], ["LIMIT", 1]]
|
537
|
+
Rendering likes/index.csv.csvrb
|
538
|
+
[1m[36mLike Load (0.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = ?[0m [["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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
545
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
546
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 18]]
|
547
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
548
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
549
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
565
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
636
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
637
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 19]]
|
638
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
639
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
640
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 20]]
|
641
|
+
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
642
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
643
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
645
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
646
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
655
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
656
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 21]]
|
657
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
658
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
659
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 22]]
|
660
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
661
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
662
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
673
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
674
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 23]]
|
675
|
+
[1m[35m (2.2ms)[0m [1m[36mcommit transaction[0m
|
676
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
677
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
679
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
680
|
+
[1m[36mLike Create (0.1ms)[0m [1m[32mINSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Carrots"], ["user_id", 24], ["created_at", "2020-04-22 23:16:02.041917"], ["updated_at", "2020-04-22 23:16:02.041917"]]
|
681
|
+
[1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
|
682
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
683
|
+
[1m[36mLike Create (0.1ms)[0m [1m[32mINSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Celery"], ["user_id", 24], ["created_at", "2020-04-22 23:16:02.045607"], ["updated_at", "2020-04-22 23:16:02.045607"]]
|
684
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 24], ["LIMIT", 1]]
|
689
|
+
Rendering likes/index.csv.csvrb
|
690
|
+
[1m[36mLike Load (0.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = ?[0m [["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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
694
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
695
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 24]]
|
696
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
697
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
698
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.9ms)[0m [1m[36mcommit transaction[0m
|
700
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
701
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
710
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
711
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 25]]
|
712
|
+
[1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
|
713
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
714
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 26]]
|
715
|
+
[1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
|
716
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
717
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.2ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 27], ["LIMIT", 1]]
|
723
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 211)
|
724
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
748
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
749
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
773
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
774
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 27]]
|
775
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
776
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
777
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 28]]
|
778
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
779
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
780
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
796
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (6.8ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
857
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
858
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
933
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.3ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
947
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
948
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 29]]
|
949
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
950
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
951
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 30]]
|
952
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
953
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
954
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 31]]
|
955
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
956
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
957
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 32]]
|
958
|
+
[1m[35m (2.2ms)[0m [1m[36mcommit transaction[0m
|
959
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
960
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 33], ["LIMIT", 1]]
|
966
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 214)
|
967
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
991
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
992
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
993
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 33]]
|
994
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
995
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
996
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
998
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
999
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1008
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1009
|
+
[1m[36mUser Destroy (0.4ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 34]]
|
1010
|
+
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
1011
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1012
|
+
[1m[36mUser Destroy (0.4ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 35]]
|
1013
|
+
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
1014
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1015
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1026
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1027
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 36]]
|
1028
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
1029
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1030
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1040
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1041
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 37]]
|
1042
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
1043
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1044
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
1046
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1047
|
+
[1m[36mLike Create (0.1ms)[0m [1m[32mINSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Carrots"], ["user_id", 38], ["created_at", "2020-04-22 23:16:56.576890"], ["updated_at", "2020-04-22 23:16:56.576890"]]
|
1048
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
1049
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1050
|
+
[1m[36mLike Create (0.1ms)[0m [1m[32mINSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Celery"], ["user_id", 38], ["created_at", "2020-04-22 23:16:56.580490"], ["updated_at", "2020-04-22 23:16:56.580490"]]
|
1051
|
+
[1m[35m (2.9ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 38], ["LIMIT", 1]]
|
1056
|
+
Rendering likes/index.csv.csvrb
|
1057
|
+
[1m[36mLike Load (0.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = ?[0m [["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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1067
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1068
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 38]]
|
1069
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
1070
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1071
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
1073
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1074
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1088
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1089
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1090
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 39]]
|
1091
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
1092
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1093
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 40]]
|
1094
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
1095
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1096
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.3ms)[0m [1m[36mcommit transaction[0m
|
1098
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1099
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1114
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1115
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 41]]
|
1116
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
1117
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1118
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 42]]
|
1119
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
1120
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1121
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.9ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 43], ["LIMIT", 1]]
|
1127
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms | Allocations: 363)
|
1128
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1152
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1153
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1154
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 43]]
|
1155
|
+
[1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
|
1156
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1157
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.2ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1170
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.3ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1186
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1187
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 44]]
|
1188
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
1189
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1190
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 45]]
|
1191
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
1192
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1193
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.3ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 46], ["LIMIT", 1]]
|
1199
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 246)
|
1200
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1201
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1202
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 46]]
|
1203
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
1204
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1205
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
1207
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1208
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1231
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1232
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 47]]
|
1233
|
+
[1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
|
1234
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1235
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 48]]
|
1236
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
1237
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1238
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
1240
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1241
|
+
[1m[36mLike Create (0.1ms)[0m [1m[32mINSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Carrots"], ["user_id", 49], ["created_at", "2020-04-22 23:18:02.444920"], ["updated_at", "2020-04-22 23:18:02.444920"]]
|
1242
|
+
[1m[35m (2.3ms)[0m [1m[36mcommit transaction[0m
|
1243
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1244
|
+
[1m[36mLike Create (0.1ms)[0m [1m[32mINSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Celery"], ["user_id", 49], ["created_at", "2020-04-22 23:18:02.448039"], ["updated_at", "2020-04-22 23:18:02.448039"]]
|
1245
|
+
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 49], ["LIMIT", 1]]
|
1250
|
+
Rendering likes/index.csv.csvrb
|
1251
|
+
[1m[36mLike Load (0.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = ?[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1258
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1319
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1320
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1321
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 49]]
|
1322
|
+
[1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
|
1323
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1324
|
+
[1m[36mUser Destroy (0.3ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 50]]
|
1325
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
1326
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1327
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
1329
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1330
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1345
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1346
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 51]]
|
1347
|
+
[1m[35m (2.9ms)[0m [1m[36mcommit transaction[0m
|
1348
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1349
|
+
[1m[36mUser Destroy (0.3ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 52]]
|
1350
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
1351
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1352
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 53], ["LIMIT", 1]]
|
1358
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms | Allocations: 376)
|
1359
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1392
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1393
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 53]]
|
1394
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
1395
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1396
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1410
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1411
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 54]]
|
1412
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
1413
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1414
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.3ms)[0m [1m[36mcommit transaction[0m
|
1416
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1417
|
+
[1m[36mLike Create (0.2ms)[0m [1m[32mINSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Carrots"], ["user_id", 55], ["created_at", "2020-05-27 18:32:24.953129"], ["updated_at", "2020-05-27 18:32:24.953129"]]
|
1418
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
1419
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1420
|
+
[1m[36mLike Create (0.1ms)[0m [1m[32mINSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Celery"], ["user_id", 55], ["created_at", "2020-05-27 18:32:24.957262"], ["updated_at", "2020-05-27 18:32:24.957262"]]
|
1421
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 55], ["LIMIT", 1]]
|
1426
|
+
Rendering likes/index.csv.csvrb
|
1427
|
+
[1m[36mLike Load (0.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = ?[0m [["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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1431
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1432
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 55]]
|
1433
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
1434
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1435
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
1437
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1438
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.2ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1447
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1461
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1462
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 56]]
|
1463
|
+
[1m[35m (2.9ms)[0m [1m[36mcommit transaction[0m
|
1464
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1465
|
+
[1m[36mUser Destroy (0.4ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 57]]
|
1466
|
+
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
1467
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1468
|
+
[1m[36mUser Destroy (0.4ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 58]]
|
1469
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
1470
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1471
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1489
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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)
|