Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

encourage use of Ruby 1.9 syntax [ci skip]

  • Loading branch information...
commit 65be1a0e7a93b2f4e308739d55516be0c58543df 1 parent cc5dfcc
@frodsan frodsan authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  guides/source/
1  guides/source/
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.