class method
self.resolve_prepend_comment
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
self.resolve_prepend_comment(connection)
No documentation comment.
Parameters
-
connectionreq
Source
# File activerecord/lib/active_record/query_logs.rb, line 229
def resolve_prepend_comment(connection)
prepend = connection.pool.db_config.query_log_tags_prepend_comment
prepend.nil? ? prepend_comment : prepend
end
Defined in activerecord/lib/active_record/query_logs.rb line 229
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::QueryLogs