aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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
| | | | | | | | | | | | | | | | | | | | | | | | 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
| | |
| * | Set Identity Map disabled by default. Enable it for testing.Emilio Tagua2010-11-191-0/+3
| | |
| * | 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
| | |
| * | 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.
| * | Add tests for inverse relations when using has many and identity map.Emilio Tagua2010-11-191-0/+134
| | |
| * | 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-192-4/+32
| | |
| * | IdentityMap - Adjustments to test casesMarcin Raczkowski2010-11-197-22/+62
| | |
| * | IdentityMap - misc fixesMarcin Raczkowski2010-11-192-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 IMMarcin Raczkowski2010-11-195-1/+222
| | |
* | | Merge branch 'master' into nested_has_many_throughJon Leighton2010-12-1227-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 isolationAaron Patterson2010-12-091-0/+5
| | |
| * | Simplifies observer implementation [#6065 state:resolved]Robert Pankowecki (Gavdi)2010-12-091-0/+16
| | |
| * | Fix test on finding migrations from 2 pathsPiotr Sarnacki2010-12-091-5/+7
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * | Merge remote branch 'drogus/dummy_tasks'José Valim2010-12-091-0/+12
| |\ \ | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| | * | Allow to run migrations from more than one directoryPiotr Sarnacki2010-12-091-0/+12
| | | |
| * | | Take into account current time zone when serializing datetime values [#6096 ↵Mike Dvorkin2010-12-091-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * | | Ensure that boolean false is properly serialized [#6079 state:resolved]Aditya Sanghi2010-12-081-0/+16
| | | |
| * | | Setting the id of a belongs_to object updates all referenced objects [#2989 ↵Jeff Dean2010-12-081-0/+37
| |/ / | | | | | | | | | state:resolved]
| * | not a responsibility for rails to testAaron Patterson2010-12-031-10/+0
| | |
| * | removing unused setupAaron Patterson2010-12-031-4/+0
| | |
| * | in the middle of refactoringAaron Patterson2010-12-0312-76/+56
| | |
| * | Doesn't need to sort, lets users of attribute_names sort them if they wantSantiago Pastorino2010-12-021-1/+1
| | |
| * | fixing space errorsAaron Patterson2010-12-021-3/+1
| | |
| * | adding a test for YAML round tripAaron Patterson2010-12-021-0/+9
| | |
| * | Work around a strange piece of Syck behaviour where it checks ↵Michael Koziarski2010-12-021-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 buildAaron Patterson2010-12-013-99/+7
| | |
| * | removing duplicate testAaron Patterson2010-12-011-37/+0
| | |
| * | should not to_s the possibly nil valueAaron Patterson2010-12-011-2/+2
| | |
| * | make sure we have a value in migrated_atAaron Patterson2010-12-011-1/+1
| | |
| * | not all databases return dates as stringsAaron Patterson2010-12-012-3/+3
| | |
| * | fixing tests and warningsAaron Patterson2010-12-012-2/+6
| | |
| * | tests mostly passJosh Susser2010-12-011-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.defineJosh Susser2010-12-011-0/+11
| | |
| * | name in schema_migrations, migrations in schema dumpJosh Susser2010-12-013-8/+50
| | |
| * | record migration timestamp when migrations runJosh Susser2010-12-011-1/+48
| | |
| * | Add migrated_at column to schema_migrations table.Josh Susser2010-12-011-6/+30
| | |