This is actually going to be a pretty short document as there's already a fantastic Ruby style guide which is largely embraced by the Ruby community. This document should only serve to provide context for additional guidelines or ones that we prefer over the recommendations in that style guide.

This guide can be found: in it's GitHub repo.

  • Similar to this link, do not use conditional keywords in the middle of a statement.

    # bad
    do_something unless some_condition?
    # good
    unless some_condition