class method
self.uncached_comment
Ruby on Rails 8.1.2
Since v7.0.10 PrivateSignature
self.uncached_comment(connection)
No documentation comment.
Parameters
-
connectionreq
Source
# File activerecord/lib/active_record/query_logs.rb, line 205
def uncached_comment(connection)
content = tag_content(connection)
if content.present?
"/*#{escape_sql_comment(content)}*/"
end
end
Defined in activerecord/lib/active_record/query_logs.rb line 205
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::QueryLogs