aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation.rb
Commit message (Expand)AuthorAgeFilesLines
* Move batch finders to RelationPratik Naik2010-02-121-1/+1
* Relation should respond to class methodsPratik Naik2010-01-221-1/+1
* Allow calling class methods on a RelationPratik Naik2010-01-221-0/+2
* Supplying Arel::SqlLiteral is much fasterPratik Naik2010-01-211-2/+5
* Use @limit_value and @offset_value instead of calling arelPratik Naik2010-01-201-1/+1
* Move update and update_all to RelationPratik Naik2010-01-201-0/+64
* Dont delegate Relation#update to arelPratik Naik2010-01-201-1/+1
* Delegate delete_all to RelationPratik Naik2010-01-201-2/+19
* Move destroy to RelationPratik Naik2010-01-201-0/+27
* Remove Base.delete as it's same as Relation#deletePratik Naik2010-01-201-0/+20
* Make Relation#destroy_all handle all the casesPratik Naik2010-01-201-3/+33
* Delegate all finders to RelationPratik Naik2010-01-201-2/+0
* Remove Relation#where_clausePratik Naik2010-01-191-5/+1
* Give preference to to_a over arel from Relation#method_missingPratik Naik2010-01-191-3/+4
* Rename CalculationMethods to Calculations and get rid of the old Calculations...Pratik Naik2010-01-191-1/+1
* Add Relation#construct_relation_for_association_calculations for calculations...Pratik Naik2010-01-191-4/+7
* Add Relation#find_with_associations to load relation with eager loaded associ...Pratik Naik2010-01-191-25/+4
* Get rid of Relation#order_clausesPratik Naik2010-01-181-10/+6
* Inherit named scope class Scope from RelationPratik Naik2010-01-181-1/+3
* Ensure that Scope#proxy_scope is always klass. Rename proxy_scope to klass too.Pratik Naik2010-01-181-0/+2
* Make Relation#reload force load the records immediatelyPratik Naik2010-01-171-2/+3
* Remove AR#scope() methodPratik Naik2010-01-161-9/+9
* Make scopes use relations under the hoodPratik Naik2010-01-161-6/+9
* Delay building arel relation as long as possible for improved introspectionPratik Naik2010-01-121-37/+35
* Add Relation#create_with to explictily specify create scopePratik Naik2010-01-041-7/+9
* Ensure using proper engine for Arel::TablePratik Naik2010-01-041-1/+1
* Rename a variable name for consistencyPratik Naik2010-01-031-4/+4
* Move Relation#spawn and Relation#merge to a separate modulePratik Naik2010-01-031-46/+1
* Give preference to the second relation's order when mergingPratik Naik2010-01-031-3/+10
* Further simplify Relation#references_eager_loaded_tables?Pratik Naik2010-01-031-20/+3
* Cache Relation#to_sqlPratik Naik2010-01-031-2/+5
* Make Relation#includes behave exactly like the existing :include optionPratik Naik2010-01-031-3/+30
* Add Relation#includes to be an equivalent of current finder option :includePratik Naik2010-01-031-5/+13
* Implement Relation#create and Relation#create!Pratik Naik2010-01-031-1/+13
* Implement Relation#newPratik Naik2010-01-031-1/+12
* Use arel predicates instead of strings wherever possible when merging relationsPratik Naik2010-01-021-11/+10
* Give higher preference to second relation's equality predicates when mergingPratik Naik2010-01-021-11/+27
* Fix join string for the WHERE clausePratik Naik2010-01-021-1/+1
* Add Relation#table to get the relevant Arel::TablePratik Naik2010-01-011-1/+10
* Add Relation#delete [Pratik Naik, Emilio Tagua]Pratik Naik2010-01-011-0/+4
* Organize Relation methods into separate modulesPratik Naik2009-12-301-239/+1
* Relation#many? shoud load the records if there's a LIMITPratik Naik2009-12-301-1/+1
* Add Relation#any? and Relation#many?Pratik Naik2009-12-301-0/+16
* Oops, add the missing #tap callPratik Naik2009-12-291-1/+1
* Rewrite Relation#readonly, eager_load, preload using Object#tapPratik Naik2009-12-291-12/+4
* Rename Relation#create_new_relation to spawn and refactor preload/eagerload a...Pratik Naik2009-12-291-37/+43
* Refactor Relation#readonly using attr_writerPratik Naik2009-12-291-10/+19
* Relation#respond_to? should take second argument for responding to private me...Pratik Naik2009-12-291-2/+2
* Make sure Relation responds to dynamic finder methodsPratik Naik2009-12-291-1/+9
* Add Relation#size and Relation#empty?Pratik Naik2009-12-291-0/+8