You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix doesn't seem to be sufficient to stop ActiveRecord from including color noise:
{
"name": "rails",
"hostname": "Anachronic.local",
"pid": 42718,
"level": 20,
"time": "2021-09-02T12:56:00.962-07:00",
"v": 0,
"severity": "DEBUG",
"msg": "\u001b[35m (1.9ms) \u001b[34mSELECT COUNT(\"lending_item_loans\".\"lending_item_id\") AS count_lending_item_id, \"lending_item_loans\".\"lending_item_id\" AS lending_item_loans_lending_item_id FROM \"lending_item_loans\" INNER JOIN \"lending_items\" ON \"lending_items\".\"id\" = \"lending_item_loans\".\"lending_item_id\" WHERE \"lending_item_loans\".\"loan_status\" = $1 GROUP BY \"lending_item_loans\".\"lending_item_id\" [[\"loan_status\", \"active\"]]"
}
Probably we need to investigate more what's actually coming through in a Rails context — e.g. is it already escaped by the time we try to decolorize it?
E.g. this noise:
The text was updated successfully, but these errors were encountered: