123456789_123456789_123456789_123456789_123456789_

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

Class Method Details

.format(key, value)

Formats the key value pairs into a string.

[ GitHub ]

  
# 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