rails-conventions
SKILL.md
Rails Conventions
Comprehensive guide to Ruby on Rails conventions, the Rails Way philosophy, and best practices for organizing Rails 7+ applications.
Core Philosophy
Rails follows "Convention over Configuration" - sensible defaults reduce decision fatigue and boilerplate. Learn the conventions to write less code and collaborate effectively.
The Rails Way Principles
- DRY (Don't Repeat Yourself) - Extract duplication into helpers, concerns, or services
- Convention over Configuration - Follow naming patterns, get automatic wiring
- Fat Models, Skinny Controllers - Business logic in models, controllers handle HTTP
- RESTful Design - Resources map to standard CRUD actions