diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-22 11:28:26 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-22 11:28:26 -0700 |
commit | d7ec3ee9aedd314786a49201bfaf56f919788a51 (patch) | |
tree | 64d3f5f6cadb5ea9a8916deedaf0f3832a10022a /railties/guides/source | |
parent | 0942879a5278008cf1ba2c33f084ada1cbf91ff3 (diff) | |
parent | 44f0d94469fb6c5d400776c3307b16fb8e4d1eb1 (diff) | |
download | rails-d7ec3ee9aedd314786a49201bfaf56f919788a51.tar.gz rails-d7ec3ee9aedd314786a49201bfaf56f919788a51.tar.bz2 rails-d7ec3ee9aedd314786a49201bfaf56f919788a51.zip |
Merge pull request #2611 from ognevsky/add-destroy-alias
Added destroy alias to rails generator
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/command_line.textile | 2 |
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/ |