diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-18 18:22:55 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-18 18:22:55 +0100 |
commit | 728db5a932a1a185e6c366f1671e0b1f81d7b027 (patch) | |
tree | 0252399e01035c52004b994373e1b4449240dba3 /activerecord/lib | |
parent | 68b76a38eb83db8515336ec2e7fd8191798386be (diff) | |
download | rails-728db5a932a1a185e6c366f1671e0b1f81d7b027.tar.gz rails-728db5a932a1a185e6c366f1671e0b1f81d7b027.tar.bz2 rails-728db5a932a1a185e6c366f1671e0b1f81d7b027.zip |
Rake tasks should load generators from new paths.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/railties/databases.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/railties/databases.rake b/activerecord/lib/active_record/railties/databases.rake index b39e064e45..88974dd786 100644 --- a/activerecord/lib/active_record/railties/databases.rake +++ b/activerecord/lib/active_record/railties/databases.rake @@ -428,7 +428,7 @@ namespace :db do task :create => :environment do raise "Task unavailable to this database (no migration support)" unless ActiveRecord::Base.connection.supports_migrations? require 'rails/generators' - require 'rails/generators/rails/session_migration/session_migration_generator' + require 'generators/rails/session_migration/session_migration_generator' Rails::Generators::SessionMigrationGenerator.start [ ENV["MIGRATION"] || "add_sessions_table" ] end |