aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/generators.textile
diff options
context:
space:
mode:
authorSebastian Martinez <sebastian@wyeworks.com>2011-04-14 20:37:12 -0300
committerSebastian Martinez <sebastian@wyeworks.com>2011-04-14 20:37:12 -0300
commitbbfc6cda82b9550bfc955ecf66c0b803e3002e0a (patch)
treef4a39c890e0a741bcd202a6d306ca4da35301ca9 /railties/guides/source/generators.textile
parent5be72684f6bbaf83359864b3f46c156de1d9e3ba (diff)
downloadrails-bbfc6cda82b9550bfc955ecf66c0b803e3002e0a.tar.gz
rails-bbfc6cda82b9550bfc955ecf66c0b803e3002e0a.tar.bz2
rails-bbfc6cda82b9550bfc955ecf66c0b803e3002e0a.zip
Remove extra whitespaces from guides
Diffstat (limited to 'railties/guides/source/generators.textile')
-rw-r--r--railties/guides/source/generators.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/generators.textile b/railties/guides/source/generators.textile
index 44c15be7bf..ac709968d9 100644
--- a/railties/guides/source/generators.textile
+++ b/railties/guides/source/generators.textile
@@ -383,7 +383,7 @@ if yes?("Would you like to install Devise?")
end
</ruby>
-In the above template we specify that the application relies on the +rspec-rails+ and +cucumber-rails+ gem so these two will be added to the +test+ group in the +Gemfile+. Then we pose a question to the user about whether or not they would like to install Devise. If the user replies "y" or "yes" to this question, then the template will add Devise to the +Gemfile+ outside of any group and then runs the +devise:install+ generator. This template then takes the users input and runs the +devise+ generator, with the user's answer from the last question being passed to this generator.
+In the above template we specify that the application relies on the +rspec-rails+ and +cucumber-rails+ gem so these two will be added to the +test+ group in the +Gemfile+. Then we pose a question to the user about whether or not they would like to install Devise. If the user replies "y" or "yes" to this question, then the template will add Devise to the +Gemfile+ outside of any group and then runs the +devise:install+ generator. This template then takes the users input and runs the +devise+ generator, with the user's answer from the last question being passed to this generator.
Imagine that this template was in a file called +template.rb+. We can use it to modify the outcome of the +rails new+ command by using the +-m+ option and passing in the filename: