alecdotninja / active_record_distinct_on

Support for `DISTINCT ON` statements when querying with ActiveRecord
MIT License
34 stars 11 forks source link

Support for Rails 7.0 #16

Closed josh-long-raylo closed 2 years ago

josh-long-raylo commented 2 years ago

_active_record_distincton currently doesn't work with Active Record 7.0.0 used by Rails 7.0.

https://github.com/alecdotninja/active_record_distinct_on/blob/master/active_record_distinct_on.gemspec#L20 spec.add_dependency 'activerecord', '>= 5.2', '< 6.2'

alecdotninja commented 2 years ago

Thanks to @yosiat's work in #17, this should now be fixed in v1.3.0. :tada: