activerecord-hackery--ransack/spec
Andrew Vit 96d0fd75ad Query for negative associations as subquery
When a collection association (has_many, etc) is searched for negative
conditions (NOT...), a JOIN will still include other rows that match.

The implied meaning is that it should only select where *none* of the
associations match, but the actual result still selects records where
*any* of the joined associations match.

This implementation removes joins that were added while building the
conditions and moves them into a subquery if needed.
2016-02-16 12:01:12 -08:00
..
blueprints
helpers
mongoid Support Mongoid 5. 2016-01-06 21:39:58 +01:00
ransack Query for negative associations as subquery 2016-02-16 12:01:12 -08:00
support Gemfile: bump Mongoid back down to v4 2015-12-26 08:10:24 +01:00
console.rb
mongoid_spec_helper.rb Support Mongoid 5. 2016-01-06 21:39:58 +01:00
spec_helper.rb [skip ci] README: Fix RubyGems YARD rendering, add Code Climate 2015-04-05 15:41:02 +05:30