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
Got a deprecation warning when updating an app to Rails 7.1:
DEPRECATION WARNING: Calling `ActiveRecord::Base.clear_all_connections! is deprecated.
Please call the method directly on the connection handler; for example:
`ActiveRecord::Base.connection_handler.clear_all_connections!`.
(called from before_fork at .rbenv/versions/3.1.4/lib/ruby/gems/3.1.0/bundler/gems/delayed_job_active_record-6e8709f887fa/lib/delayed/backend/active_record.rb:65)
(ActiveSupport::DeprecationException)
Fixed by changing call clear_all_connections! in active_record.rb:65
The text was updated successfully, but these errors were encountered:
Got a deprecation warning when updating an app to Rails 7.1:
Fixed by changing call clear_all_connections! in active_record.rb:65
The text was updated successfully, but these errors were encountered: