Archive for May, 2009

The three kinds of Rails migrations

Friday, May 22nd, 2009

Greetings, What alternative do you suggest for using models in migrations? I was in several situations where I had to not only change the underlying db structure but change the contained data, too. Data changes, especially moving data around, are almost always rake task-worthy in my experience. The other side of that, populating large amounts […]

Approaching an inherited Rails codebase

Thursday, May 21st, 2009

Greetings, [Edit: Since writing this article up back in early March, I’ve moved on from this job. The folks who are now maintaining it at least know where the pain points are, can run migrations safely, deploy it locally, and to dev servers, and to the main deployment area.  It’s a working app, although I […]