aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/spawn_methods.rb
Commit message (Expand)AuthorAgeFilesLines
* default create_with_value to a hash so we can eliminate conditionals, add tes...Aaron Patterson2011-06-271-1/+1
* Evaluate default scopes at the last possible moment in order to avoid problem...Jon Leighton2011-04-121-0/+4
* Reapply extensions when using except and onlyIain Hecker2011-03-211-0/+6
* Remove Relation#& alias for Relation#mergeErnie Miller2011-02-121-2/+0
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-01-201-0/+14
|\
| * document ActiveRecord's except and onlyJordi Romero2011-01-151-0/+14
* | Make Relation#create_with always merge rather than overwrite, not just when m...Jon Leighton2011-01-031-3/+1
* | Let AssociationCollection#find use #scoped to do its finding. Note that I am ...Jon Leighton2011-01-031-1/+1
* | Specify the STI type condition using SQL IN rather than a whole load of ORs. ...Jon Leighton2010-12-311-1/+5
|/
* making relationship merge cheaperAaron Patterson2010-11-301-3/+4
* only returning where values for the corresponding relation, also filtering wh...Aaron Patterson2010-10-301-4/+5
* no need to merge where values if no new where values have been addedAaron Patterson2010-10-301-11/+13
* reduce duplicate where removal to one loopAaron Patterson2010-10-201-15/+13
* swap out some n^2 for some nAaron Patterson2010-10-191-7/+13
* dup rather than create so many arraysAaron Patterson2010-10-191-2/+2
* use array math rather than looping through the arrayAaron Patterson2010-10-191-1/+1
* reorder removed in favor of except(:order).orderSantiago Pastorino2010-10-111-10/+1
* intersection between a relation and an array works in both directionsMarcelo Giorgi2010-09-101-0/+1
* Refactor finder conditions look up and assigment for apply_finder_conditions.Emilio Tagua2010-09-091-13/+7
* Refactor Relation#only. No need to go through every option and test it.Emilio Tagua2010-09-091-8/+6
* No need to go through every option and test it, just don't add skipped ones.Emilio Tagua2010-09-091-4/+4
* Make scoped reorder override previous applied ordersSantiago Pastorino2010-09-051-1/+10
* order should always be concatenated.Neeraj Singh2010-09-051-2/+1
* Change relation merging to always append select, group and order valuesPratik Naik2010-08-311-7/+10
* PERF: Avoid two method callsSantiago Pastorino2010-08-281-1/+1
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-1/+1
* avoid direct use of arel constantsAaron Patterson2010-08-131-2/+4
* Ensure we can nest include calls [#5285 state:resolved]Neeraj Singh2010-08-121-1/+7
* avoid multiple hash lookupsAaron Patterson2010-08-111-2/+6
* array subtraction should be faster than iterating over all the elementsNeeraj Singh2010-06-291-1/+1
* Fix unintuitive behavior with multiple order and group clausesErnie Miller2010-05-061-1/+6
* Add Relation extensionsPratik Naik2010-04-021-4/+7
* Consistency when using Relation constantsPratik Naik2010-04-021-2/+2
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+2
* Refactor relation merging to create just one relation and then assign values,...Emilio Tagua2010-03-251-22/+14
* removing spawn from SpawnMethodsAaron Patterson2010-03-101-6/+2
* Relation#spawn is basically clone + resetPratik Naik2010-01-211-12/+2
* Delegate all finders to RelationPratik Naik2010-01-201-13/+6
* Dont check for class equaity when merging relationsPratik Naik2010-01-181-4/+0
* Inherit named scope class Scope from RelationPratik Naik2010-01-181-3/+3
* Make relations work as scopesPratik Naik2010-01-171-3/+7
* Make merging of order values consistentPratik Naik2010-01-171-1/+1
* Improve the error message for class mismatch on Relation#mergePratik Naik2010-01-171-1/+3
* Make sure Model#active_relation always adds STI conditions if neededPratik Naik2010-01-161-1/+3
* Add Relation#apply_finder_options for applying old finder optionsPratik Naik2010-01-161-0/+23
* Make scopes use relations under the hoodPratik Naik2010-01-161-7/+21
* Delay building arel relation as long as possible for improved introspectionPratik Naik2010-01-121-48/+41
* Add Relation#create_with to explictily specify create scopePratik Naik2010-01-041-0/+10
* Relation#merge and Relation#except should respect locksPratik Naik2010-01-031-1/+3
* Relation#merge and Relation#except should respect havingsPratik Naik2010-01-031-1/+3