1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add note on the contributing guide to not use the refute methods

This commit is contained in:
Rafael Mendonça França 2012-12-31 13:55:47 -03:00
parent 5294ad82c6
commit cf4afc4d11

View file

@ -214,7 +214,8 @@ Rails follows a simple set of coding style conventions:
* Prefer `&&`/`||` over `and`/`or`.
* Prefer class << self over self.method for class methods.
* Use `MyClass.my_method(my_arg)` not `my_method( my_arg )` or `my_method my_arg`.
* Use a = b and not a=b.
* Use `a = b` and not `a=b`.
* Use assert_not methods instead of refute.
* Follow the conventions in the source you see used already.
The above are guidelines — please use your best judgment in using them.
@ -403,7 +404,7 @@ following:
```bash
$ git fetch upstream
$ git checkout my_pull_request
$ git checkout my_pull_request
$ git rebase upstream/master
$ git rebase -i