diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2010-03-23 10:20:43 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-23 14:26:27 +0100 |
commit | 10825be40b982516c9b0d747dbd5b7f1d320873d (patch) | |
tree | 839ef633c4d2681d298c766b353feefdac861b7f /activerecord/lib/active_record/railties | |
parent | 05ec99eed9813a497426432fb9ecc38379bc4b5e (diff) | |
download | rails-10825be40b982516c9b0d747dbd5b7f1d320873d.tar.gz rails-10825be40b982516c9b0d747dbd5b7f1d320873d.tar.bz2 rails-10825be40b982516c9b0d747dbd5b7f1d320873d.zip |
rake tasks should use the new app generator path [#4257 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activerecord/lib/active_record/railties')
-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 fa6caa4910..0229793a9a 100644 --- a/activerecord/lib/active_record/railties/databases.rake +++ b/activerecord/lib/active_record/railties/databases.rake @@ -435,7 +435,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 'generators/rails/session_migration/session_migration_generator' + require 'rails/generators/rails/session_migration/session_migration_generator' Rails::Generators::SessionMigrationGenerator.start [ ENV["MIGRATION"] || "add_sessions_table" ] end |