diff options
author | Jeffrey Hardy <jeff@37signals.com> | 2010-01-06 13:38:11 -0500 |
---|---|---|
committer | Jeffrey Hardy <jeff@37signals.com> | 2010-01-06 13:38:11 -0500 |
commit | 894ce1553498fce6463f38cd0e41c2efbac31c0d (patch) | |
tree | 539b4e2b67202de4d281cc5985f761b413554cc8 /activerecord/lib/active_record | |
parent | 891ba18d65ba314c70280724f58882381a2f1b5a (diff) | |
download | rails-894ce1553498fce6463f38cd0e41c2efbac31c0d.tar.gz rails-894ce1553498fce6463f38cd0e41c2efbac31c0d.tar.bz2 rails-894ce1553498fce6463f38cd0e41c2efbac31c0d.zip |
Use better defaults for fixtures: transactional=true, instantiated=false
These reflect the settings that were previously included in the default
test_helper.rb, removed in d7d9173.
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/fixtures.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb index 9da36a87ec..b528c14bcc 100644 --- a/activerecord/lib/active_record/fixtures.rb +++ b/activerecord/lib/active_record/fixtures.rb @@ -822,8 +822,8 @@ module ActiveRecord superclass_delegating_accessor :pre_loaded_fixtures self.fixture_table_names = [] - self.use_transactional_fixtures = false - self.use_instantiated_fixtures = true + self.use_transactional_fixtures = true + self.use_instantiated_fixtures = false self.pre_loaded_fixtures = false self.fixture_class_names = {} |