Interesting Rails Tidbits #4
How To Avoid Hanging Yourself With Rails
Rowan Hick put together a great presentation called How To Avoid Hanging Yourself With Rails for a recent meeting in Toronto, Canada. A PDF is available. In the presentation Rowan focuses on ActiveRecord performance and the best way to frame queries. He tests different techniques by loading a database up with thousands of rows of fake data and then compares different approaches.
Create a FaceBook App Using Rails in 7 Easy Steps
In "10 Minute Quick Start Guide for Facebooker," Gerald Bauer walks through seven steps involved in creating a Facebook app using Ruby on Rails. It only covers the basics but provides a great starting point for anyone who hasn't yet got on the Facebook app bandwagon.
FastSessions (official project page) is a Rails plugin that performs some interesting tricks on the way that Rails handles session storage. It appears only to work on MySQL and no hard performance numbers are given yet (though a "10-15% performance gain" is suggested), but I've seen quite a few people linking to it, so it might be worth a look. Scribd.com (YouTube-for-PDFs) supposedly uses this in production.
Insights Into a 300 Million Pageview Per Month Rails App
In "Friends for Sale Architecture," Todd Hoff looks at the architecture behind Friends for Sale, a popular Rails-based FaceBook application that serves up 300 million pageviews per month. It's a pretty candid view and makes for interesting reading.
Substruct: An Open Source E-Commerce System on Rails
I haven't had time to dig into this properly but Substruct came onto my radar a few months ago and now seems to have a public release available. It bills itself as the "first and most robust Ruby on Rails open source e-commerce project" and as well as e-commerce / store functionality, it also provides regular CMS functionality along with blogging capabilities.