activerecord-filter
activerecord-filter copied to clipboard
A safe way to accept user parameters and query against your ActiveRecord Models
https://github.com/malomalo/activerecord-filter/blob/50fce177a0577a256e97cb7baae34f93ce058bf4/lib/active_record/filter.rb#L125 and https://github.com/malomalo/activerecord-filter/blob/50fce177a0577a256e97cb7baae34f93ce058bf4/lib/active_record/filter.rb#L131 require "AND" and "OR" to be uppercase, but we should also support lowercase
The other Jobs in the Workflow seemed to have their own relationship to Bundler installation. --- This PR uses the `bundler-cache` feature of the Ruby-maintained Action `ruby/setup-ruby`. [See `ruby/setup-ruby` parameters...
If there was a way to do this without a counter cache column, that would be ideal. For example, how to query orders by how many have no items, 1...