diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-22 23:17:01 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-22 23:17:01 +0000 |
commit | 5757fb61d88908eb420b9a0d15197caee5cf00a2 (patch) | |
tree | 512790706e20a6c6f2cbeaf08e20492609239e9a /activerecord/lib | |
parent | 0b2e059f0a7bcd27ea96e92ad19a35f36344ed6b (diff) | |
download | rails-5757fb61d88908eb420b9a0d15197caee5cf00a2.tar.gz rails-5757fb61d88908eb420b9a0d15197caee5cf00a2.tar.bz2 rails-5757fb61d88908eb420b9a0d15197caee5cf00a2.zip |
self.fixture_class_names is defined twice in fixtures.rb (closes #7135) [jarkko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7584 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/fixtures.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb index 61a5ef2af8..5ecd0a19b8 100755 --- a/activerecord/lib/active_record/fixtures.rb +++ b/activerecord/lib/active_record/fixtures.rb @@ -466,9 +466,7 @@ module Test #:nodoc: self.use_transactional_fixtures = false self.use_instantiated_fixtures = true self.pre_loaded_fixtures = false - - self.fixture_class_names = {} - + @@already_loaded_fixtures = {} self.fixture_class_names = {} |