aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/nested_has_many_through_associations_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add a commented, failing test for using a habtm in a has many through ↵Jon Leighton2010-10-121-2/+7
| | | | association. I want to refactor how aliasing works first.
* Add test_has_many_through_has_one_through_with_has_many_source_reflectionJon Leighton2010-10-121-1/+18
|
* Adding test_has_many_through_has_one_with_has_many_through_source_reflection ↵Jon Leighton2010-10-121-2/+19
| | | | and modifying ThroughAssociationScope to make it work correctly.
* Rename some tests for consistencyJon Leighton2010-10-121-3/+3
|
* Add test_has_many_through_has_one_throughJon Leighton2010-10-121-2/+14
|
* Support has_one through assocs as the source associationJon Leighton2010-10-121-3/+32
|
* A load of tests that need to be writtenJon Leighton2010-10-121-0/+63
|
* Add support for nested through associations in JoinAssociation. Hence ↵Jon Leighton2010-10-091-5/+54
| | | | Foo.joins(:bar) will work for through associations. There is some duplicated code now, which will be refactored.
* A failing test for a nested has many through association loaded via ↵Jon Leighton2010-10-051-0/+6
| | | | Foo.joins(:bar)
* Add support for table aliasing, with a test that needs aliasing in order to ↵Jon Leighton2010-10-021-0/+5
| | | | work correctly. This test incidentally provides a more complicated test case (4 inner joins, 2 using polymorphism).
* Integrate nested support into ThroughAssociationScope, using my concept of ↵Jon Leighton2010-10-021-12/+12
| | | | generating a 'chain' of reflections to be joined. It seems to work at the moment, all existing tests are passing. There may be further complications as we add more test cases for nested associations, though.
* Started implementing nested :through associations by using the existing ↵Jon Leighton2010-10-011-13/+13
| | | | structure of ThroughAssociationScope rather than layering a module over the top
* Initial nested_has_many_through support [#1152]Bodaniel Jeanes2010-09-261-0/+43