diff options
author | Andrew Timberlake <andrew@andrewtimberlake.com> | 2009-03-09 14:58:12 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-03-09 14:58:12 +0000 |
commit | 1d88a111b596c046e67fd290de0a40161350332b (patch) | |
tree | dc5984c4b8235bac6bd79d95cded3837e4adf79b /railties/lib | |
parent | 0d922885fb54c19f04680482f024452859218910 (diff) | |
download | rails-1d88a111b596c046e67fd290de0a40161350332b.tar.gz rails-1d88a111b596c046e67fd290de0a40161350332b.tar.bz2 rails-1d88a111b596c046e67fd290de0a40161350332b.zip |
Ensure TemplateRunner#ask? works with the rake task to apply a template [#1655 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/template_runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/applications/app/template_runner.rb b/railties/lib/rails_generator/generators/applications/app/template_runner.rb index efed030de0..73ab57d4f0 100644 --- a/railties/lib/rails_generator/generators/applications/app/template_runner.rb +++ b/railties/lib/rails_generator/generators/applications/app/template_runner.rb @@ -316,7 +316,7 @@ module Rails # def ask(string) log '', string - gets.strip + STDIN.gets.strip end # Do something in the root of the Rails application or |