method
or
v5.0.0.1 -
Show latest stable
- Class:
ActiveRecord::Relation::WhereClause
or(other)public
No documentation available.
# File activerecord/lib/active_record/relation/where_clause.rb, line 34
def or(other)
if empty?
self
elsif other.empty?
other
else
WhereClause.new(
[ast.or(other.ast)],
binds + other.binds
)
end
end