Posts on rails

Long Running Data Migrations in Rails

a post by Peter Hollows about rails, useful gems, and database fu.

Projects almost never start with an empty database. There are many takes on how this initial data, or data processing tasks, should live in your application. This approach keeps data out of your migrations and remains flexible enough to run with all the methods available to a standard migration, plus some extras. Initial application data, a...

Easy RSS in Rails 2

a post by Peter Hollows about RSS and rails.

A simple approach to generating RSS feeds in Ruby on Rails. Our approach keeps your code DRY and uses a RESTful approach for minimum efforts. As a bonus, the W3C RSS validator has no complaints with the result. If you're wanting more than...