diff options
author | Mikel Lindsaar <raasdnil@gmail.com> | 2010-06-04 00:03:42 +1000 |
---|---|---|
committer | Mikel Lindsaar <raasdnil@gmail.com> | 2010-06-04 00:03:42 +1000 |
commit | 54249b549bb1b98c8882a16eb28db83a19c8bbb8 (patch) | |
tree | 2e095ed466492db3d4585e58a77142143efc4909 /railties/guides/source/rails_application_templates.textile | |
parent | 06892c34213659ed8734ac250ee5846273e277d6 (diff) | |
download | rails-54249b549bb1b98c8882a16eb28db83a19c8bbb8.tar.gz rails-54249b549bb1b98c8882a16eb28db83a19c8bbb8.tar.bz2 rails-54249b549bb1b98c8882a16eb28db83a19c8bbb8.zip |
Updating guides to new rails initialization process
Diffstat (limited to 'railties/guides/source/rails_application_templates.textile')
-rw-r--r-- | railties/guides/source/rails_application_templates.textile | 4 |
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 : |