PNixx / clickhouse-activerecord

A Ruby database ActiveRecord driver for ClickHouse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEPRECATION WARNING: Calling `ActiveRecord::Base.clear_active_connections! is deprecated.

grk opened this issue · comments

On latest 1.0.2:

RAILS_ENV=test rails db:schema:load:clickhouse_measurements --trace            
** Invoke db:schema:load:clickhouse_measurements (first_time)
** Invoke db:test:purge:clickhouse_measurements (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:load_config
** Invoke db:check_protected_environments (first_time)
** Invoke db:load_config 
** Execute db:check_protected_environments
** Execute db:test:purge:clickhouse_measurements
DEPRECATION WARNING: Calling `ActiveRecord::Base.clear_active_connections! is deprecated. Please call the method directly on the connection handler; for example: `ActiveRecord::Base.connection_handler.clear_active_connections!`. (called from <main> at bin/rails:4)
** Execute db:schema:load:clickhouse_measurements

Rails & ruby versions?

Rails 7.1.2, Ruby 3.3.0