diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-16 17:50:36 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-16 17:50:36 +0000 |
commit | ee014ef95ae9746b4228f3bc7c85ac0df28ba1df (patch) | |
tree | d60860f75c1dbeda5090b82259fcc45aa85e50c1 /activerecord/lib/active_record | |
parent | 394cf21ce73cae503f4c5272ef2a417df6fd21a5 (diff) | |
download | rails-ee014ef95ae9746b4228f3bc7c85ac0df28ba1df.tar.gz rails-ee014ef95ae9746b4228f3bc7c85ac0df28ba1df.tar.bz2 rails-ee014ef95ae9746b4228f3bc7c85ac0df28ba1df.zip |
New adventures in dependency reloading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record')
-rwxr-xr-x | activerecord/lib/active_record/fixtures.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb index 1db5d29bd7..3422ebcc36 100755 --- a/activerecord/lib/active_record/fixtures.rb +++ b/activerecord/lib/active_record/fixtures.rb @@ -158,7 +158,7 @@ class Fixtures < Hash ActiveRecord::Base.logger.level = Logger::ERROR fixtures = table_names.flatten.map do |table_name| - Fixtures.new(connection, table_name.to_s, File.join(fixtures_directory, table_name.to_s)) + Fixtures.new(connection, File.split(table_name.to_s).last, File.join(fixtures_directory, table_name.to_s)) end connection.transaction do |