Skip to content
This repository
Browse code

encourage use of Ruby 1.9 syntax [ci skip]

  • Loading branch information...
commit 65be1a0e7a93b2f4e308739d55516be0c58543df 1 parent cc5dfcc
Francesco Rodríguez frodsan authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  guides/source/contributing_to_ruby_on_rails.md
1  guides/source/contributing_to_ruby_on_rails.md
Source Rendered
@@ -205,6 +205,7 @@ TIP: Changes that are cosmetic in nature and do not add anything substantial to
205 205
206 206 Rails follows a simple set of coding style conventions.
207 207
  208 +* Use Ruby >= 1.9 syntax. Prefer `{ a: :b }` over `{ :a => :b }`.
208 209 * Two spaces, no tabs (for indentation).
209 210 * No trailing whitespace. Blank lines should not have any spaces.
210 211 * Indent after private/protected.

0 comments on commit 65be1a0

Please sign in to comment.
Something went wrong with that request. Please try again.