You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ActiveRecord.connection.verify! fails on Rails 7.1.0+ with ArgumentError: wrong number of arguments (given 1, expected 0) when reconnection is needed, because Rails 7.1 added an optional argumentrestore_transactions: false to the #reconnect! method which is used e.g. inside the #verify!.
This change has been implemented in rails/rails#44573 and it appeared in Rails 7.1.0beta1 for the first time.
ActiveRecord.connection.verify!
fails on Rails 7.1.0+ withArgumentError: wrong number of arguments (given 1, expected 0)
when reconnection is needed, because Rails 7.1 added an optional argumentrestore_transactions: false
to the#reconnect!
method which is used e.g. inside the#verify!
.This change has been implemented in rails/rails#44573 and it appeared in Rails
7.1.0beta1
for the first time.Oracle Enhanced Driver Implementation
oracle-enhanced/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb
Lines 470 to 475 in d5b3daf
Rails 7.1.0beta1 Implementation
https://github.com/rails/rails/blob/2d7bc98897053658ad904b12e5b19a52b8cc3617/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#L560-L565
Rails 7.1.5.1 Implementation
https://github.com/rails/rails/blob/14c115b120ed089331ff3dc13f36bd9129ced33d/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#L680-L712
The text was updated successfully, but these errors were encountered: