method
non_conflicting_binds
v5.0.0.1 -
Show latest stable
- Class:
ActiveRecord::Relation::WhereClause
non_conflicting_binds(other)private
No documentation available.
# File activerecord/lib/active_record/relation/where_clause.rb, line 110
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