method
merge
v8.0.0 -
Show latest stable
- Class:
ActiveRecord::Relation::WhereClause
merge(other)public
No documentation available.
# File activerecord/lib/active_record/relation/where_clause.rb, line 26
def merge(other)
predicates = except_predicates(other.extract_attributes)
WhereClause.new(predicates | other.predicates)
end