2011-02-13
■ [rails] 10 Ruby on Rails Best Practices - SitePoint
The Ruby Show経由。
- Fat Model, Skinny Controller
- Reusable Scopes and Relations
- Package Your Code into Gems and Plugins
- Use the Built-in Ruby Duck Typing Methods
- Manage Attribute Access
- Use Non-database-backed Models
- Virtual Attributes
- Use Translations