aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/rails_application_templates.textile
diff options
context:
space:
mode:
authorMikel Lindsaar <raasdnil@gmail.com>2010-06-04 00:03:42 +1000
committerDavid Heinemeier Hansson <david@loudthinking.com>2010-06-04 12:31:46 -0500
commitbf83c5709f212b25575249bc7e1b6d7f7a0ad085 (patch)
tree9e21e0afede3ee5612039706a9ef8c88dcee66b2 /railties/guides/source/rails_application_templates.textile
parent4774680405adcbf0d3f64abbc236c7653d137fa3 (diff)
downloadrails-bf83c5709f212b25575249bc7e1b6d7f7a0ad085.tar.gz
rails-bf83c5709f212b25575249bc7e1b6d7f7a0ad085.tar.bz2
rails-bf83c5709f212b25575249bc7e1b6d7f7a0ad085.zip
Updating guides to new rails initialization process
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
Diffstat (limited to 'railties/guides/source/rails_application_templates.textile')
-rw-r--r--railties/guides/source/rails_application_templates.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/rails_application_templates.textile b/railties/guides/source/rails_application_templates.textile
index baaa3d6d66..1af6f56957 100644
--- a/railties/guides/source/rails_application_templates.textile
+++ b/railties/guides/source/rails_application_templates.textile
@@ -14,13 +14,13 @@ h3. Usage
To apply a template, you need to provide the Rails generator with the location of the template you wish to apply, using -m option :
<shell>
-$ rails blog -m ~/template.rb
+$ rails new blog -m ~/template.rb
</shell>
It's also possible to apply a template using a URL :
<shell>
-$ rails blog -m http://gist.github.com/31208.txt
+$ rails new blog -m http://gist.github.com/31208.txt
</shell>
Alternatively, you can use the rake task +rails:template+ to apply a template to an existing Rails application :