Skip to content

Commit

Permalink
Added rails command aliases (s g c db) to reserved words in app gener…
Browse files Browse the repository at this point in the history
…ator [#4602 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
kossnocorp authored and josevalim committed May 16, 2010
1 parent 621ee37 commit b7bdacf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/generators/rails/app/app_generator.rb
Expand Up @@ -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]

Expand Down

1 comment on commit b7bdacf

@blackgold9
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Please sign in to comment.