Permalink
Browse files

encourage use of Ruby 1.9 syntax [ci skip]

  • Loading branch information...
1 parent cc5dfcc commit 65be1a0e7a93b2f4e308739d55516be0c58543df Francesco Rodriguez committed Oct 26, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 guides/source/contributing_to_ruby_on_rails.md
View
1 guides/source/contributing_to_ruby_on_rails.md
@@ -205,6 +205,7 @@ TIP: Changes that are cosmetic in nature and do not add anything substantial to
Rails follows a simple set of coding style conventions.
+* Use Ruby >= 1.9 syntax. Prefer `{ a: :b }` over `{ :a => :b }`.
* Two spaces, no tabs (for indentation).
* No trailing whitespace. Blank lines should not have any spaces.
* Indent after private/protected.

0 comments on commit 65be1a0

Please sign in to comment.