method

predicates_unreferenced_by

rails latest stable - Class: ActiveRecord::Relation::WhereClause
predicates_unreferenced_by(other)
private

No documentation available.

# File activerecord/lib/active_record/relation/where_clause.rb, line 159
        def predicates_unreferenced_by(other)
          referenced_columns = other.referenced_columns

          predicates.reject do |node|
            attr = extract_attribute(node) || begin
              node.left if equality_node?(node) && node.left.is_a?(Arel::Predications)
            end

            attr && referenced_columns[attr]
          end
        end