active-hash / active_hash

A readonly ActiveRecord-esque base class that lets you use a hash, a Yaml file or a custom file as the datasource
MIT License
1.2k stars 179 forks source link

Rails 7 Compatibility #252

Closed adampal closed 1 year ago

adampal commented 2 years ago

The test suite fails when run against Rails 7. It seems there have been some breaking changes introduced in ActiveRecord.

Some more discussion here: https://github.com/active-hash/active_hash/issues/249

Idletime-studios commented 1 year ago

Was just following up on this.

I have tried most recent released version and it doesn't seem to work as expected. example: search for id 6, and return result for id 2

Any ideas?

adampal commented 1 year ago

@Idletime-studios there is a fix in the works here: https://github.com/active-hash/active_hash/pull/267

kbrock commented 1 year ago

Looks like this has all been merged. Holler if I am wrong here.

jmartyniak commented 1 year ago

@kbrock @adampal i will check it tomorrow. Thank you!