aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Updated RUNNING_UNIT_TESTS documentation with mention of the build_databases ↵Nathan Zook and Ryan Bigg2010-10-111-1/+6
| | | | | | | | | | | | rake tasks.
| * | Updated DOCS for engines and added a couple TODOs. Also, commented internal ↵José Valim2010-10-111-1/+1
| | | | | | | | | | | | railties rake tasks description.
| * | Always pull in version for frameworks (standardize autoload / require / none)wycats2010-10-101-2/+2
| | |
| * | Rename rake railties:copy_migrations to rake railties:install:migrations and ↵Piotr Sarnacki2010-10-091-23/+25
| | | | | | | | | | | | fix it to work with new copying strategy
| * | Add callback on skipped migration while copying migrationsPiotr Sarnacki2010-10-092-9/+40
| | |
| * | Change the method for copying migrations, do not add scope.Piotr Sarnacki2010-10-096-30/+60
| | | | | | | | | | | | | | | | | | | | | 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.
| * | removing false commentAaron Patterson2010-10-071-2/+0
| |/
| * Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-10-061-1/+1
| |\
| | * Fix serialization :include option nameEvgeniy Dolzhenko2010-10-011-1/+1
| | |
| * | fix ruby 1.9 deadlock problem, fixes #5736 add connection pool testsHemant Kumar2010-10-062-8/+35
| | |
| * | Provide a cleaner syntax for paths configuration that does not rely on ↵José Valim2010-10-061-3/+3
| | | | | | | | | | | | method_missing.
* | | Add ↵Jon Leighton2010-10-133-4/+41
| | | | | | | | | | | | test_has_many_through_has_and_belongs_to_many_with_has_many_source_reflection and make it work
* | | Refactoring ThroughAssociationScope#construct_through_joinsJon Leighton2010-10-131-54/+62
| | |
* | | First bit of support for habtm in through assocs - ↵Jon Leighton2010-10-136-30/+84
| | | | | | | | | | | | test_has_many_through_has_many_with_has_and_belongs_to_many_source_reflection now passes
* | | Hook ThroughAssociationScope up to use the AliasTracker classJon Leighton2010-10-131-9/+30
| | |
* | | Some small tweaks on the last commitJon Leighton2010-10-122-19/+12
| | |
* | | Extract aliasing code from JoinDependency and JoinAssociation into a ↵Jon Leighton2010-10-122-41/+83
| | | | | | | | | | | | separate AliasTracker class. This can then be used by ThroughAssociationScope as well.
* | | Add a commented, failing test for using a habtm in a has many through ↵Jon Leighton2010-10-125-55/+74
| | | | | | | | | | | | association. I want to refactor how aliasing works first.
* | | Add test_has_many_through_has_one_through_with_has_many_source_reflectionJon Leighton2010-10-122-1/+19
| | |
* | | Adding test_has_many_through_has_one_with_has_many_through_source_reflection ↵Jon Leighton2010-10-125-3/+29
| | | | | | | | | | | | and modifying ThroughAssociationScope to make it work correctly.
* | | Rename some tests for consistencyJon Leighton2010-10-121-3/+3
| | |
* | | Add test_has_many_through_has_one_throughJon Leighton2010-10-122-2/+17
| | |
* | | Support has_one through assocs as the source associationJon Leighton2010-10-127-20/+71
| | |
* | | A load of tests that need to be writtenJon Leighton2010-10-121-0/+63
| | |
* | | Refactoring to remove duplication introduced by the last commitJon Leighton2010-10-101-160/+145
| | |
* | | Add support for nested through associations in JoinAssociation. Hence ↵Jon Leighton2010-10-0911-94/+175
| | | | | | | | | | | | 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_throughJon Leighton2010-10-0615-67/+147
|\| |
| * | create fewer objects, call fewer methods in extract_pg_identifier_from_nameAaron Patterson2010-10-041-3/+3
| | |
| * | * + flatten is not required in >= Ruby 1.8.7Aaron Patterson2010-10-041-1/+1
| | |
| * | converting inject([]) to mapAaron Patterson2010-10-031-4/+3
| | |
| * | speed up duplicate migration detectionAaron Patterson2010-10-031-6/+5
| | |
| * | reduce the number of calls to camelizeAaron Patterson2010-10-031-3/+4
| | |
| * | convertion MigrationProxy to a Struct, initialize instance variablesAaron Patterson2010-10-031-7/+6
| | |
| * | dry up some migration logicAaron Patterson2010-10-031-2/+4
| | |
| * | no need to differentiate between nil and false in this caseAaron Patterson2010-10-031-2/+2
| | |
| * | lengths will be nil or an arrayAaron Patterson2010-10-031-2/+2
| | |
| * | remove a few function callsAaron Patterson2010-10-031-3/+5
| | |
| * | be kind to the garbage collector and reuse our visitor objectAaron Patterson2010-10-031-1/+4
| | |
| * | avoid creating objects when we canAaron Patterson2010-10-033-14/+7
| | |
| * | Rely on Rack::Session stores API for more compatibility across the Ruby world.José Valim2010-10-031-2/+5
| | |
| * | Refactor AssociationCollection#include? with objects in memoryCarlos Antonio da Silva2010-10-021-4/+3
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * | Arel::Sql::Engine.new does not do anything anymoreAaron Patterson2010-09-302-2/+2
| | |
| * | type_name should check for blank because people may have messed up databasesAaron Patterson2010-09-302-1/+15
| | |
| * | build_where should be privateAaron Patterson2010-09-301-2/+2
| | |
| * | type_name is never a blank string, so use faster .nil? callAaron Patterson2010-09-301-1/+1
| | |
| * | AssociationCollection#include? working properly for objects added with build ↵Marcelo Giorgi2010-09-304-0/+39
| | | | | | | | | | | | method [#3472 state:resolved]
| * | speeding up object instantiation by eliminating instance_evalAaron Patterson2010-09-301-7/+21
| | |
| * | [#5441 state:resolved] refactoring code to determine aggregate columnAaron Patterson2010-09-301-11/+14
| | |
| * | group clause must be more specificAaron Patterson2010-09-301-1/+1
| | |
| * | Tests proving #5441oleg dashevskii2010-09-301-1/+11
| | |