aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
...
* Fix #6635. We should call Scoping methods, before calling Array methods.kennyj2012-06-101-5/+5
* Remove conditional committed by accidentSantiago Pastorino2012-06-091-1/+1
* Use each_with_object instead of each hereSantiago Pastorino2012-06-091-1/+1
* modulize AR::NullRelationAkira Matsuda2012-06-011-1/+1
* Merge branch 'master-sec'Aaron Patterson2012-05-311-1/+1
|\
| * predicate builder should not recurse for determining where columns.Aaron Patterson2012-05-301-1/+1
* | Fix wrong example for count method with block [ci skip]Carlos Antonio da Silva2012-05-311-1/+1
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-303-22/+32
|\ \
| * | copy edit the batches docs [ci skip]Vijay Dev2012-05-301-9/+7
| * | Adds to Batch processing documentation [ci skip]Alvaro Pereyra2012-05-281-9/+20
| * | fix typo and remove 'examples' noise [ci skip]Francesco Rodriguez2012-05-281-18/+6
| * | Updates examples for FinderMethods [ci skip]Alvaro Pereyra2012-05-281-2/+14
| * | Merge branch 'master' of github.com:lifo/docrailsAlvaro Pereyra2012-05-284-1/+9
| |\ \
| | * | "a sql" -> "an SQL" per API documentation guidelinesMark Rushakoff2012-05-271-1/+1
| | |/
| * | Adds examples to FinderMethods#first [ci skip]Alvaro Pereyra2012-05-281-0/+1
| * | Remove blank trailing commentsHenrik Hodne2012-05-204-8/+0
| |/
* | Yield only one argument instead of splatting.Carlos Antonio da Silva2012-05-281-2/+2
* | Allow blocks for count with ActiveRecord::Relation. Document and test that su...chrisfinne2012-05-281-3/+14
|/
* Relation#from to accept other Relation objectsRadoslav Stankov2012-05-172-6/+31
* assuming there is only one column, we can simplify the type cast loopAaron Patterson2012-05-161-7/+6
* MySQL returns "SUM(DISTINCT(credit_limit))" as the column name unlessAaron Patterson2012-05-161-4/+11
* Fixes issue where SQL fragments prevented type casting based on column type.Erich Menge2012-05-161-8/+3
* Expand and improve #pluck docsJeremy Kemper2012-05-151-6/+27
* Restore support for Model.pluck('sql fragment')Jeremy Kemper2012-05-151-1/+2
* CollectionProxy < RelationJon Leighton2012-05-113-28/+33
* Return false for exists? with new records - fixes #6199.Andrew White2012-05-101-2/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-081-2/+2
|\
| * SpawnMethods#merge returns the intersection when passed an array, and not the...Mitch Crowe2012-05-051-2/+2
* | Use `take` instead of `first` to avoid unwanted implicit ordering (fixes #6147)Marcelo Silveira2012-05-051-4/+4
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-041-1/+1
|\
| * Lowercase.Ben Pickles2012-05-011-1/+1
* | clean up implementation of dynamic methods. use method compilation etc.Jon Leighton2012-05-041-41/+0
* | Use arel nodes instead of raw sqlMarcelo Silveira2012-05-021-3/+3
* | Use Array#first instead of Array#[0]Marcelo Silveira2012-05-021-5/+5
* | Introducing `take` as a replacement to the old behavior of `first`Marcelo Silveira2012-05-021-0/+27
* | Document `last`, check for primary key on default order and use quoted table ...Marcelo Silveira2012-05-021-2/+5
* | Made `first` finder consistent among database engines by adding aMarcelo Silveira2012-05-021-2/+18
|/
* return value of block is returnedAaron Patterson2012-04-301-2/+5
* only yield to finder block if something is foundAaron Patterson2012-04-301-1/+1
* Add ActiveRecord::Base#idstwinturbo2012-04-301-0/+10
* fix interpolation for hash mergingJon Leighton2012-04-252-20/+26
* allow merging a single where valueJon Leighton2012-04-251-1/+1
* Add documentation to the SpawnMethods#merge method.Mitch Crowe2012-04-171-0/+14
* extract deprecated code for #find, #first, #last, #allJon Leighton2012-04-131-105/+36
* extract deprecated #calculate codeJon Leighton2012-04-131-83/+25
* move code out to active_record_deprecated_findersJon Leighton2012-04-131-7/+2
* now we can just manipulate the values hash in #only and #exceptJon Leighton2012-04-132-32/+5
* use a hash to store relation valuesJon Leighton2012-04-133-30/+55
* doesn't make sense for select! to take a blockJon Leighton2012-04-131-8/+3
* remove apply_finder_options call from AssociationScopeJon Leighton2012-04-132-2/+2