method

non_conflicting_binds

rails latest stable - Class: ActiveRecord::Relation::WhereClause

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

non_conflicting_binds(other)
private

No documentation available.

# File activerecord/lib/active_record/relation/where_clause.rb, line 109
        def non_conflicting_binds(other)
          conflicts = referenced_columns & other.referenced_columns
          conflicts.map! { |node| node.name.to_s }
          binds.reject { |attr| conflicts.include?(attr.name) }
        end