Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' into nested_has_many_through | Jon Leighton | 2010-10-28 | 16 | -29/+309 |
|\ | | | | | | | | | | | | | | | Conflicts: activerecord/CHANGELOG activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/test/schema/schema.rb | ||||
| * | fisting test name | Aaron Patterson | 2010-10-27 | 1 | -1/+1 |
| | | |||||
| * | making query cache work with prepared statements | Aaron Patterson | 2010-10-27 | 1 | -0/+6 |
| | | |||||
| * | setting the authorized session clears the statement cache | Aaron Patterson | 2010-10-26 | 1 | -0/+11 |
| | | |||||
| * | add a session authorization setter to the pg connection | Aaron Patterson | 2010-10-26 | 1 | -1/+8 |
| | | |||||
| * | avoiding statement cache if there are no bind values | Aaron Patterson | 2010-10-26 | 1 | -0/+12 |
| | | |||||
| * | bind substitution is working properly | Aaron Patterson | 2010-10-26 | 1 | -0/+8 |
| | | |||||
| * | bind parameters are now typecast | Aaron Patterson | 2010-10-26 | 1 | -0/+14 |
| | | |||||
| * | basic bind parameters are working | Aaron Patterson | 2010-10-26 | 1 | -0/+12 |
| | | |||||
| * | initial exec() method is working in pg adapter | Aaron Patterson | 2010-10-26 | 1 | -0/+17 |
| | | |||||
| * | one more mysql test left! | Aaron Patterson | 2010-10-26 | 1 | -1/+1 |
| | | |||||
| * | mysql tests are mostly passing | Aaron Patterson | 2010-10-26 | 2 | -3/+61 |
| | | |||||
| * | refactoring tests | Aaron Patterson | 2010-10-26 | 1 | -36/+20 |
| | | |||||
| * | type casting bound value based on column associated with value | Aaron Patterson | 2010-10-26 | 1 | -0/+18 |
| | | |||||
| * | exec returns an AR::Result | Aaron Patterson | 2010-10-26 | 2 | -0/+43 |
| | | |||||
| * | adding bind_values to relations | Aaron Patterson | 2010-10-26 | 1 | -0/+9 |
| | | |||||
| * | adding bind value substitution | Aaron Patterson | 2010-10-26 | 1 | -0/+9 |
| | | |||||
| * | removing call to deprecated API, this test is outside AR responsibilities | Aaron Patterson | 2010-10-22 | 1 | -7/+0 |
| | | |||||
| * | has_one maintains the association with separate after_create/after_update | Xavier Noria | 2010-10-22 | 1 | -0/+20 |
| | | | | | | | | | | This way parent models can get their own after_create and after_update callbacks fired after has_one has done its job. | ||||
| * | adding a test to ensure offsets with no limits will work [#5316 state:resolved] | Aaron Patterson | 2010-10-20 | 1 | -0/+6 |
| | | |||||
| * | removing unused variables | Aaron Patterson | 2010-10-20 | 1 | -2/+2 |
| | | |||||
| * | default scope merge where clauses [#5488 state:resolved] | Jan | 2010-10-20 | 2 | -0/+18 |
| | | |||||
| * | scopes can take an object that responds to `call` | Aaron Patterson | 2010-10-19 | 1 | -0/+6 |
| | | |||||
| * | default scope can accept any object that responds to #call | Aaron Patterson | 2010-10-19 | 1 | -0/+18 |
| | | |||||
| * | Allow default_scope to accept a Proc. | Tim Morgan | 2010-10-19 | 1 | -0/+11 |
| | | |||||
| * | Fix SQLite adapter name [#5842 state:resolved] | Anil Wadghule | 2010-10-19 | 3 | -7/+7 |
| | | |||||
* | | 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 |