Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added ↵ | Jon Leighton | 2010-10-14 | 2 | -2/+17 |
| | | | | test_has_many_through_has_many_with_has_many_through_habtm_source_reflection and make it pass | ||||
* | Merge branch 'master' into nested_has_many_through | Jon Leighton | 2010-10-14 | 8 | -40/+303 |
|\ | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations.rb activerecord/test/cases/associations/cascaded_eager_loading_test.rb | ||||
| * | clear any stale connections before messing with threaded tests | Aaron Patterson | 2010-10-13 | 1 | -0/+1 |
| | | |||||
| * | Update the ActiveRecord tests to not set unused options | Carl Lerche | 2010-10-13 | 2 | -4/+0 |
| | | | | | | This makes a test fail, but it is revealing a bug in Arel master. | ||||
| * | Add some tests for functionality in JoinAssociation which already exists but ↵ | Jon Leighton | 2010-10-13 | 5 | -12/+34 |
| | | | | | | | | was previously untested | ||||
| * | all columns respond to string_to_binary, so no need to check respond_to? | Aaron Patterson | 2010-10-12 | 1 | -3/+8 |
| | | |||||
| * | test quoting a string with an unknown column type | Aaron Patterson | 2010-10-12 | 1 | -0/+4 |
| | | |||||
| * | test quoting multibyte chars object | Aaron Patterson | 2010-10-12 | 1 | -0/+20 |
| | | |||||
| * | test quoting strings with binary columns | Aaron Patterson | 2010-10-12 | 1 | -0/+13 |
| | | |||||
| * | test quoting a string with a float column | Aaron Patterson | 2010-10-12 | 1 | -0/+5 |
| | | |||||
| * | testing quoting a string for an int column | Aaron Patterson | 2010-10-12 | 1 | -0/+12 |
| | | |||||
| * | testing crazy object quoting | Aaron Patterson | 2010-10-12 | 1 | -0/+12 |
| | | |||||
| * | test that dates / times / datetimes call quoted_date | Aaron Patterson | 2010-10-12 | 1 | -0/+10 |
| | | |||||
| * | test quoting of bigdecimals | Aaron Patterson | 2010-10-12 | 1 | -0/+6 |
| | | |||||
| * | testing floats, fixnum, and bignums | Aaron Patterson | 2010-10-11 | 1 | -0/+18 |
| | | |||||
| * | test quoting nils, true, false, id | Aaron Patterson | 2010-10-11 | 1 | -0/+20 |
| | | |||||
| * | getting quoted_time under more specific tests | Aaron Patterson | 2010-10-11 | 1 | -0/+65 |
| | | |||||
| * | starting to get the quote module under test | Aaron Patterson | 2010-10-11 | 1 | -0/+30 |
| | | |||||
| * | Honor distinct option when used with count operation after group clause ↵ | Marcelo Giorgi | 2010-10-11 | 1 | -0/+9 |
| | | | | | | | | [#5721 state:resolved] | ||||
| * | reorder removed in favor of except(:order).order | Santiago Pastorino | 2010-10-11 | 2 | -14/+2 |
| | | |||||
| * | Add callback on skipped migration while copying migrations | Piotr Sarnacki | 2010-10-09 | 1 | -2/+20 |
| | | |||||
| * | Change the method for copying migrations, do not add scope. | Piotr Sarnacki | 2010-10-09 | 1 | -21/+23 |
| | | | | | | | | | | | | | | The purpose of this change is to allow copying fail on the same names. Migrations change database and they should be treated with caution, if 2 migrations are named the same it's much better to skip migration and allow user decide if it should be copied or not. | ||||
| * | fix ruby 1.9 deadlock problem, fixes #5736 add connection pool tests | Hemant Kumar | 2010-10-06 | 1 | -0/+29 |
| | | |||||
* | | Add ↵ | Jon Leighton | 2010-10-13 | 1 | -1/+11 |
| | | | | | | | | test_has_many_through_has_and_belongs_to_many_with_has_many_source_reflection and make it work | ||||
* | | First bit of support for habtm in through assocs - ↵ | Jon Leighton | 2010-10-13 | 2 | -5/+10 |
| | | | | | | | | test_has_many_through_has_many_with_has_and_belongs_to_many_source_reflection now passes | ||||
* | | Add a commented, failing test for using a habtm in a has many through ↵ | Jon Leighton | 2010-10-12 | 2 | -6/+11 |
| | | | | | | | | association. I want to refactor how aliasing works first. | ||||
* | | Add test_has_many_through_has_one_through_with_has_many_source_reflection | Jon Leighton | 2010-10-12 | 1 | -1/+18 |
| | | |||||
* | | Adding test_has_many_through_has_one_with_has_many_through_source_reflection ↵ | Jon Leighton | 2010-10-12 | 1 | -2/+19 |
| | | | | | | | | and modifying ThroughAssociationScope to make it work correctly. | ||||
* | | Rename some tests for consistency | Jon Leighton | 2010-10-12 | 1 | -3/+3 |
| | | |||||
* | | Add test_has_many_through_has_one_through | Jon Leighton | 2010-10-12 | 1 | -2/+14 |
| | | |||||
* | | Support has_one through assocs as the source association | Jon Leighton | 2010-10-12 | 1 | -3/+32 |
| | | |||||
* | | A load of tests that need to be written | Jon Leighton | 2010-10-12 | 1 | -0/+63 |
| | | |||||
* | | Add support for nested through associations in JoinAssociation. Hence ↵ | Jon Leighton | 2010-10-09 | 1 | -5/+54 |
| | | | | | | | | Foo.joins(:bar) will work for through associations. There is some duplicated code now, which will be refactored. | ||||
* | | Merge branch 'master' into nested_has_many_through | Jon Leighton | 2010-10-06 | 5 | -1/+51 |
|\| | |||||
| * | type_name should check for blank because people may have messed up databases | Aaron Patterson | 2010-09-30 | 1 | -0/+14 |
| | | |||||
| * | AssociationCollection#include? working properly for objects added with build ↵ | Marcelo Giorgi | 2010-09-30 | 3 | -0/+26 |
| | | | | | | | | method [#3472 state:resolved] | ||||
| * | group clause must be more specific | Aaron Patterson | 2010-09-30 | 1 | -1/+1 |
| | | |||||
| * | Tests proving #5441 | oleg dashevskii | 2010-09-30 | 1 | -1/+11 |
| | | |||||
* | | Refactoring JoinDependency and friends. This improves the code (IMO) ↵ | Jon Leighton | 2010-10-06 | 5 | -12/+34 |
| | | | | | | | | including adding some explanatory comments, but more importantly structures it in such a way as to allow a JoinAssociation to produce an arbitrary number of actual joins, which will be necessary for nested has many through support. Also added 3 tests covering functionality which existed but was not previously covered. | ||||
* | | A failing test for a nested has many through association loaded via ↵ | Jon Leighton | 2010-10-05 | 1 | -0/+6 |
| | | | | | | | | Foo.joins(:bar) | ||||
* | | Fix the tests (I have actually verified that these are also the 'right' ↵ | Jon Leighton | 2010-10-03 | 6 | -24/+24 |
| | | | | | | | | fixes, rather than just making the tests pass again) | ||||
* | | Add support for table aliasing, with a test that needs aliasing in order to ↵ | Jon Leighton | 2010-10-02 | 1 | -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 Leighton | 2010-10-02 | 1 | -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 Leighton | 2010-10-01 | 1 | -13/+13 |
| | | | | | | | | structure of ThroughAssociationScope rather than layering a module over the top | ||||
* | | Merge branch 'master' into nested_has_many_through_2 | Jon Leighton | 2010-09-30 | 12 | -56/+209 |
|\| | |||||
| * | eliminating method_missing on TableDefinition | Aaron Patterson | 2010-09-29 | 1 | -2/+12 |
| | | |||||
| * | fisting test organization | Aaron Patterson | 2010-09-29 | 2 | -52/+50 |
| | | |||||
| * | Revert "porting 515917f5d8678af6c57842ca5dfd7c18e67ff1fe to master" | Aaron Patterson | 2010-09-28 | 1 | -6/+0 |
| | | | | | | | | This reverts commit bee447a5b9fe1d683c6cc69aefb7fc22c2a9d9af. | ||||
| * | Set attributes properly for model built from association with conditions ↵ | Marcelo Giorgi | 2010-09-28 | 6 | -1/+47 |
| | | | | | | | | | | | | [#5562 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
| * | fixing indentation warning | Aaron Patterson | 2010-09-28 | 1 | -1/+1 |
| | |