diff options
author | José Valim <jose.valim@gmail.com> | 2010-06-02 08:45:03 +0200 |
---|---|---|
committer | Mikel Lindsaar <raasdnil@gmail.com> | 2010-06-03 23:32:12 +1000 |
commit | 44cb6dce62a75b259a9e00aed1ff0aa1eb369c9b (patch) | |
tree | f756a6401ba88013e3726f19dcb0f43ab91ba0b3 /railties/lib/rails/commands/destroy.rb | |
parent | a73d6e7913bdc2d4de8c63b7cc4095f0241d761e (diff) | |
download | rails-44cb6dce62a75b259a9e00aed1ff0aa1eb369c9b.tar.gz rails-44cb6dce62a75b259a9e00aed1ff0aa1eb369c9b.tar.bz2 rails-44cb6dce62a75b259a9e00aed1ff0aa1eb369c9b.zip |
Still copy application configuration to generator even if they are required earlier. Also tidy up the guide a little bit.
Diffstat (limited to 'railties/lib/rails/commands/destroy.rb')
-rw-r--r-- | railties/lib/rails/commands/destroy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/commands/destroy.rb b/railties/lib/rails/commands/destroy.rb index 9023c61bf2..db59cd8ad9 100644 --- a/railties/lib/rails/commands/destroy.rb +++ b/railties/lib/rails/commands/destroy.rb @@ -1,4 +1,5 @@ require 'rails/generators' +Rails::Generators.configure! if [nil, "-h", "--help"].include?(ARGV.first) Rails::Generators.help 'destroy' |