Browse files

update Gemfile template to 1.9 hash syntax

  • Loading branch information...
1 parent d4a7dee commit 5db367a7fe528c33bc02a066e633c3e700496ac7 Francesco Rodriguez committed May 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/app/templates/Gemfile
2 railties/lib/rails/generators/rails/app/templates/Gemfile
@@ -19,7 +19,7 @@ source ''
# gem 'unicorn'
# Deploy with Capistrano
-# gem 'capistrano', :group => :development
+# gem 'capistrano', group: :development
# To use debugger
# gem 'debugger'

8 comments on commit 5db367a




I also hate that "::".


Hate the double colons. Bring back the old style!


Isn't it better to future-proof Rails for the new Ruby 1.9 syntax? I actually find it cleaner.


I just thought this commit was in need of a flame war ;)


I prefer the old style. I think Ruby went backward with the new hash syntax.

But, make :development a string, then it looks better.

gem 'capistrano', group: 'development'
Please sign in to comment.