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

`where` clause now works with range argument #175

Closed okuramasafumi closed 5 years ago

okuramasafumi commented 5 years ago

This behavior is same as ActiveRecord. We support endless range here, but doesn't support beginless range which will be introduced in Ruby 2.7. That's because Rails 6 supports endless range only. https://edgeguides.rubyonrails.org/6_0_release_notes.html#active-record-notable-changes

syguer commented 5 years ago

Looks good 👍 Could you try to fix compatibility test using this as reference?

okuramasafumi commented 5 years ago

@syguer I did!

syguer commented 5 years ago

Thanks!