Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Post.all.or(anything) == Post.all | Sean Griffin | 2015-01-29 | 1 | -2/+2 |
| | |||||
* | Bring the implementation of Relation#or up to speed | Sean Griffin | 2015-01-28 | 1 | -3/+6 |
| | |||||
* | Added #or to ActiveRecord::Relation | Matthew Draper | 2015-01-28 | 1 | -0/+81 |
Post.where('id = 1').or(Post.where('id = 2')) # => SELECT * FROM posts WHERE (id = 1) OR (id = 2) [Matthew Draper & Gael Muller] |