Remove color code sequences in Rails test.log06 Oct 2021 - Tobias Erdle
To remove the weird looking color sequences like in
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m, one needs to
config.colorize_logging = false in the relevant environment files to print plain text. The result after settings this flag is
(0.1ms) PRAGMA foreign_keys.