Permalink
Browse files

Added rails command aliases (s g c db) to reserved words in app gener…

…ator [#4602 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 621ee37 commit b7bdacf1abb71ec2b46ea54893fb881dea36cca8 @kossnocorp kossnocorp committed with josevalim May 16, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/app/app_generator.rb
@@ -149,7 +149,7 @@ module Generators
# 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]

1 comment on commit b7bdacf

Thank you!

Please sign in to comment.