aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/finder_methods.rb
Commit message (Expand)AuthorAgeFilesLines
...
| * | explaining ActiveRecord#first in rails 3 and 4Thiago Pinto2013-06-081-0/+13
* | | we should apply the default scope before queryingAaron Patterson2013-06-121-1/+2
* | | Rather than raising ThrowResult when construct_limited_ids_conditions comes u...Ben Woosley2013-05-101-13/+15
|/ /
* | Extract JoinDependency#join_relation to DRY the repeated application of the #...Ben Woosley2013-05-101-4/+1
* | 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
* | true/false => truthy falsySteve Klabnik2013-04-021-2/+2
* | Throwing a RecordNotFound exception when a record is scanned using thewangjohn2013-04-011-11/+24
* | Fixed typos in activerecordPrathamesh Sonpatki2013-03-271-1/+1
* | adds a missing LIMIT 1 in #take docsXavier Noria2013-02-231-1/+1
|/
* Do not instantiate intermediate AR objects when eager loading.Yves Senn2012-12-041-2/+4
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-11-171-1/+1
|\
| * 1.9 Syntax related changesAvnerCohen2012-11-101-1/+1
* | Remove not used indifferent_access requires from Base and FinderMethodsCarlos Antonio da Silva2012-11-071-2/+0
* | Use cached quoted_table_name instead of going through the connectionCarlos Antonio da Silva2012-11-071-1/+1
* | Remove block given check from private find_with_idsCarlos Antonio da Silva2012-11-071-2/+0
|/
* Remove ActiveRecord::ModelJon Leighton2012-10-261-1/+1
* load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-021-1/+0
* AR::Relation#order: make new order prepend old oneBogdan Gusiev2012-07-311-1/+1
* Deprecate Relation#all.Jon Leighton2012-07-271-14/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-06-301-5/+7
|\
| * update AR::FinderMethods#exists?(false) example [ci skip]Francesco Rodriguez2012-06-281-5/+7
* | exists?(false) returns falseEgor Lynko2012-06-251-6/+6
|/
* Address ORA-00911 errors because of the heading underscore.Yasuo Honda2012-06-111-1/+1
* Fix that #exists? raises ThrowResult when called with an empty limitedBen Woosley2012-06-101-0/+2
* Add test to column alias in `exists?` SQL.Rafael Mendonça França2012-06-101-1/+1
* Minimal change to query generation of exists? that makes SQLServer and others...iaddict2012-06-101-1/+1
* fix typo and remove 'examples' noise [ci skip]Francesco Rodriguez2012-05-281-18/+6
* Updates examples for FinderMethods [ci skip]Alvaro Pereyra2012-05-281-2/+14
* Merge branch 'master' of github.com:lifo/docrailsAlvaro Pereyra2012-05-281-0/+1
|\
* | Adds examples to FinderMethods#first [ci skip]Alvaro Pereyra2012-05-281-0/+1
* | Remove blank trailing commentsHenrik Hodne2012-05-201-1/+0
|/
* Return false for exists? with new records - fixes #6199.Andrew White2012-05-101-2/+1
* Use `take` instead of `first` to avoid unwanted implicit ordering (fixes #6147)Marcelo Silveira2012-05-051-4/+4
* clean up implementation of dynamic methods. use method compilation etc.Jon Leighton2012-05-041-41/+0
* Use arel nodes instead of raw sqlMarcelo Silveira2012-05-021-3/+3
* Use Array#first instead of Array#[0]Marcelo Silveira2012-05-021-5/+5
* Introducing `take` as a replacement to the old behavior of `first`Marcelo Silveira2012-05-021-0/+27
* Document `last`, check for primary key on default order and use quoted table ...Marcelo Silveira2012-05-021-2/+5
* Made `first` finder consistent among database engines by adding aMarcelo Silveira2012-05-021-2/+18
* return value of block is returnedAaron Patterson2012-04-301-2/+5
* only yield to finder block if something is foundAaron Patterson2012-04-301-1/+1
* extract deprecated code for #find, #first, #last, #allJon Leighton2012-04-131-105/+36
* use a hash to store relation valuesJon Leighton2012-04-131-7/+7
* mention that coercion only happens when the primary key is an integer and use...Reg Braithwaite2012-04-121-2/+2