Method: ActiveRecord::QueryMethods#excluding!
- Defined in:
- activerecord/lib/active_record/relation/query_methods.rb
#excluding!(records) ⇒ Object
:nodoc:
1587 1588 1589 1590 1591 |
# File 'activerecord/lib/active_record/relation/query_methods.rb', line 1587 def excluding!(records) # :nodoc: predicates = [ predicate_builder[primary_key, records].invert ] self.where_clause += Relation::WhereClause.new(predicates) self end |