Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | | | | | | | | | | | 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 | |
| | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | Use strings primary keys in identity map keys to avoid problems with casting ↵ | Emilio Tagua | 2010-11-19 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and also allow strings primary keys. | |||||
* | | | | | | | | | | | | | | | | | implicit_readonly is not set until records are loaded, just check ↵ | Emilio Tagua | 2010-11-19 | 1 | -3/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | readonly_value and then set readonly status. | |||||
* | | | | | | | | | | | | | | | | | Don't use identity map if loading readonly records, this will prevent ↵ | Emilio Tagua | 2010-11-19 | 2 | -8/+35 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |
| | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | Remove associated object from identity map when reloading. | Emilio Tagua | 2010-11-19 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | Associated objects are assigned from identity map if enabled and contains ↵ | Emilio Tagua | 2010-11-19 | 2 | -2/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -0/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the same record will have invalid attributes. | |||||
* | | | | | | | | | | | | | | | | | Remove objects from identity map if save failed, otherwise finding again the ↵ | Emilio Tagua | 2010-11-19 | 2 | -1/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |
| | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | Use yield instead block argument. | Emilio Tagua | 2010-11-19 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | Disable identity map when loading associated records from habtm. | Emilio Tagua | 2010-11-19 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | Prevent pushing duplicated records when using identity map. | Emilio Tagua | 2010-11-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | Remove associated records from identity map if any raised an unexpected ↵ | Emilio Tagua | 2010-11-19 | 1 | -14/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception. | |||||
* | | | | | | | | | | | | | | | | | Use identity mapper only if enabled. | Emilio Tagua | 2010-11-19 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | Remove object from identity map if transaction failed. | Emilio Tagua | 2010-11-19 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | IdentityMap - Fixes problem with dirty attributes | Marcin Raczkowski | 2010-11-19 | 3 | -5/+34 | |
| | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | IdentityMap - Adjustments to test cases | Marcin Raczkowski | 2010-11-19 | 7 | -22/+62 | |
| | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | Looping prevention for autosave relations on validation and creation | Marcin Raczkowski | 2010-11-19 | 1 | -3/+20 | |
| | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | IdentityMap - adding and removing of records on create/update | Marcin Raczkowski | 2010-11-19 | 2 | -5/+43 | |
| | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | IdentityMap - misc fixes | Marcin Raczkowski | 2010-11-19 | 4 | -3/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 | 6 | -1/+229 | |
| | | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | | IdentityMap - Adding Weakling and IM Base as concern | Marcin Raczkowski | 2010-11-19 | 4 | -0/+69 | |
|/ / / / / / / / / / / / / / / / | ||||||
* | | | | | | | | | | | | | | | | guides: gives clear instructions for feedback, removes links to the now ↵ | Xavier Noria | 2010-11-19 | 30 | -70/+37 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | archived LH project | |||||
* | | | | | | | | | | | | | | | | wtf vim | Aaron Patterson | 2010-11-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | fisting typeo, thanks @vinibaggio | Aaron Patterson | 2010-11-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | adding documentation for reversible migrations | Aaron Patterson | 2010-11-19 | 2 | -1/+43 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | adding Migration#change to the CHANGELOG | Aaron Patterson | 2010-11-19 | 1 | -0/+18 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | 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 | 3 | -7/+20 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | command recorder will record commands sent to a delegate object | Aaron Patterson | 2010-11-19 | 2 | -3/+35 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | adding invertable migration test | Aaron Patterson | 2010-11-19 | 1 | -0/+42 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | updating documentation | Aaron Patterson | 2010-11-19 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | IrreversibleMigration is raised if we cannot invert the command | Aaron Patterson | 2010-11-19 | 2 | -1/+12 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | commands are reversed | Aaron Patterson | 2010-11-19 | 2 | -1/+8 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | add and remove timestamps can be inverted | Aaron Patterson | 2010-11-19 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | inverting add_index | Aaron Patterson | 2010-11-19 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | partial implementation of the command recorder | Aaron Patterson | 2010-11-19 | 3 | -0/+122 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | this return value is not used, so stop returning it | Aaron Patterson | 2010-11-19 | 1 | -4/+1 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | instantiate the delegate object after initialize is defined so that our ↵ | Aaron Patterson | 2010-11-19 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | initialize method actually gets called | |||||
* | | | | | | | | | | | | | | | | Fix AssetIncludeTag ensuring that files are in the wrong directory [#6015 ↵ | Henning Koch | 2010-11-19 | 2 | -3/+47 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | | | | | | | | | | | | | | | removes orphan tests, custom String#% was removed from AS in 39d6f9e | Xavier Noria | 2010-11-19 | 1 | -69/+0 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | Fix indentation | Santiago Pastorino | 2010-11-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | Don't merge just directly add to the action to the :partial key | Santiago Pastorino | 2010-11-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | Useless assignation | Santiago Pastorino | 2010-11-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | |