Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/services/normalized_marc_record_reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def current_marc_record_ids

def using_postgres?
defined?(ActiveRecord::ConnectionAdapters::PostgreSQLAdapter) &&
ActiveRecord::Base.connection == ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
ActiveRecord::Base.connection.instance_of?(ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)
end

def __pgsql_current_marc_record_ids
Expand Down