aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #11958 from jetthoughts/extract_pre_process_orders_argsYves Senn2013-09-041-13/+16
|\
| * Extracted from `order` processing of arguments, and use it for `reorder` to b...Paul Nikitochkin2013-09-041-13/+16
* | Don't use Enumerable#next in pluck since it is very slowRyan Wallace2013-08-301-2/+1
* | Merge pull request #12090 from njakobsen/merger-performanceAaron Patterson2013-08-301-3/+3
|\ \
| * | Don't create fibers just to iterateNicholas Jakobsen2013-08-301-3/+3
| |/
* | no need to fully qualifyAaron Patterson2013-08-301-1/+1
* | move the cache to the AR models and populate it on inheritedAaron Patterson2013-08-301-20/+29
* | no need for the const_get since we lockAaron Patterson2013-08-301-5/+1
* | require a class for cache computationsAaron Patterson2013-08-301-1/+3
* | cache misses should return selfAaron Patterson2013-08-301-1/+1
|/
* check class hierarchy with is_a? in PredicateBuilder.expandMikhail Dieterle2013-08-271-1/+1
* let AR::FinderMethods#exists? return singletons in all cases [closes #11592]Xavier Noria2013-08-191-7/+7
* Minor optimization and code cleanup in query_methods.Eugene Gilburg2013-07-311-38/+45
* Merge branch 'revert-order-prepending'Rafael Mendonça França2013-07-301-2/+2
|\
| * Revert change on ActiveRecord::Relation#order method that prepends newRafael Mendonça França2013-07-291-2/+2
* | Add ability to specify how a class is converted to Arel predicatesgrif2013-07-283-35/+74
|/
* stop relying on side effects of const_missingAaron Patterson2013-07-231-7/+7
* add a specific factory method rather than using newAaron Patterson2013-07-233-6/+4
* 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
* reorder bind parameters when merging relationsAaron Patterson2013-07-151-2/+18
* use arel rather than slapping together SQL stringsAaron Patterson2013-07-151-2/+4
* Merge pull request #11439 from ernie/only-scan-strings-for-nodesYves Senn2013-07-141-1/+1
|\
| * Blacklist->whitelist for reference scans in order!Ernie Miller2013-07-141-1/+1
* | re-introduce `select_for_count` private method.Yves Senn2013-07-141-5/+10
|/
* Typo fix [skip ci]Ankit Gupta2013-07-121-1/+1
* 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
* 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