1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
Abhay Nikam 85b5cd344b Disable colorize logging of SQL and reduce unnecessary invokation of sql_color matching
When the `colorize_logging` is disabled,
logs do not colorize the SQL queries.
But the `sql_color` method is always
invoked which due to regex matching results
in slow queries.

This PR fixes #38685 and removes
unnecessary invokation of `sql_color`
method when `colorize_logging` is disabled
2020-03-11 11:06:08 +05:30
..
active_record/connection_adapters Deduplicate various Active Record schema cache structures 2019-06-03 13:31:42 +02:00
assets
cases Disable colorize logging of SQL and reduce unnecessary invokation of sql_color matching 2020-03-11 11:06:08 +05:30
fixtures Allow AR::Enum definitions with boolean values 2019-12-24 07:05:42 -10:00
migrations
models Support strict_loading on association declarations 2020-02-21 13:11:24 -05:00
schema Merge pull request #37627 2020-02-10 01:00:30 +01:00
support Merge pull request #38401 from vinistock/stop_stringifying_during_attribute_assignment 2020-02-13 16:54:35 -05:00
config.example.yml
config.rb