lib/chrono_model/adapter.rb in chrono_model-0.10.0 vs lib/chrono_model/adapter.rb in chrono_model-0.10.1

- old
+ new

@@ -441,10 +441,10 @@ # # Here we reset it to +nil+ to refresh it on the next call, as # there is no way to know which path will be restored when the # transaction ends. # - if @connection.transaction_status == PGconn::PQTRANS_INERROR + if @connection.transaction_status == PG::Connection::PQTRANS_INERROR @schema_search_path = nil else self.schema_search_path = old_path end end