Class: ActiveRecord::Relation
- Inherits:
-
Object
- Object
- ActiveRecord::Relation
- Includes:
- LowCardTables::ActiveRecord::Relation
- Defined in:
- lib/low_card_tables.rb
Overview
This patches in our support for queries (like #where) to all ActiveRecord::Relation objects, so that you can say things like User.where(:deleted => false) and it’ll do exactly the right thing, automatically, even if :deleted is actually an attribute on a low-card table associated with User.