Skip to content
Browse files

Merge pull request #4685 from brainopia/fix_contribute_guide

Fix contributing guide to reflect preferred position on indentation
  • Loading branch information...
2 parents 6a7d378 + 51ccb7f commit 70b059835b031236f4fcd5b11d004fc2c82b4e98 @fxn fxn committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/contributing_to_ruby_on_rails.textile
2 railties/guides/source/contributing_to_ruby_on_rails.textile
@@ -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+.

0 comments on commit 70b0598

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