aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/spawn_methods.rb
Commit message (Collapse)AuthorAgeFilesLines
* array subtraction should be faster than iterating over all the elementsNeeraj Singh2010-06-291-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix unintuitive behavior with multiple order and group clausesErnie Miller2010-05-061-1/+6
| | | | | | [#4545 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* 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 ↵Emilio Tagua2010-03-251-22/+14
| | | | values, instead of creating multiple relation objects.
* removing spawn from SpawnMethodsAaron Patterson2010-03-101-6/+2
| | | | Signed-off-by: wycats <wycats@gmail.com>
* 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
|
* Add Relation#exceptPratik Naik2010-01-031-0/+22
|
* Rename a variable name for consistencyPratik Naik2010-01-031-2/+2
|
* Move Relation#spawn and Relation#merge to a separate modulePratik Naik2010-01-031-0/+49