method
filter_binds
filter_binds(lhs_binds, removed_wheres)
private
Hide source
# File activerecord/lib/active_record/relation/merger.rb, line 144 def filter_binds(lhs_binds, removed_wheres) return lhs_binds if removed_wheres.empty? set = Set.new removed_wheres.map { |x| x.left.name.to_s } lhs_binds.dup.delete_if { |col,_| set.include? col.name } end