aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation/or_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Post.all.or(anything) == Post.allSean Griffin2015-01-291-2/+2
|
* Bring the implementation of Relation#or up to speedSean Griffin2015-01-281-3/+6
|
* Added #or to ActiveRecord::RelationMatthew Draper2015-01-281-0/+81
Post.where('id = 1').or(Post.where('id = 2')) # => SELECT * FROM posts WHERE (id = 1) OR (id = 2) [Matthew Draper & Gael Muller]