мое приложение случайно падает в процессе разработки.
Я начинаю использовать Puma, иногда при запросе страницы это происходит sh. Нет журнала, только общая c ошибка 500.
Теперь я переключаюсь на Webrick, то же самое.
CACHE Product Load (0.0ms) SELECT "products".* FROM "products" INNER JOIN "product_relations" ON "products"."id" = "product_relations"."product_id" WHERE "product_relations"."productable_id" = $1 AND "product_relations"."productable_type" = $2 AND "products"."state" = $3 AND "products"."published_at" <= '2020-05-04 20:52:34.630525' ORDER BY "products"."published_at" DESC LIMIT $4 [["productable_id", 34969], ["productable_type", "Content"], ["state", "active"], ["LIMIT", 11]]
CACHE Brand Load (0.0ms) SELECT "brands".* FROM "brands" INNER JOIN "content_brands" ON "brands"."id" = "content_brands"."brand_id" WHERE "content_brands"."content_id" = $1 ORDER BY "brands"."name" ASC LIMIT $2 [["content_id", 34969], ["LIMIT", 11]]
CACHE Product Load (0.0ms) SELECT "products".* FROM "products" INNER JOIN "product_relations" ON "products"."id" = "product_relations"."product_id" WHERE "product_relations"."productable_id" = $1 AND "product_relations"."productable_type" = $2 AND "products"."state" = $3 AND "products"."published_at" <= '2020-05-04 20:52:34.630525' ORDER BY "products"."published_at" DESC LIMIT $4 [["productable_id", 34969], ["productable_type", "Content"], ["state", "active"], ["LIMIT", 11]]
CACHE Brand Load (0.0ms) SELECT "brands".* FROM "brands" INNER JOIN "content_brands" ON "brands"."id" = "content_brands"."brand_id" WHERE "content_brands"."content_id" = $1 ORDER BY "brands"."name" ASC LIMIT $2 [["content_id", 34969], ["LIMIT", 11]]
Rendered app/cells/product_reviews/show.html.haml (Duration: 77.6ms | Allocations: 31933)
Rendered contents/review.html.haml within layouts/application (Duration: 184.7ms | Allocations: 109291)
Completed 500 Internal Server Error in 233ms (ActiveRecord: 23.7ms | Allocations: 140545)
Мне нужно перезагрузить сервер, а затем загрузить страницу. Нет ошибок, только общая c Завершено 500 Внутренняя ошибка сервера
У меня есть в моей разработке.rb
config.consider_all_requests_local = true
и
config.log_level = :debug
Есть ли более глубокий лог ???