module ActiveRecord::QueryLogs

def call(sql, connection) # :nodoc:

:nodoc:
def call(sql, connection) # :nodoc:
  comment = self.comment(connection)
  if comment.blank?
    sql
  elsif prepend_comment
    "#{comment} #{sql}"
  else
    "#{sql} #{comment}"
  end
end