aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-09-281-1/+1
|\
| * `skiping` => `skipping`Vipul A M2013-09-171-1/+1
* | Merge pull request #12011 from jetthoughts/11963_fix_join_with_association_scopeRafael Mendonça França2013-09-161-6/+5
|\ \
| * | Collapse where constraints to one where constraintPaul Nikitochkin2013-09-131-6/+5
* | | Merge pull request #12129 from Empact/deprecate-array-bang-delegationRafael Mendonça França2013-09-121-3/+14
|\ \ \
| * | | Deprecate the delegation of Array bang methods in ActiveRecord::DelegationBen Woosley2013-09-041-3/+14
* | | | Merge pull request #12156 from rywall/from-copy-bindsRafael Mendonça França2013-09-121-0/+1
|\ \ \ \ | |_|_|/ |/| | |
| * | | Allow Relation#from to accept other relations with bind values.Ryan Wallace2013-09-081-0/+1
| | |/ | |/|
* / | Relation#merge should not lose readonly(false) flag.thedarkone2013-09-111-1/+5
|/ /
* | 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