Cleaner syntax for writing OR Query in Rails 5, 6. And also add #or support to Rails 3 and 4.

RailsOr rails_or is a Ruby Gem for you to write cleaner OR query. It will use built-in or method, which was added in Rails 5, when possible, so that you don't need to worry about that it will polulate active_model. Otherwi

Related Repos


12

fabrikatorio Sortiri is a clean and lightweight solution for making ActiveRecord::Base objects sortable.