aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | Use IdentityMap middleware to flush map on each request.Emilio Tagua2010-11-194-1/+18
| | | | | | | |
* | | | | | | | Add initial tests for WeakHash.Emilio Tagua2010-11-191-0/+33
| | | | | | | |
* | | | | | | | Check if constant is defined in AR, if not this can cause errors when using ↵Emilio Tagua2010-11-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | polymorphic associations.
* | | | | | | | Use conditional to avoid warnings.Emilio Tagua2010-11-192-35/+36
| | | | | | | |
* | | | | | | | Weakling is only required for JRuby.Emilio Tagua2010-11-192-3/+1
| | | | | | | |
* | | | | | | | Use ActiveSupport::WeakHash for MRI, JRuby prefers Weakling.Emilio Tagua2010-11-192-1/+49
| | | | | | | |
* | | | | | | | Use hash[:Post][1] style identity maps for each table.Emilio Tagua2010-11-194-9/+27
| | | | | | | |
* | | | | | | | IdentityMap is enabled by default.Emilio Tagua2010-11-191-2/+4
| | | | | | | |
* | | | | | | | Add docs to Identity Map.Emilio Tagua2010-11-191-0/+13
| | | | | | | |
* | | | | | | | Added config syntax to enable/disable identity map: ↵Emilio Tagua2010-11-192-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config.active_record.identity_map = true
* | | | | | | | Fix test name and typo.Emilio Tagua2010-11-191-2/+2
| | | | | | | |
* | | | | | | | Reeject attributes even if association is loadedMarcin Raczkowski2010-11-191-1/+0
| | | | | | | |
* | | | | | | | Test reorganizationMarcin Raczkowski2010-11-192-39/+88
| | | | | | | |
* | | | | | | | Separated initializationMarcin Raczkowski2010-11-192-24/+20
| | | | | | | |
* | | | | | | | Set Identity Map disabled by default. Enable it for testing.Emilio Tagua2010-11-192-1/+4
| | | | | | | |
* | | | | | | | Test with target object, failing on 1.9.2 when comparing object against ↵Emilio Tagua2010-11-192-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | association proxy object.
* | | | | | | | Testing objects equality is what we are looking for here, no query caching.Emilio Tagua2010-11-191-12/+8
| | | | | | | |
* | | | | | | | Change test models.Emilio Tagua2010-11-191-10/+10
| | | | | | | |
* | | | | | | | Use strings primary keys in identity map keys to avoid problems with casting ↵Emilio Tagua2010-11-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and also allow strings primary keys.
* | | | | | | | implicit_readonly is not set until records are loaded, just check ↵Emilio Tagua2010-11-191-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | readonly_value and then set readonly status.
* | | | | | | | Don't use identity map if loading readonly records, this will prevent ↵Emilio Tagua2010-11-192-8/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changing readonly status on already loaded records.
* | | | | | | | Add tests for inverse relations when using has many and identity map.Emilio Tagua2010-11-191-0/+134
| | | | | | | |
* | | | | | | | Remove associated object from identity map when reloading.Emilio Tagua2010-11-191-0/+1
| | | | | | | |
* | | | | | | | Associated objects are assigned from identity map if enabled and contains ↵Emilio Tagua2010-11-192-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associated object.
* | | | | | | | Add test for update_attributes and identity map.Emilio Tagua2010-11-191-0/+13
| | | | | | | |
* | | | | | | | Remove objects from identity map if save! failed, otherwise finding again ↵Emilio Tagua2010-11-192-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the same record will have invalid attributes.
* | | | | | | | Remove objects from identity map if save failed, otherwise finding again the ↵Emilio Tagua2010-11-192-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | same record will have invalid attributes.
* | | | | | | | Add test to show that when IdentityMap is disabled finders returns different ↵Emilio Tagua2010-11-191-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | objects.
* | | | | | | | Uncomment test and make it work.Emilio Tagua2010-11-191-2/+5
| | | | | | | |
* | | | | | | | Use yield instead block argument.Emilio Tagua2010-11-191-4/+4
| | | | | | | |
* | | | | | | | Disable identity map when loading associated records from habtm.Emilio Tagua2010-11-191-2/+4
| | | | | | | |
* | | | | | | | Prevent pushing duplicated records when using identity map.Emilio Tagua2010-11-191-1/+1
| | | | | | | |
* | | | | | | | Remove associated records from identity map if any raised an unexpected ↵Emilio Tagua2010-11-191-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception.
* | | | | | | | Use identity mapper only if enabled.Emilio Tagua2010-11-191-3/+3
| | | | | | | |
* | | | | | | | Remove object from identity map if transaction failed.Emilio Tagua2010-11-191-0/+1
| | | | | | | |
* | | | | | | | IdentityMap - Fixes problem with dirty attributesMarcin Raczkowski2010-11-193-5/+34
| | | | | | | |
* | | | | | | | IdentityMap - Adjustments to test casesMarcin Raczkowski2010-11-197-22/+62
| | | | | | | |
* | | | | | | | Looping prevention for autosave relations on validation and creationMarcin Raczkowski2010-11-191-3/+20
| | | | | | | |
* | | | | | | | IdentityMap - adding and removing of records on create/updateMarcin Raczkowski2010-11-192-5/+43
| | | | | | | |
* | | | | | | | IdentityMap - misc fixesMarcin Raczkowski2010-11-194-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 IMMarcin Raczkowski2010-11-196-1/+229
| | | | | | | |
* | | | | | | | IdentityMap - Adding Weakling and IM Base as concernMarcin Raczkowski2010-11-194-0/+69
|/ / / / / / /
* | | | | | | guides: gives clear instructions for feedback, removes links to the now ↵Xavier Noria2010-11-1930-70/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | archived LH project
* | | | | | | wtf vimAaron Patterson2010-11-191-1/+1
| | | | | | |
* | | | | | | fisting typeo, thanks @vinibaggioAaron Patterson2010-11-191-1/+1
| | | | | | |
* | | | | | | adding documentation for reversible migrationsAaron Patterson2010-11-192-1/+43
| | | | | | |
* | | | | | | adding Migration#change to the CHANGELOGAaron Patterson2010-11-191-0/+18
| | | | | | |
* | | | | | | fisting my spelling errorsAaron Patterson2010-11-191-6/+6
| | | | | | |
* | | | | | | testing a non-invertible migration caseAaron Patterson2010-11-191-3/+23
| | | | | | |
* | | | | | | invertable migrations are workingAaron Patterson2010-11-193-7/+20
| | | | | | |