openlitespeed
openlitespeed copied to clipboard
RackRunner.rb incompatible with Rails 7.2
Rails 7.2 removes a host of deprecated methods, including
ActiveRecord::Base.clear_all_connections!
Could change line 136 to:
if defined?(ActiveRecord::Base)
if defined?(ActiveRecord::Base.connection_pool.release_connection)
ActiveRecord::Base.connection_pool.release_connection
else
ActiveRecord::Base.clear_active_connections!
end
end
Thanks for the notification. Will apply it for next release.
Will be in 1.8.2 .