jhund / filterrific

Filterrific is a Rails Engine plugin that makes it easy to filter, search, and sort your ActiveRecord lists.
http://filterrific.clearcove.ca
MIT License
910 stars 124 forks source link

Release for Rails 7 #207

Closed 0x7466 closed 2 years ago

0x7466 commented 2 years ago

I was wondering if this gem is compatible with Rails 7? I'm currently getting an error that it's only compatible with Rails 5 and 6.

kshahkshah commented 2 years ago

I forked and modified lib/filterrific.rb to:

if ![7,5,6].include?(Rails::VERSION::MAJOR)
  raise "\n\nThis version of Filterrific only works with Rails 5 and 6.\nPlease see the Filterrific README for the correct version of Filterrific to use with your version of Rails!\n\n"
end

and everything appears to be working for me thus far but haven't played around too much as I'm upgrading an old Rails project after being a way for a bit from Ruby. I'd love to help fix any issues holding back a release I'm not seeing yet. @jhund has been maintaining this vastly important gem of the Rails ecosystem for some time solo, think people might be happy to help.

jhund commented 2 years ago

I just released Filterrific 5.2.3 with support for Rails 7