aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/query_methods.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-03-291-1/+5
|\
| * Update documentation on group method to indicate it takes an arrayEarl St Sauver2014-03-171-0/+4
| * Fix misspelling in references docsSteven Harman2014-03-141-1/+1
* | `where.not` adds `references` for `includes`.Yves Senn2014-03-171-0/+2
|/
* get rid of intermediate arrays.Yves Senn2014-03-051-2/+3
* we only need to support `asc` and `ASC`. No need for mixed cases. #14263Yves Senn2014-03-051-13/+14
* Allow string hash values on AR order methodMarcelo Casiraghi2014-03-041-3/+6
* [ci skip] correct select examples and doc, ref [522c0fd]Kuldeep Aggarwal2014-03-011-4/+4
* Revert "Merge pull request #13344 from ccutrer/fix-from-default-select"Rafael Mendonça França2014-02-171-2/+0
* No need to use symbolsRafael Mendonça França2014-02-161-3/+3
* Make arel methods private APIRafael Mendonça França2014-02-011-4/+3
* Let `unscope` ignore non Arel scope.where_valuesWashington Luiz2014-01-301-2/+0
* docs, `references` is only used with `includes`. Closes #13727.Yves Senn2014-01-301-9/+14
* Handle aliased attributes in AR::Relation#select, #order, etc.Tsutomu Kuroda2014-01-291-1/+5
* Display value when raising due to unscope() issuesWashington Luiz2014-01-271-1/+1
* prepend table name for `Relation#select` columns.Yves Senn2014-01-211-1/+4
* unscope should remove bind values associated with the whereAaron Patterson2014-01-131-0/+2
* reverse_order_value= is not private, so no need to sendAaron Patterson2014-01-131-1/+1
* avoid more dynamic symbolsAaron Patterson2014-01-131-1/+1
* no need to to_symAaron Patterson2014-01-131-2/+2
* raise `ArgumentError` exception if `Model.where.not` is called with `nil` arg...Kuldeep Aggarwal2013-12-301-0/+2
* fix default select when from is usedCody Cutrer2013-12-191-1/+3
* #none documentation updated [ci skip]Akshay Vishnoi2013-12-181-5/+4
* Spelling and Grammar check [ci skip]Akshay Vishnoi2013-12-161-2/+2
* Merge remote-tracking branch 'docrails/master'Xavier Noria2013-11-241-4/+4
|\
| * Change syntax format for example returned valuesPrem Sichanugrist2013-11-111-4/+4
* | Fix ActiveRecord::Relation#unscopeJon Leighton2013-11-201-5/+12
* | use arel nodes to represent non-string `order_values`.Yves Senn2013-11-191-19/+11
|/
* Added ActiveRecord::QueryMethods#rewhere which will overwrite an existing, na...David Heinemeier Hansson2013-11-021-0/+12
* unscope now works on default_scope after 94924dc32baf78f13e289172534c2e71c9c8...Rafael Mendonça França2013-11-021-3/+0
* Merge branch 'master' into joindepAaron Patterson2013-10-211-1/+8
|\
| * Merge pull request #12588 from jetthoughts/12586_subquery_with_unprepared_sqlRafael Mendonça França2013-10-211-0/+7
| |\
| | * Process sub-query relation's binding valuesPaul Nikitochkin2013-10-201-0/+7
| * | Allow unscope to work with `where.not`Eric Hankins2013-10-211-1/+1
| |/
* / pass the outer joins to join_constraintsAaron Patterson2013-10-201-5/+1
|/
* merge JoinDependency as outer joinsAaron Patterson2013-10-101-1/+1
* stuff the join dependency object in the "anything goes" hash.Aaron Patterson2013-10-101-2/+4
* stop splatting things back and forthAaron Patterson2013-10-101-1/+1
* hide join_constraints inside the JoinDependency objectAaron Patterson2013-10-091-2/+1
* Merge pull request #12011 from jetthoughts/11963_fix_join_with_association_scopeRafael Mendonça França2013-09-161-6/+5
|\
| * Collapse where constraints to one where constraintPaul Nikitochkin2013-09-131-6/+5
* | Allow Relation#from to accept other relations with bind values.Ryan Wallace2013-09-081-0/+1
|/
* Extracted from `order` processing of arguments, and use it for `reorder` to b...Paul Nikitochkin2013-09-041-13/+16
* Minor optimization and code cleanup in query_methods.Eugene Gilburg2013-07-311-38/+45
* Revert change on ActiveRecord::Relation#order method that prepends newRafael Mendonça França2013-07-291-2/+2
* Improve ActiveRecord::QueryMethods#includes docsHenrik Hodne2013-07-171-0/+8
* decouple the manager class from building join constraintsAaron Patterson2013-07-161-4/+5
* save another array allocationAaron Patterson2013-07-151-1/+1
* removing useless assingmentAaron Patterson2013-07-151-1/+1
* use arel rather than slapping together SQL stringsAaron Patterson2013-07-151-2/+4