Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clear IdentityMap before continue this test, we can do this here because ↵ | Emilio Tagua | 2010-11-19 | 1 | -0/+1 |
| | | | | store_full_sti_class is not supposed to change during "runtime". | ||||
* | Call super setup in this test. | Emilio Tagua | 2010-11-19 | 1 | -1/+2 |
| | |||||
* | Fix number of queries performed in tests. | Emilio Tagua | 2010-11-19 | 1 | -6/+6 |
| | |||||
* | Ups, forgot to remove one conflict tag from previous commit. | Emilio Tagua | 2010-11-19 | 1 | -1/+0 |
| | |||||
* | Revert "IdentityMap - Adjustments to test cases" | Emilio Tagua | 2010-11-19 | 7 | -35/+14 |
| | | | | | | | | This reverts commit 4db9dca55e3acc2c59f252eb83ecb83db5f4b81b. Conflicts: activerecord/test/cases/identity_map_test.rb | ||||
* | Use block syntax in IdentityMap middleware. | Emilio Tagua | 2010-11-19 | 1 | -0/+8 |
| | |||||
* | Use hash[:Post][1] style identity maps for each table. | Emilio Tagua | 2010-11-19 | 1 | -0/+7 |
| | |||||
* | Fix test name and typo. | Emilio Tagua | 2010-11-19 | 1 | -2/+2 |
| | |||||
* | Test reorganization | Marcin Raczkowski | 2010-11-19 | 1 | -36/+83 |
| | |||||
* | Set Identity Map disabled by default. Enable it for testing. | Emilio Tagua | 2010-11-19 | 1 | -0/+3 |
| | |||||
* | Test with target object, failing on 1.9.2 when comparing object against ↵ | Emilio Tagua | 2010-11-19 | 2 | -2/+3 |
| | | | | association proxy object. | ||||
* | Testing objects equality is what we are looking for here, no query caching. | Emilio Tagua | 2010-11-19 | 1 | -12/+8 |
| | |||||
* | Change test models. | Emilio Tagua | 2010-11-19 | 1 | -10/+10 |
| | |||||
* | Don't use identity map if loading readonly records, this will prevent ↵ | Emilio Tagua | 2010-11-19 | 1 | -6/+26 |
| | | | | changing readonly status on already loaded records. | ||||
* | Add tests for inverse relations when using has many and identity map. | Emilio Tagua | 2010-11-19 | 1 | -0/+134 |
| | |||||
* | Associated objects are assigned from identity map if enabled and contains ↵ | Emilio Tagua | 2010-11-19 | 1 | -0/+18 |
| | | | | associated object. | ||||
* | Add test for update_attributes and identity map. | Emilio Tagua | 2010-11-19 | 1 | -0/+13 |
| | |||||
* | Remove objects from identity map if save! failed, otherwise finding again ↵ | Emilio Tagua | 2010-11-19 | 1 | -0/+13 |
| | | | | the same record will have invalid attributes. | ||||
* | Remove objects from identity map if save failed, otherwise finding again the ↵ | Emilio Tagua | 2010-11-19 | 1 | -1/+15 |
| | | | | same record will have invalid attributes. | ||||
* | Add test to show that when IdentityMap is disabled finders returns different ↵ | Emilio Tagua | 2010-11-19 | 1 | -4/+7 |
| | | | | objects. | ||||
* | Uncomment test and make it work. | Emilio Tagua | 2010-11-19 | 1 | -2/+5 |
| | |||||
* | IdentityMap - Fixes problem with dirty attributes | Marcin Raczkowski | 2010-11-19 | 2 | -4/+32 |
| | |||||
* | IdentityMap - Adjustments to test cases | Marcin Raczkowski | 2010-11-19 | 7 | -22/+62 |
| | |||||
* | IdentityMap - misc fixes | Marcin Raczkowski | 2010-11-19 | 2 | -2/+9 |
| | | | | | | - Added IdentityMap to be included into AR::Base - Fixed bug with Mysql namespace missing when running tests only for sqlite - Added sqlite as default connection | ||||
* | IdentityMap - Tests for IM | Marcin Raczkowski | 2010-11-19 | 5 | -1/+222 |
| | |||||
* | fisting typeo, thanks @vinibaggio | Aaron Patterson | 2010-11-19 | 1 | -1/+1 |
| | |||||
* | fisting my spelling errors | Aaron Patterson | 2010-11-19 | 1 | -6/+6 |
| | |||||
* | testing a non-invertible migration case | Aaron Patterson | 2010-11-19 | 1 | -3/+23 |
| | |||||
* | invertable migrations are working | Aaron Patterson | 2010-11-19 | 1 | -5/+0 |
| | |||||
* | command recorder will record commands sent to a delegate object | Aaron Patterson | 2010-11-19 | 1 | -0/+22 |
| | |||||
* | adding invertable migration test | Aaron Patterson | 2010-11-19 | 1 | -0/+42 |
| | |||||
* | IrreversibleMigration is raised if we cannot invert the command | Aaron Patterson | 2010-11-19 | 1 | -0/+7 |
| | |||||
* | commands are reversed | Aaron Patterson | 2010-11-19 | 1 | -0/+7 |
| | |||||
* | partial implementation of the command recorder | Aaron Patterson | 2010-11-19 | 1 | -0/+72 |
| | |||||
* | testing multiple ORd queries | Aaron Patterson | 2010-11-18 | 1 | -0/+12 |
| | |||||
* | removing space errors | Aaron Patterson | 2010-11-18 | 1 | -1/+1 |
| | |||||
* | Adapters can specify maximum number of ids they support in a list of expressions | Alex Rothenberg | 2010-11-18 | 1 | -0/+52 |
| | | | | | (default is nil meaning unlimited but Oracle imposes a limit of 1000) Limit is used to make multiple queries when preloading associated has_many or habtm records | ||||
* | When use where more than once on the same column, relation doesn't do an ↵ | Santiago Pastorino | 2010-11-17 | 1 | -0/+9 |
| | | | | 'or' or 'in' with the values | ||||
* | Fix bug with 0bb85ed9ffa9808926b46e8f7e59cab5b85ac19f which missed out a ↵ | Jon Leighton | 2010-11-17 | 1 | -1/+2 |
| | | | | fixtures declaration in cascaded_eager_loading_test.rb | ||||
* | testing instance based migrations | Aaron Patterson | 2010-11-17 | 1 | -0/+38 |
| | |||||
* | schema migrations work as instances | Aaron Patterson | 2010-11-17 | 1 | -0/+1 |
| | |||||
* | converted migrations to support instance methods | Aaron Patterson | 2010-11-17 | 1 | -4/+4 |
| | |||||
* | fixing assertions so error messages will be more helpful | Aaron Patterson | 2010-11-17 | 1 | -4/+4 |
| | |||||
* | removing many unused variables | Aaron Patterson | 2010-11-16 | 15 | -30/+23 |
| | |||||
* | reloading an association will properly set attributes of instantiated ↵ | Aaron Patterson | 2010-11-16 | 1 | -0/+21 |
| | | | | objects. Thanks Brian Palmer [#5802 state:resolved] | ||||
* | Fix ActiveRecord calculations when grouped by multiple fields | Alexandru Catighera | 2010-11-16 | 1 | -0/+13 |
| | |||||
* | Create directory before copying migrations if it does not exist | Piotr Sarnacki | 2010-11-16 | 1 | -0/+15 |
| | |||||
* | Models should be equals even after destroyed | Santiago Pastorino | 2010-11-16 | 2 | -1/+10 |
| | | | | [#5978 state:committed] | ||||
* | support finding by a ruby class [#5979 state:resolved] | Aaron Patterson | 2010-11-15 | 1 | -0/+7 |
| | |||||
* | adding more test coverage around finding with active record objects | Aaron Patterson | 2010-11-15 | 1 | -0/+12 |
| |