method
excluding!
v7.2.3 -
Show latest stable
- Class:
ActiveRecord::QueryMethods
excluding!(records)public
No documentation available.
# File activerecord/lib/active_record/relation/query_methods.rb, line 1567
def excluding!(records) # :nodoc:
predicates = [ predicate_builder[primary_key, records].invert ]
self.where_clause += Relation::WhereClause.new(predicates)
self
end