aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Properly support conditions on any of the reflections involved in a nested ↵Jon Leighton2010-10-1916-98/+235
| | | | through association
* Refactoring: replace the mix of variables like @finder_sql, @counter_sql, ↵Jon Leighton2010-10-1711-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 onlyJon Leighton2010-10-156-9/+82
|
* Fix small bug which was shown by the last commitJon Leighton2010-10-151-1/+1
|
* Add assertions for nested through associations loaded by includes with ↵Jon Leighton2010-10-151-81/+75
| | | | conditions (uses the single-query strategy). Currently one failure to fix.
* Support preloading nested through associations (using the default ↵Jon Leighton2010-10-152-122/+216
| | | | multi-query strategy)
* Remove unnecessary requires from nested_has_many_through_associations_test.rbJon Leighton2010-10-141-6/+0
|
* Add test_has_one_through_has_one_through_with_belongs_to_source_reflectionJon Leighton2010-10-147-4/+31
|
* Add test_has_many_through_belongs_to_with_has_many_through_source_reflection ↵Jon Leighton2010-10-142-2/+15
| | | | (which already passes)
* Add test_has_many_through_has_many_through_with_belongs_to_source_reflection ↵Jon Leighton2010-10-142-1/+13
| | | | (which already works)
* Added ↵Jon Leighton2010-10-145-4/+30
| | | | test_has_many_through_has_many_with_has_many_through_habtm_source_reflection and make it pass
* Fix bug in previous refactoringJon Leighton2010-10-141-6/+6
|
* Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-14160-1320/+8646
|\ | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations.rb activerecord/test/cases/associations/cascaded_eager_loading_test.rb
| * Remove :cache => true on lookup templates initialization.José Valim2010-10-147-53/+3
| |
| * SReorganize autoloads slightly and move two files to lib/action_view root.José Valim2010-10-145-11/+8
| |
| * render :once should consider the current controller prefix.José Valim2010-10-145-13/+41
| |
| * Comment internal railties tasks.José Valim2010-10-141-1/+1
| |
| * Use railtie_name to correctly get name from pluginsPiotr Sarnacki2010-10-141-1/+1
| |
| * Remove task for creating symlinks for railtiesPiotr Sarnacki2010-10-142-76/+0
| |
| * Update documentation for new tasksPiotr Sarnacki2010-10-141-7/+8
| |
| * Add task foo:install (where foo is plugin) as a shortcutinstall:migrations ↵Piotr Sarnacki2010-10-142-0/+30
| | | | | | | | and foo:install:assets
| * Added foo:install:assets task that copies assets from plugins public ↵Piotr Sarnacki2010-10-143-5/+47
| | | | | | | | | | | | | | | | | | | | | | directory to application's public directory This is the most simple and naive approach: just copy every files from engine to app. The only exception is when file has changed, in that case developer will be asked if he wants to rename the field. There is no need to make this task more sophisticated as 3.1 will be shipped with better assets handling and it will be the default way to handle things.
| * Do not treat information about skipped migrations as WARNINGs but as a ↵Piotr Sarnacki2010-10-143-6/+12
| | | | | | | | NOTEs, also puts to stdin
| * Revert "speeding up flattened version of OrderedHash.[]"Aaron Patterson2010-10-131-2/+3
| | | | | | | | This reverts commit 9c53e82d66d0c34b8f35609b7972f28521d5794d.
| * speeding up flattened version of OrderedHash.[]Aaron Patterson2010-10-131-3/+2
| |
| * refactor delete a littleAaron Patterson2010-10-131-4/+1
| |
| * use unless instead of if !Aaron Patterson2010-10-131-1/+1
| |
| * clear any stale connections before messing with threaded testsAaron Patterson2010-10-131-0/+1
| |
| * Update the ActiveRecord tests to not set unused optionsCarl Lerche2010-10-133-19/+0
| | | | | | This makes a test fail, but it is revealing a bug in Arel master.
| * Update the PostgreSQL adapter documentationCarl Lerche2010-10-131-2/+0
| |
| * rb_thread_select should always be used in DB drivers when available.Carl Lerche2010-10-131-1/+1
| |
| * Delete unused methods in JoinAssociationJon Leighton2010-10-131-8/+0
| |
| * Renaming and formatting changes in JoinDependencyJon Leighton2010-10-132-49/+56
| |
| * Refactor JoinDependency and friends so that a JoinAssociation can produce an ↵Jon Leighton2010-10-132-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 Leighton2010-10-137-12/+43
| | | | | | | | was previously untested
| * stop using deprecated arel APIAaron Patterson2010-10-121-2/+2
| |
| * getting started guide: deletes orphan <% end %>, reported by Michael L. MillerXavier Noria2010-10-121-1/+0
| |
| * fixes spelling of jQuery and PrototypeXavier Noria2010-10-121-1/+1
| |
| * dry up column type testingAaron Patterson2010-10-121-5/+5
| |
| * all columns respond to string_to_binary, so no need to check respond_to?Aaron Patterson2010-10-123-5/+19
| |
| * drying up true and false casesAaron Patterson2010-10-121-3/+7
| |
| * reducing comparisons in when statementsAaron Patterson2010-10-121-6/+6
| |
| * removing intermediate variablesAaron Patterson2010-10-121-2/+1
| |
| * reduce the number of times we test for the column variableAaron Patterson2010-10-121-2/+5
| |
| * test quoting a string with an unknown column typeAaron Patterson2010-10-121-0/+4
| |
| * refactoring date / time / datetime when statementAaron Patterson2010-10-121-11/+8
| |
| * fixing case / when indentationAaron Patterson2010-10-121-20/+20
| |
| * test quoting multibyte chars objectAaron Patterson2010-10-121-0/+20
| |
| * test quoting strings with binary columnsAaron Patterson2010-10-121-0/+13
| |
| * test quoting a string with a float columnAaron Patterson2010-10-121-0/+5
| |