Open zerobearing2 opened 5 days ago
Trying to configure a secondary database to clickhouse. Getting a strange error after installing the gem and configuring the database.yml.
database.yml
development: primary: ... clickhouse: adapter: clickhouse database: default host: localhost port: 8123 database_tasks: false
Rails console:
app(dev)> User.first (app):1:in `<main>': wrong number of arguments (given 2, expected 0..1) (ArgumentError)
Without the gem installed, this AR loads just fine.
app(dev)> User.first User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]] => #<User:0x000073476e0a2fe8 id: "05ab38c7-7008-4fc2-b68e-6e5c49d9c4ca", email: "[FILTERED]", ...>
Is Rails 8 support planned soon-ish? Would like to test drive clickhouse with our Rails app.
Need your ruby and rails version
ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux] Rails 8.0.0
Trying to configure a secondary database to clickhouse. Getting a strange error after installing the gem and configuring the database.yml.
database.yml
Rails console:
Without the gem installed, this AR loads just fine.
Is Rails 8 support planned soon-ish? Would like to test drive clickhouse with our Rails app.