test/dummy/log/development.log in errdo-0.12.0 vs test/dummy/log/development.log in errdo-0.12.1
- old
+ new
@@ -49683,5 +49683,43 @@
UNION ALL
SELECT sql
FROM sqlite_temp_master
WHERE name='index_users_on_email' AND type='index'
[0m
+
+
+Started GET "/" for 127.0.0.1 at 2016-11-20 16:15:38 -0500
+ [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by StaticController#home as HTML
+ Rendered static/home.html.erb (0.3ms)
+Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/static/generic_error" for 127.0.0.1 at 2016-12-01 19:18:45 -0500
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by StaticController#generic_error as HTML
+Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
+
+RuntimeError (standard-error):
+ app/controllers/static_controller.rb:7:in `generic_error'
+
+
+ [1m[35mErrdo::Error Load (0.9ms)[0m SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]]
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "error_occurrences" ("ip", "user_agent", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["user_agent", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "---\nremember_user_token: W1sxXSwiJDJhJDEwJC9DbmZGRzNSQVd4VnlsWVNLdFJtVGUiLCIxNDc5NTkyMzk1LjM0MTExNjciXQ==--8a6748f30e89e765bea9d3050937b6ec2e7b7f89\n_ga: GA1.1.2096945490.1464561447\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 5], ["created_at", "2016-12-02 00:18:45.932184"], ["updated_at", "2016-12-02 00:18:45.932184"]]
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ?[0m [["id", 5]]
+ [1m[35mErrdo::Error Exists (0.5ms)[0m SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 5) LIMIT 1
+ [1m[36mSQL (0.7ms)[0m [1mUPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ?[0m [["occurrence_count", 69], ["last_occurred_at", "2016-12-02 00:18:45.932184"], ["updated_at", "2016-12-02 00:18:45.962370"], ["id", 5]]
+ [1m[35mErrdo::Error Exists (0.2ms)[0m SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 5) LIMIT 1
+ [1m[36mSQL (2.3ms)[0m [1mUPDATE "errors" SET "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = ?[0m [["last_experiencer_id", nil], ["last_experiencer_type", nil], ["updated_at", "2016-12-02 00:18:45.984969"], ["id", 5]]
+ [1m[35m (6.5ms)[0m commit transaction
+ [1m[36mErrdo::ErrorOccurrence Load (0.4ms)[0m [1mSELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1[0m
+ [1m[35mErrdo::ErrorOccurrence Load (0.7ms)[0m SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 OFFSET 1
+ [1m[36mErrdo::ErrorOccurrence Load (4.9ms)[0m [1mSELECT "error_occurrences".* FROM "error_occurrences" ORDER BY created_at DESC LIMIT 1 OFFSET 1[0m
+ [1m[35mErrdo::ErrorOccurrence Load (1.7ms)[0m SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY created_at DESC LIMIT 1 OFFSET 2
+ [1m[36mErrdo::ErrorOccurrence Load (2.3ms)[0m [1mSELECT "error_occurrences".* FROM "error_occurrences" ORDER BY created_at DESC LIMIT 1[0m
+ [1m[35mErrdo::ErrorOccurrence Load (4.1ms)[0m SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY created_at DESC LIMIT 1 OFFSET 100
+ [1m[36mErrdo::ErrorOccurrence Load (1.7ms)[0m [1mSELECT "error_occurrences".* FROM "error_occurrences" ORDER BY created_at DESC LIMIT 1 OFFSET 1[0m
+ [1m[35mErrdo::ErrorOccurrence Load (1.0ms)[0m SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."id" DESC LIMIT 1 OFFSET 1 [["error_id", 5]]
+ [1m[36mErrdo::ErrorOccurrence Load (1.0ms)[0m [1mSELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1[0m [["error_id", 5]]
+ [1m[35mErrdo::ErrorOccurrence Load (1.7ms)[0m SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 0 [["error_id", 5]]
+ [1m[36mErrdo::ErrorOccurrence Load (0.5ms)[0m [1mSELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1[0m