diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-08 12:55:50 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-08 12:55:50 +0200 |
commit | 09c288f0c5b5f9da4473bb321cccb766d9f59d7e (patch) | |
tree | d12cb86acdbe32ca2c6c9971ff9921360a02b1ef /railties/lib/commands/destroy.rb | |
parent | c9ea21717eefb9e9b49891c519cc4d121ef7bb74 (diff) | |
download | rails-09c288f0c5b5f9da4473bb321cccb766d9f59d7e.tar.gz rails-09c288f0c5b5f9da4473bb321cccb766d9f59d7e.tar.bz2 rails-09c288f0c5b5f9da4473bb321cccb766d9f59d7e.zip |
Add the new generators environment and update commands.
Diffstat (limited to 'railties/lib/commands/destroy.rb')
-rw-r--r-- | railties/lib/commands/destroy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/destroy.rb b/railties/lib/commands/destroy.rb index 075fe5bb12..6e740bb754 100644 --- a/railties/lib/commands/destroy.rb +++ b/railties/lib/commands/destroy.rb @@ -1,5 +1,5 @@ +RAILS_ENV.replace "generators" require "#{RAILS_ROOT}/config/environment" -require 'generators' if ARGV.size == 0 Rails::Generators.help |