Ruby / Rails 3 code samples for controllers, models, and views.