Paweł Świątkowski
Paweł Świątkowski
I just wanted to bump this as I stumbled upon the bug it solves today. The fix looks correct to me. I'd be happy to help if there's something more...
Oh, I just realized that it works when I specify `WriteType` as `write` ```ruby # not: attribute :value, WriteType, read: ReadType attribute :value, write: WriteType, read: ReadType ``` Not sure...
Actually, that was premature optimism. With `write:` is does not encode the value before putting it in the db, so naturally in this case it does not crash, but it...
I see 2.x was already dropped from rom-sql. So should we do the same here? I can create the PR if needed.
What's the gain here? It makes the spec even harder to follow: first you need to check the `before` callback and then you need to read a private method (which...
Why would ActiveStorage make more sense? I'm not saying it would not, but I'd really like to hear some arguments (because in the other issue about ActiveStorage people seem to...
I haven't used RocksDB in a while, but I don't think it's possible. The keys are just assumed to be strings. There is some discussion about improving on that outlined...
FWIW I can reproduce both errors on M1 Mac and on Linux, so it's a more general problem.
There are two things happening here. First is that indeed gem installation process does not see a directory with rocksdb header files. This can be fixed by passing it like...
If you run ``` gem install rocksdb-ruby -- --with-rocksdb-dir="/opt/homebrew/Cellar/rocksdb/7.5.3" ``` with Ruby 3.0.2, it works correctly, at least for me (the actual path might be different on Intel Mac). So,...