Module: ActiveRecordExtended::Patch::WhereClausePatch
- Defined in:
- lib/active_record_extended/patch/where_clause_patch.rb
Instance Method Summary collapse
Instance Method Details
#modified_predicates(&block) ⇒ Object
6 7 8 |
# File 'lib/active_record_extended/patch/where_clause_patch.rb', line 6 def modified_predicates(&block) ActiveRecord::Relation::WhereClause.new(predicates.map(&block)) end |