-
Notifications
You must be signed in to change notification settings - Fork 553
Description
Question 1: What is the problem?
Deprecation warning with ActiveRecord 7.1.2:
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 clear_all_connections! at /usr/local/bundle/gems/activerecord-7.1.2/lib/active_record/connection_handling.rb:330)
/usr/local/bundle/gems/activerecord-7.1.2/lib/active_record/connection_handling.rb:330:in `clear_all_connections!'
/usr/local/bundle/gems/passenger-6.0.19/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:319:in `before_handling_requests'
<SNIP>
I don't think more context is necessary because I can see in your stable-6.0 and master branches that this deprecated method is being called.
Warnings are only warnings but it would be nice if startup was less noisy. Thanks!
Question 2: Passenger version and integration mode:
open source 6.0.19/nginx
Question 3: OS or Linux distro, platform (including version):
N/A
Question 4: Passenger installation method:
Your answer:
[x] RubyGems + Gemfile
[ ] RubyGems, no Gemfile
[ ] Phusion APT repo
[ ] Phusion YUM repo
[ ] OS X Homebrew
[ ] source tarball
[ ] Other, please specify:
Question 5: Your app's programming language (including any version managers) and framework (including versions):
Ruby 3.2.2, Rails 7.1.2
Question 6: Are you using a PaaS and/or containerization? If so which one?
N/A
Question 7: Anything else about your setup that we should know?
N/A