aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Enable IM in performance script unless IM=disabled is set when running it.Emilio Tagua2010-11-191-0/+2
* IM is disabled by default.Emilio Tagua2010-11-191-2/+2
* Add test using identity map and select.Emilio Tagua2010-11-191-0/+14
* No need to check returned object now that weakhash is gone.Emilio Tagua2010-11-191-5/+1
* Usa Hash instead of WeakHash.Emilio Tagua2010-11-191-2/+2
* Revert "Use ActiveSupport::WeakHash for MRI, JRuby prefers Weakling."Emilio Tagua2010-11-191-4/+2
* Read from config, because AR may not be loaded yet.Emilio Tagua2010-11-191-1/+1
* Set IdentityMap disabled by default.Emilio Tagua2010-11-191-1/+1
* Refactor associations cache removal from IM. (ht: Aaron Patterson)Emilio Tagua2010-11-191-4/+4
* Update number of queries executed instead of avoiding IM.Emilio Tagua2010-11-191-9/+5
* Don't change tests, fix code: if locking is enabled skip IM.Emilio Tagua2010-11-192-14/+1
* Remove associated objects from IM when clearing them from association cache.Emilio Tagua2010-11-191-0/+6
* Test setup method should clean up IM.Emilio Tagua2010-11-191-0/+4
* Query objects if readonly_value is false, skip them only if nil.Emilio Tagua2010-11-191-3/+3
* Added method to IM to remove objects by class and id. Then used it to remove ...Emilio Tagua2010-11-192-0/+6
* Clear IdentityMap before continue this test, we can do this here because stor...Emilio Tagua2010-11-191-0/+1
* Call super setup in this test.Emilio Tagua2010-11-191-1/+2
* Fix number of queries performed in tests.Emilio Tagua2010-11-191-6/+6
* Ups, forgot to remove one conflict tag from previous commit.Emilio Tagua2010-11-191-1/+0
* Revert "IdentityMap - Adjustments to test cases"Emilio Tagua2010-11-197-35/+14
* Don't load IdentityMap middleware if not enabled. Simplify middleware.Emilio Tagua2010-11-192-5/+8
* Don't wrap into identity map if it is disabled.Emilio Tagua2010-11-191-3/+2
* Bring back "Reject attributes even if association is loaded" after rebasing t...Emilio Tagua2010-11-191-3/+10
* Use block syntax in IdentityMap middleware.Emilio Tagua2010-11-192-3/+16
* Change API name, we don't need any param.Emilio Tagua2010-11-191-1/+1
* Use just one repository and keep it in the current thread.Emilio Tagua2010-11-192-16/+6
* Use association_class method which returns the reflection class, this method ...Emilio Tagua2010-11-191-2/+6
* Use IdentityMap middleware to flush map on each request.Emilio Tagua2010-11-192-0/+15
* Check if constant is defined in AR, if not this can cause errors when using p...Emilio Tagua2010-11-191-1/+1
* Weakling is only required for JRuby.Emilio Tagua2010-11-191-1/+0
* Use ActiveSupport::WeakHash for MRI, JRuby prefers Weakling.Emilio Tagua2010-11-191-1/+3
* 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: config.active_record.iden...Emilio Tagua2010-11-192-0/+2
* 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 assoc...Emilio Tagua2010-11-192-2/+3
* 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
* implicit_readonly is not set until records are loaded, just check readonly_va...Emilio Tagua2010-11-191-3/+2
* Don't use identity map if loading readonly records, this will prevent changin...Emilio Tagua2010-11-192-8/+35
* 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 ass...Emilio Tagua2010-11-192-2/+23
* Add test for update_attributes and identity map.Emilio Tagua2010-11-191-0/+13