diff options
author | Arun Agrawal <arun@fromjaipur.com> | 2011-05-25 13:13:24 +0530 |
---|---|---|
committer | Arun Agrawal <arun@fromjaipur.com> | 2011-05-25 13:13:24 +0530 |
commit | d9204c13918bcbfe3df2e418c510f3fb6505bcb2 (patch) | |
tree | 4dc4cf0cc7ae7acbb079ae5bcd7226fe53c7d6c4 /railties/test | |
parent | 460ce7d7eac8e16e49011534e52306f3f14ca0b2 (diff) | |
download | rails-d9204c13918bcbfe3df2e418c510f3fb6505bcb2.tar.gz rails-d9204c13918bcbfe3df2e418c510f3fb6505bcb2.tar.bz2 rails-d9204c13918bcbfe3df2e418c510f3fb6505bcb2.zip |
Using load_generators
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/generators_test_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/generators_test_helper.rb b/railties/test/generators/generators_test_helper.rb index 91ab648297..7fdd54fc30 100644 --- a/railties/test/generators/generators_test_helper.rb +++ b/railties/test/generators/generators_test_helper.rb @@ -12,7 +12,7 @@ Rails.application.config.generators.templates = [File.join(Rails.root, "lib", "t # Call configure to load the settings from # Rails.application.config.generators to Rails::Generators -Rails::Generators.configure!(Rails.application.config.generators) +Rails.application.load_generators require 'active_record' require 'action_dispatch' |