aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* no need to to_sym the column name, leave it as-isAaron Patterson2013-07-021-1/+1
* resolve aliases before passing the hash to the predicate builderAaron Patterson2013-07-022-4/+11
* avoid intermediate zipped arrayAaron Patterson2013-07-011-3/+2
* make the identity type a singleton to save on object creationAaron Patterson2013-07-011-3/+1
* only deal with strings internallyAaron Patterson2013-07-011-3/+3
* build an AST rather than slapping strings togetherAaron Patterson2013-07-011-11/+7
* stop exposing the underlying alias datastructureAaron Patterson2013-07-011-4/+4
* we don't need to to_s the columnAaron Patterson2013-07-011-1/+1
* the data structure used to store attribute aliases should not be exposedAaron Patterson2013-07-011-2/+2
* Remove deprecated `:distinct` option from `Relation#count`.Yves Senn2013-07-011-5/+0
* Merge pull request #11161 from dmitry/find_in_batches_works_without_loggerCarlos Antonio da Silva2013-06-281-2/+2
|\
| * find_in_batches should work without loggerDmitry Polushkin2013-06-281-2/+2
* | Remove order_values argument now that default_scope is simplifiedCarlos Antonio da Silva2013-06-281-5/+5
* | Simplify/fix implementation of default scopesJon Leighton2013-06-285-17/+5
* | Merge pull request #10992 from Empact/find-each-enumeratorCarlos Antonio da Silva2013-06-251-2/+13
|\ \
| * | When .find_each is called without a block, return an Enumerator.Ben Woosley2013-06-191-2/+13
| |/
* / flatten merged join_values before building the joinsNeeraj Singh2013-06-221-1/+1
|/
* Merge pull request #10898 from dmitry/find_first_refactor_duplicationRafael Mendonça França2013-06-141-11/+10
|\
| * rename method `find_first_records` to `find_first_with_limit`Dmitry Polushkin2013-06-101-3/+3
| * Refactored ActiveRecord `first` method to get rid of duplication.Dmitry Polushkin2013-06-091-11/+10
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-06-142-22/+85
|\ \
| * | copy edits [ci skip]Vijay Dev2013-06-141-19/+15
| * | doc: renaming table name to follow the file's standardsThiago Pinto2013-06-081-2/+2
| * | instructions for variations and alternatives for ActiveRecord#findThiago Pinto2013-06-081-1/+35
| * | explaining ActiveRecord#first in rails 3 and 4Thiago Pinto2013-06-081-0/+13
| * | lists the options for find_each and find_in_batchesThiago Pinto2013-06-071-17/+37
| * | using Model.all.find_each in rails 3 raises an error and should not be recomm...Thiago Pinto2013-06-071-2/+2
* | | we should apply the default scope before queryingAaron Patterson2013-06-121-1/+2
* | | Remove fall back and column restrictions for `count`.Yves Senn2013-06-091-10/+6
* | | Merge pull request #10561 from Empact/nix-throwresultJon Leighton2013-06-072-15/+15
|\ \ \
| * | | Rather than raising ThrowResult when construct_limited_ids_conditions comes u...Ben Woosley2013-05-102-17/+15
| * | | Fix that #pluck wasn't rescuing ThrowResult, meaning it would blow up when fa...Ben Woosley2013-05-101-0/+2
* | | | Remove #sum with a block was deprecated.kennyj2013-06-011-9/+1
* | | | Merge pull request #10767 from jmondo/masterCarlos Antonio da Silva2013-05-291-1/+1
|\ \ \ \
| * | | | use grep over select for consistency and efficiencyJohn Gesimondo2013-05-281-1/+1
* | | | | `implicit_readonly` is being removed in favor of calling `readonly` explicitlyYves Senn2013-05-271-5/+0
|/ / / /
* | | | avoid creating a set if no where values are removedAaron Patterson2013-05-211-0/+2
* | | | remove bind values for where clauses that were removedAaron Patterson2013-05-211-9/+8
* | | | push partitioning up so bind elimination can get the removed wheresAaron Patterson2013-05-211-5/+3
* | | | push partion logic down and initialization logic upAaron Patterson2013-05-211-15/+11
* | | | partition the where values so we can access the removed onesAaron Patterson2013-05-201-1/+6
* | | | eliminate some conditionalsAaron Patterson2013-05-201-3/+3
* | | | change method name to reflect what it actually does.Aaron Patterson2013-05-201-2/+2
* | | | save the where values in variables so we don't need to look them up allAaron Patterson2013-05-201-4/+5
* | | | pass where values to the helper function rather than rely on internal stateAaron Patterson2013-05-201-4/+4
| |/ / |/| |
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-05-121-0/+3
|\ \ \ | |/ / |/| |
| * | added to rdoc for unscope that default_scope winsNeeraj Singh2013-05-031-0/+3
* | | Extract JoinDependency#join_relation to DRY the repeated application of the #...Ben Woosley2013-05-102-7/+2
* | | In #apply_join_dependency, we can apply the #where in-place because relation ...Ben Woosley2013-05-101-1/+1
* | | DRY-up join dependency creation by extracting construct_join_depdencyBen Woosley2013-05-101-7/+5