aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/finder_methods.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix offset with last.Lauro Caetano2013-12-031-1/+1
* document id prefixed String usage of `.find`. refs #12891 [ci skip]Yves Senn2013-11-151-5/+6
* Merge branch 'master' into joindepAaron Patterson2013-10-211-0/+2
|\
| * Raise an exception when model without primary key calls .find_with_idsShimpei Makimoto2013-10-211-0/+2
| * Don't remove the select values to add they back againRafael Mendonça França2013-10-151-1/+1
* | Merge branch 'master' into joindepAaron Patterson2013-10-151-2/+1
|\|
| * Merge pull request #11791 from versioncontrol/includes_with_persistent_selectRafael Mendonça França2013-10-121-1/+1
| |\
| | * Fixes #11773 when using includes combined with select, the select statement w...Edo Balvers2013-10-081-1/+1
* | | keep a cache on the alias objectAaron Patterson2013-10-141-1/+1
* | | store aliases in a better structureAaron Patterson2013-10-141-1/+3
* | | eliminate single use methodAaron Patterson2013-10-131-6/+3
* | | eliminate duplicate code from to_sqlAaron Patterson2013-10-131-4/+8
* | | calling construct_relation_for_association_find is no longer necessaryAaron Patterson2013-10-131-1/+1
* | | push up `select` exclusionAaron Patterson2013-10-131-3/+4
* | | JoinDependency will take care of making things uniqueAaron Patterson2013-10-131-1/+1
|/ /
* / stuff the join dependency object in the "anything goes" hash.Aaron Patterson2013-10-101-1/+1
|/
* let AR::FinderMethods#exists? return singletons in all cases [closes #11592]Xavier Noria2013-08-191-7/+7
* fix visibility of the relation construction methodsAaron Patterson2013-07-091-5/+7
* pass arel to select_all rather than depend on method_missingAaron Patterson2013-07-091-1/+1
* Extract common query to a constant.Vipul A M2013-07-061-1/+3
* 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-281-2/+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-141-3/+46
|\ \
| * | 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
* | | 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
|/