Skip to content

Commit

Permalink
Fix contributing guide to reflect preferred position on indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
brainopia authored and fxn committed Jan 26, 2012
1 parent 36d7af3 commit 3a087b8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -309,7 +309,7 @@ Rails follows a simple set of coding style conventions.

* Two spaces, no tabs.
* No trailing whitespace. Blank lines should not have any space.
* Indent after private/protected.
* Do not indent after private/protected. Private/protected should have the same indentation as the methods around.
* Prefer +&&+/+||+ over +and+/+or+.
* Prefer class << self block over self.method for class methods.
* +MyClass.my_method(my_arg)+ not +my_method( my_arg )+ or +my_method my_arg+.
Expand Down

0 comments on commit 3a087b8

Please sign in to comment.