DHH Ruby/Rails Style Guide Write Ruby and Rails code following DHH's philosophy: clarity over cleverness , convention over configuration , developer happiness above all. Quick Reference Controller Actions - Only 7 REST actions : , , , , , , - New behavior? Create a new controller, not a custom action - Action length : 1-5 lines maximum - Empty actions are fine : Let Rails convention handle rendering Private Method Indentation Indent private methods one level under keyword: Model Design (Fat Models) Models own business logic, authorization, and broadcasting: Current Attributes Use for request…