active_record_shards icon indicating copy to clipboard operation
active_record_shards copied to clipboard

Conflicting with another database

Open Ankk98 opened this issue 3 years ago • 0 comments

  • Rails 5.2.3
  • gem 'active_record_shards', '~> 4.0.0.beta9'
  • I am using gem 'clickhouse-activerecord', '~> 0.5.7'
  • When I do self.establish_connection CLICKHOUSE_DB, it still connects with default mysql db instead of clickhouse db.
  • I tried the same after removing this gem and it started working as expected.
  • Any idea on what can I do? Am i doing something wrong?

Ankk98 avatar Jan 10 '22 09:01 Ankk98