aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Added ActiveRecord::QueryMethods#rewhere which will overwrite an existing, na...David Heinemeier Hansson2013-11-021-0/+12
* unscope now works on default_scope after 94924dc32baf78f13e289172534c2e71c9c8...Rafael Mendonça França2013-11-021-3/+0
* Merge branch 'master' into joindepAaron Patterson2013-10-212-1/+10
|\
| * Merge pull request #12588 from jetthoughts/12586_subquery_with_unprepared_sqlRafael Mendonça França2013-10-211-0/+7
| |\
| | * Process sub-query relation's binding valuesPaul Nikitochkin2013-10-201-0/+7
| * | Allow unscope to work with `where.not`Eric Hankins2013-10-211-1/+1
| * | 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
* | pass the outer joins to join_constraintsAaron Patterson2013-10-201-5/+1
* | Merge branch 'master' into joindepAaron Patterson2013-10-152-15/+13
|\|
| * Stop accepting `options` for `Relation#average`, `Relation#minimum`, `Relatio...Vipul A M2013-10-141-10/+10
| * `Relation#count` doesn't use options anymore.Vipul A M2013-10-131-3/+2
| * 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
|/ /
* | merge JoinDependency as outer joinsAaron Patterson2013-10-101-1/+1
* | stuff the join dependency object in the "anything goes" hash.Aaron Patterson2013-10-103-4/+6
* | stop splatting things back and forthAaron Patterson2013-10-101-1/+1
* | hide join_constraints inside the JoinDependency objectAaron Patterson2013-10-091-2/+1
|/
* 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
|/