aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Rely on arel to generate the correct sql when an empty array is supplied to I...Pratik Naik2010-01-301-1/+1
* Clear up some ivar warningsJeremy Kemper2010-01-271-3/+13
* Simplify finder method definitionsPratik Naik2010-01-211-13/+11
* Supplying Arel::SqlLiteral is much fasterPratik Naik2010-01-211-5/+12
* Use quoted_table_name with arel.from() if no from values explicitly supplied....Pratik Naik2010-01-211-2/+4
* Relation#spawn is basically clone + resetPratik Naik2010-01-211-12/+2
* Always use table.* in the finder query unless specifiedPratik Naik2010-01-211-1/+1
* Use @limit_value and @offset_value instead of calling arelPratik Naik2010-01-201-4/+4
* Base.merge_conditions is no longer neededPratik Naik2010-01-201-2/+2
* Delegate exists? to RelationPratik Naik2010-01-201-3/+33
* Move array_of_strings? to RelationPratik Naik2010-01-201-2/+6
* Delegate all finders to RelationPratik Naik2010-01-202-42/+153
* Ignore order for simple calculations to make postgresql happyPratik Naik2010-01-201-1/+2
* Remove Relation#where_clausePratik Naik2010-01-191-2/+2
* Rename CalculationMethods to Calculations and get rid of the old Calculations...Pratik Naik2010-01-191-1/+1
* Move the only remaining calculation method calculate() to RelationPratik Naik2010-01-191-30/+61
* Get rid of construct_count_options_from_argsPratik Naik2010-01-191-30/+0
* Delegate count to RelationPratik Naik2010-01-192-5/+67
* Delegate :average, :minimum, :maximum, :sum to RelationPratik Naik2010-01-191-8/+36
* Add Relation#construct_relation_for_association_calculations for calculations...Pratik Naik2010-01-191-0/+6
* Add Relation#find_with_associations to load relation with eager loaded associ...Pratik Naik2010-01-191-0/+36
* 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