Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
none
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Jul 9, 2020
1 parent 67a1817 commit b66b404
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 0 deletions.
Binary file modified db/development.sqlite3
Binary file not shown.
118 changes: 118 additions & 0 deletions log/development.log
Original file line number Diff line number Diff line change
Expand Up @@ -105099,3 +105099,121 @@ Started GET "/cable/" [WebSocket] for ::1 at 2020-07-09 11:26:41 +0700
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
ProductsChannel is transmitting the subscription confirmation
ProductsChannel is streaming from products
Started GET "/" for ::1 at 2020-07-09 15:40:59 +0700
 (0.8ms) SELECT sqlite_version(*)
 (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
Processing by StoreController#index as HTML
 (0.1ms) begin transaction
↳ app/controllers/concerns/current_cart.rb:16:in `rescue in set_cart'
Cart Create (0.3ms) INSERT INTO "carts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2020-07-09 08:40:59.511165"], ["updated_at", "2020-07-09 08:40:59.511165"]]
↳ app/controllers/concerns/current_cart.rb:16:in `rescue in set_cart'
 (4.9ms) commit transaction
↳ app/controllers/concerns/current_cart.rb:16:in `rescue in set_cart'
Rendering store/index.html.erb within layouts/application
Product Load (0.2ms) SELECT DISTINCT "products".* FROM "products" LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]]
↳ app/views/store/index.html.erb:16
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/query-3f93a2cce09f9b1b9e570407809563c8-10-20200707102100813152 (10.8ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/1-20200629062101838469 (0.2ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/1-20200629062101838469 (0.2ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/2-20200707051809596004 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/2-20200707051809596004 (0.2ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/3-20200629062133442280 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/3-20200629062133442280 (0.3ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/4-20200630054422047079 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/4-20200630054422047079 (0.3ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/5-20200707100843786673 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/5-20200707100843786673 (0.2ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/106-20200707102100784379 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/106-20200707102100784379 (0.1ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/107-20200707102100791025 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/107-20200707102100791025 (0.1ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/108-20200707102100795040 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/108-20200707102100795040 (0.1ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/109-20200707102100799359 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/109-20200707102100799359 (0.1ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/110-20200707102100813152 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/110-20200707102100813152 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/query-3f93a2cce09f9b1b9e570407809563c8-10-20200707102100813152 (0.3ms)
 (0.2ms) SELECT COUNT(DISTINCT "products"."id") FROM "products"
↳ app/views/store/index.html.erb:36
Rendered store/index.html.erb within layouts/application (Duration: 74.0ms | Allocations: 34491)
[Webpacker] Everything's up-to-date. Nothing to do
[Webpacker] Everything's up-to-date. Nothing to do
LineItem Exists? (0.1ms) SELECT 1 AS one FROM "line_items" WHERE "line_items"."cart_id" = ? LIMIT ? [["cart_id", 86], ["LIMIT", 1]]
↳ app/views/layouts/application.html.erb:34
Completed 200 OK in 130ms (Views: 99.4ms | ActiveRecord: 7.2ms | Allocations: 59399)


Started GET "/cable" for ::1 at 2020-07-09 15:40:59 +0700
Started GET "/cable/" [WebSocket] for ::1 at 2020-07-09 15:40:59 +0700
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
ProductsChannel is transmitting the subscription confirmation
ProductsChannel is streaming from products
Started GET "/questions" for ::1 at 2020-07-09 15:41:02 +0700
Processing by StoreController#index as HTML
Parameters: {"locale"=>"questions"}
questions translation not available
Cart Load (0.2ms) SELECT "carts".* FROM "carts" WHERE "carts"."id" = ? LIMIT ? [["id", 86], ["LIMIT", 1]]
↳ app/controllers/concerns/current_cart.rb:14:in `set_cart'
Rendering store/index.html.erb within layouts/application
Product Load (0.2ms) SELECT DISTINCT "products".* FROM "products" LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]]
↳ app/views/store/index.html.erb:16
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/query-3f93a2cce09f9b1b9e570407809563c8-10-20200707102100813152 (1.9ms)
 (0.1ms) SELECT COUNT(DISTINCT "products"."id") FROM "products"
↳ app/views/store/index.html.erb:36
Rendered store/index.html.erb within layouts/application (Duration: 8.8ms | Allocations: 5321)
[Webpacker] Everything's up-to-date. Nothing to do
[Webpacker] Everything's up-to-date. Nothing to do
LineItem Exists? (0.2ms) SELECT 1 AS one FROM "line_items" WHERE "line_items"."cart_id" = ? LIMIT ? [["cart_id", 86], ["LIMIT", 1]]
↳ app/views/layouts/application.html.erb:34
Completed 200 OK in 26ms (Views: 20.3ms | ActiveRecord: 0.8ms | Allocations: 15365)


Finished "/cable/" [WebSocket] for ::1 at 2020-07-09 15:41:03 +0700
ProductsChannel stopped streaming from products
Started GET "/" for ::1 at 2020-07-09 15:54:15 +0700
 (0.4ms) SELECT sqlite_version(*)
 (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
Processing by StoreController#index as HTML
Cart Load (0.1ms) SELECT "carts".* FROM "carts" WHERE "carts"."id" = ? LIMIT ? [["id", 86], ["LIMIT", 1]]
↳ app/controllers/concerns/current_cart.rb:14:in `set_cart'
Rendering store/index.html.erb within layouts/application
Product Load (0.3ms) SELECT DISTINCT "products".* FROM "products" LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]]
↳ app/views/store/index.html.erb:16
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/query-3f93a2cce09f9b1b9e570407809563c8-10-20200707102100813152 (13.5ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/1-20200629062101838469 (0.2ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/1-20200629062101838469 (0.1ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/2-20200707051809596004 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/2-20200707051809596004 (0.1ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/3-20200629062133442280 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/3-20200629062133442280 (0.2ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/4-20200630054422047079 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/4-20200630054422047079 (0.3ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/5-20200707100843786673 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/5-20200707100843786673 (0.2ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/106-20200707102100784379 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/106-20200707102100784379 (0.1ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/107-20200707102100791025 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/107-20200707102100791025 (0.2ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/108-20200707102100795040 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/108-20200707102100795040 (0.1ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/109-20200707102100799359 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/109-20200707102100799359 (0.1ms)
Read fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/110-20200707102100813152 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/110-20200707102100813152 (0.1ms)
Write fragment views/store/index:6523eee525f297841bba39ba7eb9735c/products/query-3f93a2cce09f9b1b9e570407809563c8-10-20200707102100813152 (0.4ms)
 (0.3ms) SELECT COUNT(DISTINCT "products"."id") FROM "products"
↳ app/views/store/index.html.erb:36
Rendered store/index.html.erb within layouts/application (Duration: 86.1ms | Allocations: 34133)
[Webpacker] Everything's up-to-date. Nothing to do
[Webpacker] Everything's up-to-date. Nothing to do
LineItem Exists? (0.1ms) SELECT 1 AS one FROM "line_items" WHERE "line_items"."cart_id" = ? LIMIT ? [["cart_id", 86], ["LIMIT", 1]]
↳ app/views/layouts/application.html.erb:34
Completed 200 OK in 126ms (Views: 105.9ms | ActiveRecord: 2.8ms | Allocations: 56116)


Started GET "/cable" for ::1 at 2020-07-09 15:54:16 +0700
Started GET "/cable/" [WebSocket] for ::1 at 2020-07-09 15:54:16 +0700
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
ProductsChannel is transmitting the subscription confirmation
ProductsChannel is streaming from products
Binary file modified tmp/cache/bootsnap-compile-cache/55/b42934ec4209f4
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 @@
9218

0 comments on commit b66b404

Please sign in to comment.