Module: ActiveRecord::QueryLogs::LegacyFormatter
- Defined in:
 - activerecord/lib/active_record/query_logs_formatter.rb
 
Overview
:nodoc:
Class Method Summary collapse
- 
  
    
      .format(key, value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Formats the key value pairs into a string.
 - .join(pairs) ⇒ Object
 
Class Method Details
.format(key, value) ⇒ Object
Formats the key value pairs into a string.
      8 9 10  | 
    
      # File 'activerecord/lib/active_record/query_logs_formatter.rb', line 8 def format(key, value) "#{key}:#{value}" end  | 
  
.join(pairs) ⇒ Object
      12 13 14  | 
    
      # File 'activerecord/lib/active_record/query_logs_formatter.rb', line 12 def join(pairs) pairs.join(",") end  |