Skip to content

Instantly share code, notes, and snippets.

@verkligheten
Created February 28, 2017 12:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save verkligheten/58823b8d3ed1f1956cc9c0988c0df928 to your computer and use it in GitHub Desktop.
Save verkligheten/58823b8d3ed1f1956cc9c0988c0df928 to your computer and use it in GitHub Desktop.
SAINT DOCTRINE:
• TDD, start with integrations tests
• Use Service Objects for interaction between several models
• all texts to i18n (in multilingual projects)
• all bootstrap elements to own CSS classes (grids & utilities are exeptions)
• use BEM methodology for naming CSS classes
• no CSS in HTML
• no JavaScript in HTML
• no new gems/libraries without agreement
• it's forbidden to edit migrations
• no "if", methods, logic in migrations
• no objects in service params
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment