diff options
author | Aleksandr Koss <kossnocorp@gmail.com> | 2010-05-16 17:52:25 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-05-16 19:15:01 +0200 |
commit | b7bdacf1abb71ec2b46ea54893fb881dea36cca8 (patch) | |
tree | 5f4c9f41fd883738e80e222b010bc8e6ce7a8017 | |
parent | 621ee373cbd7f88b0c28d45259b9dc9c43d04e44 (diff) | |
download | rails-b7bdacf1abb71ec2b46ea54893fb881dea36cca8.tar.gz rails-b7bdacf1abb71ec2b46ea54893fb881dea36cca8.tar.bz2 rails-b7bdacf1abb71ec2b46ea54893fb881dea36cca8.zip |
Added rails command aliases (s g c db) to reserved words in app generator [#4602 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
-rw-r--r-- | railties/lib/rails/generators/rails/app/app_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index 0a0b033738..ee44acc2fa 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -149,7 +149,7 @@ module Rails # can change in Ruby 1.8.7 when we FileUtils.cd. RAILS_DEV_PATH = File.expand_path("../../../../../..", File.dirname(__FILE__)) - RESERVED_NAMES = %w[generate console server dbconsole + RESERVED_NAMES = %w[generate g console c server s dbconsole db application destroy benchmarker profiler plugin runner test] |