Skip to content

Instantly share code, notes, and snippets.

View rob0t7's full-sized avatar
🍻
Coding

Robert Jackiewicz rob0t7

🍻
Coding
  • Toronto
View GitHub Profile
@rob0t7
rob0t7 / rails.textile
Created October 11, 2015 02:42
Ruby on Rails coding best practices

Ruby on Rails coding standard

{{toc}}

Code style

  • Use UTF-8. It’s 21 century, 8bit encodings dead now.
  • Use 2 space indent, not tabs
  • Use Unix-style line endings
  • Keep lines not longer than 80 chars