Returns an SQL commentString containing the query log tags. Sets
and returns a cached comment if
cache_query_log_tags is true.
# File activerecord/lib/active_record/query_logs.rb, line 116
def comment(connection)
if cache_query_log_tags
self.cached_comment ||= uncached_comment(connection)
else
uncached_comment(connection)
end
end