diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-19 21:57:43 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-19 21:57:43 +0000 |
commit | b008b6f1946bdf6c922f62f9fd587fa74ad6af2a (patch) | |
tree | 277cfae9052ff858073eaf8bf8ee738869f63113 /railties/lib/rails_generator/generators | |
parent | 3fad0cd06c2ff828dd9bb0bb18080572ee992f4f (diff) | |
download | rails-b008b6f1946bdf6c922f62f9fd587fa74ad6af2a.tar.gz rails-b008b6f1946bdf6c922f62f9fd587fa74ad6af2a.tar.bz2 rails-b008b6f1946bdf6c922f62f9fd587fa74ad6af2a.zip |
Added --sandbox option to script/console that'll roll back all changes made to the database when you quit #672 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/generators')
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/app_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/applications/app/app_generator.rb b/railties/lib/rails_generator/generators/applications/app/app_generator.rb index bf29240908..8bdc6db86b 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -47,7 +47,7 @@ class AppGenerator < Rails::Generator::Base m.file "environments/test.rb", "config/environments/test.rb" # Scripts - %w(console destroy generate server).each do |file| + %w(console console_sandbox.rb destroy generate server).each do |file| m.file "bin/#{file}", "script/#{file}", script_options end if options[:gem] |