1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
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 Disable colorize logging of SQL and reduce unnecessary invokation of sql_color matching 2020-03-11 11:06:08 +05:30
arel Refactor invert predicate 2020-03-04 09:28:51 -05:00
rails/generators Deprecate spec_name and use name for configurations 2020-02-24 13:27:07 -05:00
active_record.rb Move advisory lock to it's own connection 2020-01-23 14:36:32 -05:00
arel.rb Fix unscope when an eq node which has no arel attribute 2020-02-27 18:43:56 +09:00