Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bugfix/refactoring | Jon Leighton | 2010-10-19 | 3 | -11/+20 |
| | |||||
* | Remove unused methods | Jon Leighton | 2010-10-19 | 1 | -11/+0 |
| | |||||
* | Support for :primary_key option on the source reflection of a through ↵ | Jon Leighton | 2010-10-19 | 10 | -18/+41 |
| | | | | 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 | 9 | -11/+65 |
| | | | | through associations | ||||
* | Properly support conditions on any of the reflections involved in a nested ↵ | Jon Leighton | 2010-10-19 | 16 | -98/+235 |
| | | | | through association | ||||
* | Refactoring: replace the mix of variables like @finder_sql, @counter_sql, ↵ | Jon Leighton | 2010-10-17 | 11 | -154/+138 |
| | | | | etc with just a single scope hash (created on initialization of the proxy). This is now used consistently across all associations. Therefore, all you have to do to ensure finding/counting etc is done correctly is implement the scope correctly. | ||||
* | Make sure nested through associations are read only | Jon Leighton | 2010-10-15 | 6 | -9/+82 |
| | |||||
* | Fix small bug which was shown by the last commit | Jon Leighton | 2010-10-15 | 1 | -1/+1 |
| | |||||
* | 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 | 2 | -122/+216 |
| | | | | 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 | 7 | -4/+31 |
| | |||||
* | Add test_has_many_through_belongs_to_with_has_many_through_source_reflection ↵ | Jon Leighton | 2010-10-14 | 2 | -2/+15 |
| | | | | (which already passes) | ||||
* | Add test_has_many_through_has_many_through_with_belongs_to_source_reflection ↵ | Jon Leighton | 2010-10-14 | 2 | -1/+13 |
| | | | | (which already works) | ||||
* | Added ↵ | Jon Leighton | 2010-10-14 | 5 | -4/+30 |
| | | | | test_has_many_through_has_many_with_has_many_through_habtm_source_reflection and make it pass | ||||
* | Fix bug in previous refactoring | Jon Leighton | 2010-10-14 | 1 | -6/+6 |
| | |||||
* | Merge branch 'master' into nested_has_many_through | Jon Leighton | 2010-10-14 | 29 | -163/+450 |
|\ | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations.rb activerecord/test/cases/associations/cascaded_eager_loading_test.rb | ||||
| * | Do not treat information about skipped migrations as WARNINGs but as a ↵ | Piotr Sarnacki | 2010-10-14 | 1 | -1/+1 |
| | | | | | | | | NOTEs, also puts to stdin | ||||
| * | 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 | 3 | -19/+0 |
| | | | | | | This makes a test fail, but it is revealing a bug in Arel master. | ||||
| * | Update the PostgreSQL adapter documentation | Carl Lerche | 2010-10-13 | 1 | -2/+0 |
| | | |||||
| * | rb_thread_select should always be used in DB drivers when available. | Carl Lerche | 2010-10-13 | 1 | -1/+1 |
| | | |||||
| * | Delete unused methods in JoinAssociation | Jon Leighton | 2010-10-13 | 1 | -8/+0 |
| | | |||||
| * | Renaming and formatting changes in JoinDependency | Jon Leighton | 2010-10-13 | 2 | -49/+56 |
| | | |||||
| * | Refactor JoinDependency and friends so that a JoinAssociation can produce an ↵ | Jon Leighton | 2010-10-13 | 2 | -157/+266 |
| | | | | | | | | arbitrary number of joins, which will be needed in order to support nested through associations. | ||||
| * | Add some tests for functionality in JoinAssociation which already exists but ↵ | Jon Leighton | 2010-10-13 | 7 | -12/+43 |
| | | | | | | | | was previously untested | ||||
| * | stop using deprecated arel API | Aaron Patterson | 2010-10-12 | 1 | -2/+2 |
| | | |||||
| * | dry up column type testing | Aaron Patterson | 2010-10-12 | 1 | -5/+5 |
| | | |||||
| * | all columns respond to string_to_binary, so no need to check respond_to? | Aaron Patterson | 2010-10-12 | 3 | -5/+19 |
| | | |||||
| * | drying up true and false cases | Aaron Patterson | 2010-10-12 | 1 | -3/+7 |
| | | |||||
| * | reducing comparisons in when statements | Aaron Patterson | 2010-10-12 | 1 | -6/+6 |
| | | |||||
| * | removing intermediate variables | Aaron Patterson | 2010-10-12 | 1 | -2/+1 |
| | | |||||
| * | reduce the number of times we test for the column variable | Aaron Patterson | 2010-10-12 | 1 | -2/+5 |
| | | |||||
| * | test quoting a string with an unknown column type | Aaron Patterson | 2010-10-12 | 1 | -0/+4 |
| | | |||||
| * | refactoring date / time / datetime when statement | Aaron Patterson | 2010-10-12 | 1 | -11/+8 |
| | | |||||
| * | fixing case / when indentation | Aaron Patterson | 2010-10-12 | 1 | -20/+20 |
| | | |||||
| * | 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 |
| | | |||||
| * | we should always cast the value based on the column | Aaron Patterson | 2010-10-11 | 1 | -1/+1 |
| | | |||||
| * | removing freeze | Aaron Patterson | 2010-10-11 | 1 | -3/+3 |
| | | |||||
| * | Honor distinct option when used with count operation after group clause ↵ | Marcelo Giorgi | 2010-10-11 | 2 | -4/+17 |
| | | | | | | | | [#5721 state:resolved] |