aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Raise a StatementInvalid error when trying to build a condition with hash key...Carl Lerche2010-04-031-1/+3
* Goodbye ActiveRecord::NamedScope::ScopePratik Naik2010-04-021-1/+1
* Make Relation#first and Relation#last behave like named scope'sPratik Naik2010-04-021-2/+18
* Add Relation extensionsPratik Naik2010-04-022-8/+28
* Consistency when using Relation constantsPratik Naik2010-04-021-2/+2
* Arel now handles ranges with excluded end.Emilio Tagua2010-03-291-6/+1
* Warn scoped order and limit are ignored. [#4123 state:resolved]Emilio Tagua2010-03-291-1/+5
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-285-0/+10
* Move methods from association to relation finder methods.Emilio Tagua2010-03-251-2/+11
* Refactor relation merging to create just one relation and then assign values,...Emilio Tagua2010-03-251-22/+14
* From and lock should be defined to be consistent with other ivars. Limit and ...Emilio Tagua2010-03-221-14/+4
* kill where / having method redefine warnings. [#4225 state:resolved]Aaron Patterson2010-03-181-0/+1
* Arel now fallback to using Arel::Attribute if the table/column doesn't exists.Emilio Tagua2010-03-101-3/+1
* removing spawn from SpawnMethodsAaron Patterson2010-03-102-12/+8
* Fix scope loading issue when the table doesn't existPratik Naik2010-03-101-1/+3
* refactoring build_whereAaron Patterson2010-03-061-7/+7
* avoid @lock_value not initialized warningSantiago Pastorino2010-02-221-1/+1
* Move batch finders to RelationPratik Naik2010-02-121-0/+78
* 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