aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Pull the excepts into apply_join_dependency, for the sake of DRY.Ben Woosley2013-05-101-3/+4
* | Simplify conditions within apply_join_dependencyBen Woosley2013-05-101-9/+5
* | Move the except(:select) inside the construct_limited_ids_condition method to...Ben Woosley2013-05-101-2/+2
* | Reject blank order_values within #columns_for_distinct, as the orders aren't ...Ben Woosley2013-05-101-2/+2
* | Fix that #exists? can produce invalid SQL: "SELECT DISTINCT DISTINCT"Ben Woosley2013-05-101-2/+2
* | extracted piece of code into a methodNeeraj Singh2013-05-081-13/+12
* | Handle aliased attributes in ActiveRecord::Relation.Godfrey Chan2013-05-012-8/+22
|/
* add missing :nodoc: marks to ActiveRecord::Delegation [ci skip]Francesco Rodriguez2013-04-291-3/+3
* When empty options passed to having clause having_values was [nil] but should...Fyodor2013-04-231-1/+0
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-04-111-2/+1
|\
| * mark relation mutator as :nodoc: [ci skip]Francesco Rodriguez2013-04-021-2/+1
* | Remove warningCarlos Antonio da Silva2013-04-101-2/+2
* | converge three lines into oneNeeraj Singh2013-04-101-3/+1
* | While merging relations preserve context for joinsJared Armstrong and Neeraj Singh2013-04-101-2/+30
* | true/false => truthy falsySteve Klabnik2013-04-021-2/+2
* | Prefer find_by over dynamic finders in rdocSam Ruby2013-04-021-1/+1
* | Throwing a RecordNotFound exception when a record is scanned using thewangjohn2013-04-011-11/+24
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-03-301-1/+1
|\
| * Fix typoCarson McDonald2013-03-221-1/+1
| * Fix typo, ording to orderingCarson McDonald2013-03-181-1/+1
| * Uniq cannot be used directly on an ActiveRecord model. 'DISTINCT field' is th...Daniel Lobato2013-03-121-1/+1
* | Merge pull request #9274 from KrzysiekJ/spaces_in_scope_namesRafael Mendonça França2013-03-271-5/+3
|\ \
| * | Use define_method when method name contains weird characters.Krzysztof Jurewicz2013-03-181-5/+3
* | | Fixed typos in activerecordPrathamesh Sonpatki2013-03-271-1/+1
* | | Fix some typos in AR- CHANGELOG, tests, method doc. fixedVipul A M2013-03-201-1/+1
* | | Merge branch 'master-sec'Aaron Patterson2013-03-181-1/+1
|\ \ \ | |/ / |/| |
| * | stop calling to_sym when building arel nodes [CVE-2013-1854]Aaron Patterson2013-03-151-1/+1
| |/
* | Deprecate the `:distinct` option for `Relation#count`.Yves Senn2013-03-151-2/+7
* | rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-152-11/+13
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-03-051-1/+1
|\
| * Fix WhereChain docs to mention only notErnie Miller2013-03-041-1/+1
* | Remove .all usage from unscope doc examples [ci skip]Carlos Antonio da Silva2013-03-041-4/+4