Skip to content

Commit

Permalink
add note
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Jul 20, 2020
1 parent f7cbeb4 commit 27e8f0d
Show file tree
Hide file tree
Showing 53 changed files with 102 additions and 0 deletions.
Binary file modified db/development.sqlite3
Binary file not shown.
72 changes: 72 additions & 0 deletions log/development.log
Original file line number Diff line number Diff line change
Expand Up @@ -889,3 +889,75 @@ Content-Transfer-Encoding: 7bit
</html>

[ActiveJob] [SendEmailJob] [595f0cdc-4781-4e6f-be29-d1d6b1e19096] Performed SendEmailJob (Job ID: 595f0cdc-4781-4e6f-be29-d1d6b1e19096) from Sidekiq(default) in 6734.66ms
Started GET "/users/new" for ::1 at 2020-07-20 20:01:02 +0700
 (0.7ms) SELECT sqlite_version(*)
 (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
Processing by UsersController#new as HTML
Rendering users/new.html.erb within layouts/application
Rendered users/new.html.erb within layouts/application (Duration: 3.3ms | Allocations: 2007)
[Webpacker] Everything's up-to-date. Nothing to do
Completed 200 OK in 39ms (Views: 26.0ms | ActiveRecord: 0.6ms | Allocations: 22400)


Started POST "/users" for ::1 at 2020-07-20 20:01:39 +0700
Processing by UsersController#create as HTML
Parameters: {"authenticity_token"=>"Z0LcVcut9tXqTle2xTw3kaZWlpA+veGoYObRZyTBtESI3FWsVQXd4JfAadYF2ipgjM8319SMwRLjks4/MKinTw==", "user"=>{"name"=>"fsgr", "email"=>"phtan12357@gmail.com"}, "commit"=>"Create User"}
 (0.1ms) begin transaction
↳ app/controllers/users_controller.rb:8:in `create'
User Create (0.3ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "fsgr"], ["email", "phtan12357@gmail.com"], ["created_at", "2020-07-20 13:01:39.133178"], ["updated_at", "2020-07-20 13:01:39.133178"]]
↳ app/controllers/users_controller.rb:8:in `create'
 (3.5ms) commit transaction
↳ app/controllers/users_controller.rb:8:in `create'
[ActiveJob] Enqueued SendEmailJob (Job ID: 6d07e90d-edba-47d8-bcf4-28ce954204c6) to Sidekiq(default) at 2020-07-20 13:06:39 UTC with arguments: #<GlobalID:0x000055aa3f6547f0 @uri=#<URI::GID gid://send-mail-background-job/User/4>>
Redirected to http://localhost:3000/users/new
Completed 302 Found in 18ms (ActiveRecord: 3.8ms | Allocations: 9435)


Started GET "/users/new" for ::1 at 2020-07-20 20:01:39 +0700
Processing by UsersController#new as HTML
Rendering users/new.html.erb within layouts/application
Rendered users/new.html.erb within layouts/application (Duration: 0.9ms | Allocations: 414)
[Webpacker] Everything's up-to-date. Nothing to do
Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms | Allocations: 3972)


 (0.3ms) SELECT sqlite_version(*)
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
[ActiveJob] [SendEmailJob] [6d07e90d-edba-47d8-bcf4-28ce954204c6] Performing SendEmailJob (Job ID: 6d07e90d-edba-47d8-bcf4-28ce954204c6) from Sidekiq(default) enqueued at 2020-07-20T13:01:39Z with arguments: #<GlobalID:0x0000564649c71038 @uri=#<URI::GID gid://send-mail-background-job/User/4>>
[ActiveJob] [SendEmailJob] [6d07e90d-edba-47d8-bcf4-28ce954204c6] Rendering user_mailer/welcome_email.html.erb within layouts/mailer
[ActiveJob] [SendEmailJob] [6d07e90d-edba-47d8-bcf4-28ce954204c6] Rendered user_mailer/welcome_email.html.erb within layouts/mailer (Duration: 0.4ms | Allocations: 199)
[ActiveJob] [SendEmailJob] [6d07e90d-edba-47d8-bcf4-28ce954204c6] UserMailer#welcome_email: processed outbound mail in 3.3ms
[ActiveJob] [SendEmailJob] [6d07e90d-edba-47d8-bcf4-28ce954204c6] Delivered mail 5f159a28e971d_d4a13bb0226b2@tanhong-Precision-M4700.mail (6888.1ms)
[ActiveJob] [SendEmailJob] [6d07e90d-edba-47d8-bcf4-28ce954204c6] Date: Mon, 20 Jul 2020 20:20:40 +0700
From: henrywingard@my.smccd.edu
To: phtan12357@gmail.com
Message-ID: <5f159a28e971d_d4a13bb0226b2@tanhong-Precision-M4700.mail>
Subject: Welcome to Website
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
/* Email styles need to be inline */
</style>
</head>

<body>
<!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hello, welcome to my site</h1>
</body>
</html>
</body>
</html>

[ActiveJob] [SendEmailJob] [6d07e90d-edba-47d8-bcf4-28ce954204c6] Performed SendEmailJob (Job ID: 6d07e90d-edba-47d8-bcf4-28ce954204c6) from Sidekiq(default) in 6902.99ms
4 changes: 4 additions & 0 deletions note.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
run:
rails s
sudo systemctl status redis
bundle exec sidekiq
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[o:Set:
@hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"1processors:type=text/css&file_type=text/scss;TTI"lfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/users.scss;TTI"?processors:type=text/css&file_type=text/scss&pipeline=self;TTF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[o:Set:
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"hfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/config/manifest.js;TTI"0processors:type=text/css&file_type=text/css;TTI"qfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/application.css;TTI"?processors:type=text/css&file_type=text/scss&pipeline=self;TTI"lfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/users.scss;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"afile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets;TTI"1processors:type=text/css&file_type=text/scss;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"\file-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/images;TTF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[o:Set:
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"qfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/application.css;TTI"?processors:type=text/css&file_type=text/scss&pipeline=self;TTI"lfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/users.scss;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"afile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets;TTF
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I"�/home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/application.css?type=text/css&id=4c4fff69f0a9d31600bb1ee8ae5f6435ce229a6d5921ae87c749e14aaabcf012:ET
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I"�/home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=5c121974259dbcbc91044acec105f5a5d79006e80cb9c094f0f2d70b2c5ad0e1:ET
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I"�/home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/config/manifest.js?type=application/javascript&id=d836d148ea2df9b054f378d5fd1f229c85a784315abd43c43eb219dd08ca85d7:ET
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[o:Set:
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"hfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/config/manifest.js;TTI"\file-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/images;TTI"afile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets;TTI"qfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/application.css;TTI"lfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/users.scss;TTF
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I"�/home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/users.scss?type=text/css&pipeline=self&id=0cb2c19f76a2786f77b991356aaa091aa5fc671384da9dffc6ca064796706bfc:ET
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I"�/home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/application.css?type=application/css-sourcemap+json&id=c7c2b839b7ebe89386e2122dbd1541eea28191e435c59053d6806bb5794921cb:ET
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I"�/home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/users.scss?type=text/css&id=681cc809ab4f959e26d96dd27870c0487f7330851f992b3e4d9b2bfb0ae2e3f6:ET
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[o:Set:
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"qfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/application.css;TTI"?processors:type=text/css&file_type=text/scss&pipeline=self;TTI"lfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/users.scss;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"afile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets;TTF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[o:Set:
@hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"qfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/application.css;TTI"afile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets;TTI"lfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/users.scss;TTF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[o:Set:
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Fprocessors:type=application/css-sourcemap+json&file_type=text/css;TTI"qfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/application.css;TTI"afile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets;TTI"lfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/users.scss;TTI"0processors:type=text/css&file_type=text/css;TTI"?processors:type=text/css&file_type=text/scss&pipeline=self;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[o:Set:
@hash}
I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"?processors:type=text/css&file_type=text/scss&pipeline=self;TTI"lfile-digest:///home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/users.scss;TTF
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I"�/home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/stylesheets/application.css?type=text/css&pipeline=debug&id=7b9fb1a8a26daf011498da5d904c5463a2eeae3f257b3d5161f53ea37e1b563e:ET
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I"�/home/tanhong/RAILS%20PROJECTS/send_mail_background_job/app/assets/config/manifest.js?type=application/javascript&pipeline=self&id=758849acec513b36bc93b5486ba52c5c70e82fb3485dbdcfccce5002deb4ce1a:ET
Binary file added tmp/cache/bootsnap-compile-cache/0c/8df0b236831235
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/21/e9150242c821f2
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/24/11aad14d6a2c5c
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/36/157497405ec3f4
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/40/2c9bc0d4adaa51
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/58/69dcf835d286fe
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/5f/01d0ce6d3eb630
Binary file not shown.
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/8a/4db0f6416936bd
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/94/dcced9dab024da
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/9d/e8c26dd47e8c19
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/a1/234a6c1eb3adc9
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/a4/4a07e80b31fc83
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/a6/98228eb6b381ac
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/aa/269bceb82bd298
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/b0/8da2718c83382a
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/cc/3bf4d7c004f74b
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/d0/df3eb15ac004d3
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/d7/acb1b6cdb0af89
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/d9/061788604be6fd
Binary file not shown.
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/e8/41f36fe6ca6304
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/eb/72cd65202956ed
Binary file not shown.
Binary file added tmp/cache/bootsnap-compile-cache/f3/f4c8d9163cc29f
Binary file not shown.
Binary file modified tmp/cache/bootsnap-load-path-cache
Binary file not shown.
1 change: 1 addition & 0 deletions tmp/pids/server.pid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
52765

0 comments on commit 27e8f0d

Please sign in to comment.