Skip to content

Coding Conventions

Hector edited this page Aug 4, 2014 · 1 revision

We use the following coding conventions for Sufia:

For Ruby on Rails coding we follow this guide: https://github.com/bbatsov/rails-style-guide

For RSpec tests we are moving away from the Should syntax to the new Expect syntax. This page provides guidance on this: http://betterspecs.org/

For commit messages on pull requests: http://guides.rubyonrails.org/contributing_to_ruby_on_rails.html#follow-the-coding-conventions