Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Conflicting with another database #269

@Ankk98

Description

@Ankk98
  • 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions