diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-10-21 15:23:07 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-11-02 17:14:50 +0100 |
commit | 48fef64cb5d38b2ac81a483bb0fad89c2134dcdc (patch) | |
tree | b2eb2fde1dbcbcd7831dbd1c7fe1123dd809b055 /railties | |
parent | ae1debd442113ed9476e776fe27cd95730896b59 (diff) | |
download | rails-48fef64cb5d38b2ac81a483bb0fad89c2134dcdc.tar.gz rails-48fef64cb5d38b2ac81a483bb0fad89c2134dcdc.tar.bz2 rails-48fef64cb5d38b2ac81a483bb0fad89c2134dcdc.zip |
Builder should not be responsible for running store_application_definition method
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb index 8296f37211..2fdd67944e 100644 --- a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +++ b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb @@ -41,7 +41,6 @@ module Rails end def test_dummy_config - store_application_definition! template "rails/boot.rb", "#{dummy_path}/config/boot.rb", :force => true template "rails/application.rb", "#{dummy_path}/config/application.rb", :force => true end @@ -168,6 +167,7 @@ end say_step "Configuring Rails application" def change_config_files + store_application_definition! build(:test_dummy_config) end |