diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-14 08:23:50 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-14 08:23:50 +0000 |
commit | 624d5bb176de5212bea43a1c57a95f48676c6e9f (patch) | |
tree | 9bba432db896b085abe9e233dc037312cea197cf /railties/lib/rails_generator/generators/applications | |
parent | 75b8ac80d988c39e48966d6b60f0d1d46c0d75a6 (diff) | |
download | rails-624d5bb176de5212bea43a1c57a95f48676c6e9f.tar.gz rails-624d5bb176de5212bea43a1c57a95f48676c6e9f.tar.bz2 rails-624d5bb176de5212bea43a1c57a95f48676c6e9f.zip |
Added script/benchmarker to easily benchmark one or more statement a number of times from within the environment. Added script/profiler to easily profile a single statement from within the environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/generators/applications')
-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 118dc0858a..765c91e406 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -43,7 +43,7 @@ class AppGenerator < Rails::Generator::Base m.file "environments/test.rb", "config/environments/test.rb" # Scripts - %w(console console_sandbox.rb destroy generate server runner).each do |file| + %w(console console_sandbox destroy generate server runner benchmarker profiler).each do |file| m.file "bin/#{file}", "script/#{file}", script_options end if options[:gem] |