Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | 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 | 5 | -1/+222 | |
| | | | ||||||
* | | | Merge branch 'master' into nested_has_many_through | Jon Leighton | 2010-12-12 | 27 | -95/+363 | |
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | Conflicts: activerecord/CHANGELOG activerecord/lib/active_record/associations/class_methods/join_dependency.rb activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb activerecord/lib/active_record/associations/has_many_through_association.rb | |||||
| * | | preheating cache so that tests can run in isolation | Aaron Patterson | 2010-12-09 | 1 | -0/+5 | |
| | | | ||||||
| * | | Simplifies observer implementation [#6065 state:resolved] | Robert Pankowecki (Gavdi) | 2010-12-09 | 1 | -0/+16 | |
| | | | ||||||
| * | | Fix test on finding migrations from 2 paths | Piotr Sarnacki | 2010-12-09 | 1 | -5/+7 | |
| | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | | Merge remote branch 'drogus/dummy_tasks' | José Valim | 2010-12-09 | 1 | -0/+12 | |
| |\ \ | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| | * | | Allow to run migrations from more than one directory | Piotr Sarnacki | 2010-12-09 | 1 | -0/+12 | |
| | | | | ||||||
| * | | | Take into account current time zone when serializing datetime values [#6096 ↵ | Mike Dvorkin | 2010-12-09 | 1 | -0/+21 | |
| | | | | | | | | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | | | Ensure that boolean false is properly serialized [#6079 state:resolved] | Aditya Sanghi | 2010-12-08 | 1 | -0/+16 | |
| | | | | ||||||
| * | | | Setting the id of a belongs_to object updates all referenced objects [#2989 ↵ | Jeff Dean | 2010-12-08 | 1 | -0/+37 | |
| |/ / | | | | | | | | | | state:resolved] | |||||
| * | | not a responsibility for rails to test | Aaron Patterson | 2010-12-03 | 1 | -10/+0 | |
| | | | ||||||
| * | | removing unused setup | Aaron Patterson | 2010-12-03 | 1 | -4/+0 | |
| | | | ||||||
| * | | in the middle of refactoring | Aaron Patterson | 2010-12-03 | 12 | -76/+56 | |
| | | | ||||||
| * | | Doesn't need to sort, lets users of attribute_names sort them if they want | Santiago Pastorino | 2010-12-02 | 1 | -1/+1 | |
| | | | ||||||
| * | | fixing space errors | Aaron Patterson | 2010-12-02 | 1 | -3/+1 | |
| | | | ||||||
| * | | adding a test for YAML round trip | Aaron Patterson | 2010-12-02 | 1 | -0/+9 | |
| | | | ||||||
| * | | Work around a strange piece of Syck behaviour where it checks ↵ | Michael Koziarski | 2010-12-02 | 1 | -0/+11 | |
| | | | | | | | | | | | | | | | | | | Model#respond_to? before initializing the object. Things like YAML.load(YAML.dump(@post)) won't work without this. | |||||
| * | | rolling out migrated_at until I can fix the build | Aaron Patterson | 2010-12-01 | 3 | -99/+7 | |
| | | | ||||||
| * | | removing duplicate test | Aaron Patterson | 2010-12-01 | 1 | -37/+0 | |
| | | | ||||||
| * | | should not to_s the possibly nil value | Aaron Patterson | 2010-12-01 | 1 | -2/+2 | |
| | | | ||||||
| * | | make sure we have a value in migrated_at | Aaron Patterson | 2010-12-01 | 1 | -1/+1 | |
| | | | ||||||
| * | | not all databases return dates as strings | Aaron Patterson | 2010-12-01 | 2 | -3/+3 | |
| | | | ||||||
| * | | fixing tests and warnings | Aaron Patterson | 2010-12-01 | 2 | -2/+6 | |
| | | | ||||||
| * | | tests mostly pass | Josh Susser | 2010-12-01 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | adjust to work with instance-based migations migrated_at can't be null why must people have last names? it's killing me! | |||||
| * | | clear schema_migrations in Schema.define | Josh Susser | 2010-12-01 | 1 | -0/+11 | |
| | | | ||||||
| * | | name in schema_migrations, migrations in schema dump | Josh Susser | 2010-12-01 | 3 | -8/+50 | |
| | | | ||||||
| * | | record migration timestamp when migrations run | Josh Susser | 2010-12-01 | 1 | -1/+48 | |
| | | | ||||||
| * | | Add migrated_at column to schema_migrations table. | Josh Susser | 2010-12-01 | 1 | -6/+30 | |
| | | |