aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation.rb
Commit message (Collapse)AuthorAgeFilesLines
* ignore raw_sql_ table alias that is used by Oracle adapterRaimonds Simanovskis2010-06-041-1/+2
|
* downcase table names in aliased_table_name_for and ↵Raimonds Simanovskis2010-06-041-2/+4
| | | | references_eager_loaded_tables? methods (as Oracle quoted table names are in uppercase)
* Make Relation#inspect less noisyPratik Naik2010-04-021-0/+4
|
* Goodbye ActiveRecord::NamedScope::ScopePratik Naik2010-04-021-0/+11
|
* Oops :extends is not a MULTI_VALUE_METHODPratik Naik2010-04-021-1/+1
|
* Add Relation extensionsPratik Naik2010-04-021-2/+6
|
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+2
|
* From and lock should be defined to be consistent with other ivars. Limit and ↵Emilio Tagua2010-03-221-5/+2
| | | | | | | | offset are always defined, no need to test that. [#4253 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* cleaning up many more warnings in activerecord [#4180 state:resolved]Aaron Patterson2010-03-151-0/+3
| | | | Signed-off-by: wycats <wycats@gmail.com>
* cleaning up some test warningsAaron Patterson2010-03-141-0/+5
| | | | Signed-off-by: wycats <wycats@gmail.com>
* removing spawn from SpawnMethodsAaron Patterson2010-03-101-0/+4
| | | | Signed-off-by: wycats <wycats@gmail.com>
* 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 ↵Pratik Naik2010-01-191-1/+1
| | | | Calculations module
* Add Relation#construct_relation_for_association_calculations for ↵Pratik Naik2010-01-191-4/+7
| | | | calculations with includes
* Add Relation#find_with_associations to load relation with eager loaded ↵Pratik Naik2010-01-191-25/+4
| | | | associations
* 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
|