aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Handle invalid query IN() generated when a blank array is supplied in hash co...Pratik Naik2010-01-181-1/+2
* Dont check for class equaity when merging relationsPratik Naik2010-01-181-4/+0
* Inherit named scope class Scope from RelationPratik Naik2010-01-182-4/+4
* Make relations work as scopesPratik Naik2010-01-171-3/+7
* Make merging of order values consistentPratik Naik2010-01-171-1/+1
* Rename Model.active_relation to Model.unscopedPratik Naik2010-01-171-2/+2
* 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-163-35/+92
* Use Relation#except for reversing the orderPratik Naik2010-01-121-3/+2
* Delay building arel relation as long as possible for improved introspectionPratik Naik2010-01-124-139/+137
* Add Relation#create_with to explictily specify create scopePratik Naik2010-01-042-0/+14
* 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-032-3/+3
* Move Relation#spawn and Relation#merge to a separate modulePratik Naik2010-01-031-0/+49
* Add Relation#includes to be an equivalent of current finder option :includePratik Naik2010-01-031-0/+4
* Make sure not to spalt string argumentsPratik Naik2010-01-021-1/+1
* Rename Model.arel_table to Model.active_relationPratik Naik2010-01-022-7/+7
* Handle Range with excluded endPratik Naik2010-01-011-1/+8
* Try using cached attribute before creating a new onePratik Naik2010-01-011-1/+1
* Use PredicateBuilder for sql hash sanitizationPratik Naik2010-01-011-2/+4
* Fix the method name for recusionPratik Naik2010-01-011-1/+1
* Move predicate building to a stand alone PredicateBuilder classPratik Naik2010-01-012-30/+40
* Use Arel::Attribute when building where conditions from hashPratik Naik2010-01-011-5/+36
* Use Arel::Attribute for pk conditionsPratik Naik2010-01-011-4/+4
* Organize Relation methods into separate modulesPratik Naik2009-12-303-0/+429