トップ «前の日記(2011-02-10) 最新 次の日記(2011-02-21)» 編集

Route 477



2011-02-13

[rails] 10 Ruby on Rails Best Practices - SitePoint

The Ruby Show経由。

  1. Fat Model, Skinny Controller
  2. Reusable Scopes and Relations
  3. Package Your Code into Gems and Plugins
  4. Use the Built-in Ruby Duck Typing Methods
  5. Manage Attribute Access
  6. Use Non-database-backed Models
  7. Virtual Attributes
  8. Use Translations