Code Style

John Firebaugh john.firebaugh at gmail.com
Thu Aug 30 22:15:01 BST 2012


On Thu, Aug 30, 2012 at 1:46 PM, Tom Hughes <tom at compton.nu> wrote:
> Any thoughts on how to go about this? Any resources we can draw on rather
> than having to start from scratch?

I'm partial to the GitHub styleguide: https://github.com/styleguide

I follow their Ruby style very closely, and their HTML, CSS, and JS
style only slightly less closely (notably I prefer mandatory
semicolons in JS).

Their Ruby style is based on
https://github.com/bbatsov/ruby-style-guide which is more in depth.



More information about the rails-dev mailing list