diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/CHANGELOG | 2 | ||||
-rw-r--r-- | railties/lib/tasks/databases.rake | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 719148791c..e3eea53352 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Make load_fixtures include csv fixtures. #3053. [me@mdaines.com] + * Fix freeze_gems so that the latest rails version is dumped by default. [Nicholas Seckar] * script/plugin: handle root paths and plugin names which contain spaces. #2995 [justin@aspect.net] diff --git a/railties/lib/tasks/databases.rake b/railties/lib/tasks/databases.rake index 7f7d9d02a2..83140b1164 100644 --- a/railties/lib/tasks/databases.rake +++ b/railties/lib/tasks/databases.rake @@ -8,7 +8,7 @@ desc "Load fixtures into the current environment's database" task :load_fixtures => :environment do require 'active_record/fixtures' ActiveRecord::Base.establish_connection(RAILS_ENV.to_sym) - Dir.glob(File.join(RAILS_ROOT, 'test', 'fixtures', '*.yml')).each do |fixture_file| + Dir.glob(File.join(RAILS_ROOT, 'test', 'fixtures', '*.{yml,csv}')).each do |fixture_file| Fixtures.create_fixtures('test/fixtures', File.basename(fixture_file, '.*')) end end |