Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename nested_has_many_through_associations_test.rb because it does not only ↵ | Jon Leighton | 2010-10-19 | 1 | -1/+1 |
| | | | | concern has_many associations | ||||
* | Add explicit ordering in relations_test.rb, as the lack of this was causing ↵ | Jon Leighton | 2010-10-19 | 1 | -9/+9 |
| | | | | failures against postgres | ||||
* | Add explicit ordering to nested_has_many_through_associations_test.rb as ↵ | Jon Leighton | 2010-10-19 | 1 | -32/+37 |
| | | | | this was causing failures under postgres | ||||
* | Merge branch 'master' into nested_has_many_through | Jon Leighton | 2010-10-19 | 3 | -14/+38 |
|\ | |||||
| * | should sort these ids before asserting they are equal! | Aaron Patterson | 2010-10-15 | 1 | -1/+1 |
| | | |||||
| * | testing that symbols work as sql literals | Aaron Patterson | 2010-10-15 | 1 | -0/+5 |
| | | |||||
| * | #transaction on the instance level should take options as well | Carl Lerche | 2010-10-14 | 1 | -0/+21 |
| | | |||||
| * | Revert 0c0b0aa0f223523331afdc157fb3992a121bf497 which introduced a security ↵ | Michael Koziarski | 2010-10-15 | 1 | -14/+12 |
| | | | | | | | | | | | | | | | | | | | | vulnerability. This addresses CVE-2010-3933 Conflicts: activerecord/lib/active_record/nested_attributes.rb | ||||
* | | Remove various comments and code which were just being used during the ↵ | Jon Leighton | 2010-10-19 | 1 | -5/+0 |
| | | | | | | | | development of nested through association support (OMFGZ, I might just have nearly finished this\! | ||||
* | | Add explicit tests for the nested through association changes in reflection.rb | Jon Leighton | 2010-10-19 | 1 | -0/+64 |
| | | |||||
* | | Fix broken test | Jon Leighton | 2010-10-19 | 1 | -1/+5 |
| | | |||||
* | | Support the :primary_key option on a through reflection in a nested through ↵ | Jon Leighton | 2010-10-19 | 1 | -1/+16 |
| | | | | | | | | association | ||||
* | | Support for :primary_key option on the source reflection of a through ↵ | Jon Leighton | 2010-10-19 | 2 | -6/+18 |
| | | | | | | | | association, where the source is a has_one or has_many | ||||
* | | Respect the :primary_key option on the through_reflection of (non-nested) ↵ | Jon Leighton | 2010-10-19 | 2 | -2/+37 |
| | | | | | | | | through associations | ||||
* | | Properly support conditions on any of the reflections involved in a nested ↵ | Jon Leighton | 2010-10-19 | 6 | -20/+56 |
| | | | | | | | | through association | ||||
* | | Make sure nested through associations are read only | Jon Leighton | 2010-10-15 | 1 | -0/+42 |
| | | |||||
* | | Add assertions for nested through associations loaded by includes with ↵ | Jon Leighton | 2010-10-15 | 1 | -81/+75 |
| | | | | | | | | conditions (uses the single-query strategy). Currently one failure to fix. | ||||
* | | Support preloading nested through associations (using the default ↵ | Jon Leighton | 2010-10-15 | 1 | -61/+140 |
| | | | | | | | | multi-query strategy) | ||||
* | | Remove unnecessary requires from nested_has_many_through_associations_test.rb | Jon Leighton | 2010-10-14 | 1 | -6/+0 |
| | | |||||
* | | Add test_has_one_through_has_one_through_with_belongs_to_source_reflection | Jon Leighton | 2010-10-14 | 1 | -2/+13 |
| | | |||||
* | | Add test_has_many_through_belongs_to_with_has_many_through_source_reflection ↵ | Jon Leighton | 2010-10-14 | 1 | -1/+12 |
| | | | | | | | | (which already passes) | ||||
* | | Add test_has_many_through_has_many_through_with_belongs_to_source_reflection ↵ | Jon Leighton | 2010-10-14 | 1 | -1/+12 |
| | | | | | | | | (which already works) | ||||
* | | 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. |