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>
This commit is contained in:
Aleksandr Koss
2010-05-16 17:52:25 +01:00
committed by José Valim
parent 621ee373cb
commit b7bdacf1ab

View File

@@ -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]