What I Learned Today

I pulled off a feat in the last few days: I upgraded a Radiant 0.6.9 site to 0.8.0. A lot of the architecture has changed between those revisions. There's not a clear upgrade path, but lessons I learned:

  • Migrate each extension one at a time. If possible, get a new version of the extension.
  • Not all extensions are Rails 2.3 compatible yet, so make sure you change require_dependency 'application' in all of them to require_dependency 'application_controller'.
  • Don't forget to run rake radiant:update. I did, and it bit me hard.
  • There's one migration change between the two that isn't a new migration, but made in an old one, so you'll have to do it yourself: add a schema_version integer column with a default of 1 to extension_meta.

The other thing I've been learning isn't technical. It's the Spanish language. So far, I'm enjoying it. It will be quite a while before I'm proficient, but I'm considering attending Conferencia Rails as a reward if I work hard at it.

Published: 28 Jul 2009