Sergey Odintsov
Sergey Odintsov
@spyderdfx can you give an example? https://github.com/PNixx/clickhouse-activerecord/blob/master/spec/cases/model_spec.rb#L197-L224 These tests work.
Ruby on Rails version?
Can you check with [0.6.2](https://rubygems.org/gems/clickhouse-activerecord/versions/0.6.2) version?
Yes, `insert_all` incorrect working. I will try fix it.
Fixed in [v1.0.4](https://github.com/PNixx/clickhouse-activerecord/releases/tag/v1.0.4)
I will check
``` % rake db:create:clickhouse Database 'clickhouse_test' already exists ``` Correct behavior when creating a database. Write your version of Ruby, Rails and ClickHouse.
gem version?
Sorry, I mistake. You set in `database.yml` cluster information? ``` cluster_name: 'cluster_name' # optional for creating tables in cluster replica_name: '{replica}' # replica macros name, optional for creating replicated tables...
You can try https://github.com/PNixx/clickhouse-activerecord/issues/55#issuecomment-939715510