Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | adding more tests surrounding where values hash | Aaron Patterson | 2010-11-29 | 1 | -0/+11 | |
| | | ||||||
| * | testing attributes applied by default_scope | Aaron Patterson | 2010-11-29 | 1 | -0/+5 | |
| | | ||||||
| * | test case on has_one :through after a destroy | John Hawthorn | 2010-11-29 | 1 | -0/+17 | |
| | | | | | | | | | | | | [#6037 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | Don't depend on rubygems loading thread (for Mutex) | raggi | 2010-11-25 | 1 | -0/+1 | |
| | | ||||||
| * | If a nested_attribute is being marked for destruction and at the same time ↵ | Neeraj Singh | 2010-11-24 | 1 | -1/+14 | |
| | | | | | | | | | | | | | | | | an attr_accessor value is being assigned then the value being assigned is being ignored. This patch is a fix for that issue. [#5939 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | Testing that dup is resetting the timestamps | Franck Verrot | 2010-11-25 | 1 | -0/+24 | |
| | | ||||||
| * | fixing variable names. oops! | Aaron Patterson | 2010-11-23 | 1 | -2/+2 | |
| | | ||||||
| * | Do not send id for quoting twice if the primary key is string. | Neeraj Singh | 2010-11-23 | 1 | -1/+8 | |
| | | | | | | | | [#6022 state:resolved] | |||||
| * | clone and dup are working on 1.8 | Aaron Patterson | 2010-11-23 | 1 | -0/+15 | |
| | | ||||||
| * | converting clone test to dup test | Aaron Patterson | 2010-11-23 | 1 | -4/+4 | |
| | | ||||||
| * | fixing dup regressions | Aaron Patterson | 2010-11-23 | 4 | -24/+27 | |
| | | ||||||
| * | fixing more dup tests | Aaron Patterson | 2010-11-23 | 1 | -21/+22 | |
| | | ||||||
| * | renaming duplication test to dup test | Aaron Patterson | 2010-11-23 | 1 | -1/+1 | |
| | | ||||||
| * | adding a specific case for clone testing | Aaron Patterson | 2010-11-23 | 2 | -25/+33 | |
| | | ||||||
| * | testing duped attributes are independent | Aaron Patterson | 2010-11-23 | 1 | -0/+18 | |
| | | ||||||
| * | making sure changes to dup will not touch original | Aaron Patterson | 2010-11-23 | 1 | -0/+10 | |
| | | ||||||
| * | dup keeps changes | Aaron Patterson | 2010-11-23 | 1 | -2/+17 | |
| | | ||||||
| * | dup is working better | Aaron Patterson | 2010-11-23 | 2 | -4/+43 | |
| | | ||||||
| * | removing unused variables | Aaron Patterson | 2010-11-22 | 5 | -10/+5 | |
| | | ||||||
| * | Removed ids_in_list_limit in favor of in_clause_length defined in ↵ | Alex Rothenberg | 2010-11-23 | 1 | -7/+7 | |
| | | | | | | | | database_limits.rb | |||||
| * | class inheritable attributes is used no more! all internal use of class ↵ | Josh Kalderimis | 2010-11-20 | 1 | -4/+4 | |
| | | | | | | | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | do not require ruby-debug automatically. please require it if you have ↵ | Aaron Patterson | 2010-11-19 | 1 | -5/+0 | |
| | | | | | | | | declared it as a dependency | |||||
* | | Add test using identity map and select. | Emilio Tagua | 2010-11-19 | 1 | -0/+14 | |
| | | ||||||
* | | Update number of queries executed instead of avoiding IM. | Emilio Tagua | 2010-11-19 | 1 | -9/+5 | |
| | | ||||||
* | | Don't change tests, fix code: if locking is enabled skip IM. | Emilio Tagua | 2010-11-19 | 1 | -13/+0 | |
| | | ||||||
* | | 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 | 4 | -1/+218 | |
|/ |