We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 744b671 commit 73e57e4Copy full SHA for 73e57e4
activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
@@ -798,6 +798,10 @@ def clean! # :nodoc:
798
#
799
# This is useful for when you need to call a proprietary method such as
800
# PostgreSQL's lo_* methods.
801
+ #
802
+ # Active Record cannot track if the database is getting modified using
803
+ # this client. If that is the case, generally you'll want to invalidate
804
+ # the query cache using `ActiveRecord::Base.clear_query_cache`.
805
def raw_connection
806
with_raw_connection do |conn|
807
disable_lazy_transactions!
0 commit comments