mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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:
committed by
José Valim
parent
621ee373cb
commit
b7bdacf1ab
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user