Module: ActiveRecord::QueryLogs::LegacyFormatter
Do not use. This module is for internal use only.
Relationships & Source Files | |
Defined in: | activerecord/lib/active_record/query_logs_formatter.rb |
Class Method Summary
-
.format(key, value)
Formats the key value pairs into a string.
- .join(pairs)
Class Method Details
.format(key, value)
Formats the key value pairs into a string.
# File 'activerecord/lib/active_record/query_logs_formatter.rb', line 8
def format(key, value) "#{key}:#{value}" end
.join(pairs)
[ GitHub ]# File 'activerecord/lib/active_record/query_logs_formatter.rb', line 12
def join(pairs) pairs.join(",") end