aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Clarify failed assertionJeremy Kemper2009-11-091-1/+1
|
* Relations: Added offset when finding with associations. Delegate array instanceEmilio Tagua2009-10-071-5/+4
| | | | methods to to_a.
* Allow preload and eager_load to work on relations at the same time.Emilio Tagua2009-10-071-0/+22
|
* Moved relation's test to relation_test.Emilio Tagua2009-10-051-0/+11
|
* Added association preload to relation.Emilio Tagua2009-09-011-1/+30
|
* Revert "Revert "Add readonly support for relations.""Emilio Tagua2009-08-271-0/+6
| | | | This reverts commit f2c0725d79e29b02e30e7a4827851acc4a766730.
* Revert "Add readonly support for relations."Emilio Tagua2009-08-271-6/+0
| | | | This reverts commit 7cce95b25ace33e04526d4490e487a080c1f9b96.
* Add readonly support for relations.Emilio Tagua2009-08-271-0/+6
|
* Override respond_to? in ActiveRecord::Relation to go withEmilio Tagua2009-08-181-0/+8
| | | | method_missing.
* Use immutable relation objects to generate queries.Emilio Tagua2009-08-181-10/+10
|
* Fix typo in test classname.Emilio Tagua2009-08-181-1/+1
|
* Use finder options as relation method names to provide more familiarEmilio Tagua2009-08-181-12/+10
| | | | | naming. Use bang methods convention in methods that alter the relation.
* Added collection iteration to AR::Relation.Emilio Tagua2009-08-031-1/+0
|
* Added ActiveRecord::Relation tests. Allow Relation to accept conditionalEmilio Tagua2009-07-311-0/+78
hashes and arrays like #find does.