aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/identity_map_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Active Record typos.R.T. Lechow2011-03-051-2/+2
|
* Don't use skip, just don't run anything, we don't have skip in Ruby 1.8Emilio Tagua2011-02-181-4/+2
|
* Use to_a instead :load in test, since :load changed.Emilio Tagua2011-02-181-1/+1
|
* No need to test against target anymore.Emilio Tagua2011-02-181-8/+8
|
* Run tests without IdentityMap when IM=false is given.Emilio Tagua2011-02-151-0/+4
|
* Add test using identity map and select.Emilio Tagua2010-11-191-0/+14
|
* 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-191-0/+1
| | | | | | | | This reverts commit 4db9dca55e3acc2c59f252eb83ecb83db5f4b81b. Conflicts: activerecord/test/cases/identity_map_test.rb
* Use block syntax in IdentityMap middleware.Emilio Tagua2010-11-191-0/+8
|
* Use hash[:Post][1] style identity maps for each table.Emilio Tagua2010-11-191-0/+7
|
* Fix test name and typo.Emilio Tagua2010-11-191-2/+2
|
* Test reorganizationMarcin Raczkowski2010-11-191-36/+83
|
* Test with target object, failing on 1.9.2 when comparing object against ↵Emilio Tagua2010-11-191-2/+2
| | | | 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
|
* Don't use identity map if loading readonly records, this will prevent ↵Emilio Tagua2010-11-191-6/+26
| | | | changing readonly status on already loaded records.
* Associated objects are assigned from identity map if enabled and contains ↵Emilio Tagua2010-11-191-0/+18
| | | | 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-191-0/+13
| | | | the same record will have invalid attributes.
* Remove objects from identity map if save failed, otherwise finding again the ↵Emilio Tagua2010-11-191-1/+15
| | | | 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
|
* IdentityMap - Fixes problem with dirty attributesMarcin Raczkowski2010-11-191-0/+32
|
* IdentityMap - Adjustments to test casesMarcin Raczkowski2010-11-191-9/+23
|
* IdentityMap - Tests for IMMarcin Raczkowski2010-11-191-0/+198