aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorAleksandr Koss <kossnocorp@gmail.com>2010-05-16 17:52:25 +0100
committerJosé Valim <jose.valim@gmail.com>2010-05-16 19:15:01 +0200
commitb7bdacf1abb71ec2b46ea54893fb881dea36cca8 (patch)
tree5f4c9f41fd883738e80e222b010bc8e6ce7a8017 /railties/lib/rails
parent621ee373cbd7f88b0c28d45259b9dc9c43d04e44 (diff)
downloadrails-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>
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/generators/rails/app/app_generator.rb2
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]