HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
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::BlankLineo;
;	[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