Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.43 KB

rails.md

File metadata and controls

41 lines (31 loc) · 1.43 KB

Originate Guides - Ruby on Rails

Rails is best for

  • quick prototypes
  • small to medium sized projects (< 1 million users)
  • projects that have to iterate a lot
  • and many other types of projects!

Recommended Setup

Unless there are good reasons to do otherwise, please use these libraries:

Architectural Guidelines

  • Skinny Controllers: they should only receive request data, decode it, and call other layers (models, services) to perform business logic
  • Skinny Models: they should only represent domain objects (data, relationships between them), validations
  • Service Layers: any business logic, especially logic that includes more than one model type, should be extracted into a service layer

Linters and Checkers

Use these tools copiously to make your life as a developer easier!