123456789_123456789_123456789_123456789_123456789_

Class: ActiveRecord::QueryLogs::SQLCommenter

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: activerecord/lib/active_record/query_logs_formatter.rb

Class Method Summary

Class Method Details

.format(key, value)

[ GitHub ]

  
# File 'activerecord/lib/active_record/query_logs_formatter.rb', line 20

def format(key, value)
  "#{key}='#{ERB::Util.url_encode(value)}'"
end

.join(pairs)

[ GitHub ]

  
# File 'activerecord/lib/active_record/query_logs_formatter.rb', line 24

def join(pairs)
  pairs.join(",")
end