aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/command_line.textile
diff options
context:
space:
mode:
authorAndrey Ognevsky <a.ognevsky@gmail.com>2011-08-21 01:25:11 +0300
committerAndrey Ognevsky <a.ognevsky@gmail.com>2011-08-22 17:46:10 +0300
commit44f0d94469fb6c5d400776c3307b16fb8e4d1eb1 (patch)
treef48ed84605b666bf6b6f863a36c0d6cfafe2d62c /railties/guides/source/command_line.textile
parentaae5ebf3eb7d17e668bb05f9c859e239f31b9f50 (diff)
downloadrails-44f0d94469fb6c5d400776c3307b16fb8e4d1eb1.tar.gz
rails-44f0d94469fb6c5d400776c3307b16fb8e4d1eb1.tar.bz2
rails-44f0d94469fb6c5d400776c3307b16fb8e4d1eb1.zip
Add Destroy Alias
* Added destroy alias to rails generator * add alias info for destroy command * Updated command line guides
Diffstat (limited to 'railties/guides/source/command_line.textile')
-rw-r--r--railties/guides/source/command_line.textile2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/guides/source/command_line.textile b/railties/guides/source/command_line.textile
index 6d5132a1bf..f6b33d283c 100644
--- a/railties/guides/source/command_line.textile
+++ b/railties/guides/source/command_line.textile
@@ -325,6 +325,8 @@ h4. +rails destroy+
Think of +destroy+ as the opposite of +generate+. It'll figure out what generate did, and undo it.
+You can also use the alias "d" to invoke the destroy command: <tt>rails d</tt>.
+
<shell>
$ rails generate model Oops
exists app/models/