File: //usr/local/rvm/gems/default/doc/activerecord-6.1.4.1/ri/ActiveRecord/QueryMethods/or-i.ri
U:RDoc::AnyMethod[iI"or:ETI""ActiveRecord::QueryMethods#or;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"bReturns a new relation, which is the logical union of this relation and the one passed as an ;TI"argument.;To:RDoc::Markup::BlankLine o;
; [I"aThe two relations must be structurally compatible: they must be scoping the same model, and ;TI"`they must differ only by #where (if no #group has been defined) or #having (if a #group is ;TI"present).;T@o:RDoc::Markup::Verbatim; [I":Post.where("id = 1").or(Post.where("author_id = 3"))
;TI"H# SELECT `posts`.* FROM `posts` WHERE ((id = 1) OR (author_id = 3));T:@format0:
@fileI"0lib/active_record/relation/query_methods.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(other);T@FI"QueryMethods;TcRDoc::NormalModule00