aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added eager loading support to Relation and ActiveRecord#all.Emilio Tagua2009-10-051-7/+25
|
* Added association preload to relation.Emilio Tagua2009-09-011-0/+8
|
* Revert "Revert "Add readonly support for relations.""Emilio Tagua2009-08-271-1/+11
| | | | This reverts commit f2c0725d79e29b02e30e7a4827851acc4a766730.
* Revert "Add readonly support for relations."Emilio Tagua2009-08-271-11/+1
| | | | This reverts commit 7cce95b25ace33e04526d4490e487a080c1f9b96.
* Add readonly support for relations.Emilio Tagua2009-08-271-1/+11
|
* No need to create a new relation if the argument is blank.Emilio Tagua2009-08-251-6/+6
|
* Override respond_to? in ActiveRecord::Relation to go withEmilio Tagua2009-08-181-0/+8
| | | | method_missing.
* Inline initializer setup.Emilio Tagua2009-08-181-2/+1
|
* Use immutable relation objects to generate queries.Emilio Tagua2009-08-181-37/+34
|
* Use explicit method definition instead of metaprogramming.Emilio Tagua2009-08-181-11/+16
|
* Relation#joins! should know what to join instead of delegating toEmilio Tagua2009-08-181-7/+13
| | | | construct_join.
* Use finder options as relation method names to provide more familiarEmilio Tagua2009-08-181-8/+24
| | | | | naming. Use bang methods convention in methods that alter the relation.
* Use ARel's joins when building a query for finding records with includedEmilio Tagua2009-08-141-3/+9
| | | | associations.
* Added collection iteration to AR::Relation.Emilio Tagua2009-08-031-0/+4
|
* Added ActiveRecord::Relation tests. Allow Relation to accept conditionalEmilio Tagua2009-07-311-1/+14
| | | | hashes and arrays like #find does.
* Introduced ActiveRecord::Relation, a layer between an ARel relation and an ↵Emilio Tagua2009-07-211-0/+39
AR relation