or(other)
public

No documentation available.

# File activerecord/lib/active_record/relation/where_clause.rb, line 34
      def or(other)
        left = self - other
        common = self - left
        right = other - common

        if left.empty? || right.empty?
          common
        else
          or_clause = WhereClause.new(
            [left.ast.or(right.ast)],
          )
          common + or_clause
        end
      end