HOWTO setup multistage deployment with Capistrano

These instructions are outdated. They were written for Capistrano 2.x. As of March 2016, Capistrano 3.x is current. When I wrote about deploying PHP sites with Capistrano, step 6 was a bit of a throwaway — hey, here's a quick hack for handling multistage deployment. I'd been using variants of that technique for quite some …

Dear Adobe: please don’t crash while logging

I recently upgraded my copy of Creative Suite to CS5. When you install CS5 Design Premium, you don’t just get Photoshop, InDesign, Illustrator and the like. You also get a ton of other bits, like Adobe Help (despite the existence of a built-in Help Viewer), Adobe Application Manager and CS5ServiceManager. Many of these strike me …

WordPress batch upgrade

If you run a web server and have multiple installations of WordPress, upgrading them all is a pain. Wouldn’t it be nice if you could update a dozen WP installs at once? Wouldn’t it be even better if you could update the Akismet plugin at the same time? (WordPress releases independently of Akimset, and their …

GenerationX updated for Snow Leopard

When you work on your family tree — or genealogy project — you’ll work with GEDCOM files. Sites like Geni and ancestry.com can export (and sometimes) import these files. There are a few Mac programs for editing GEDCOM files: Reunion ($100), Heredis ($70), MacFamilyTree ($50) and GEDitCOM II ($65). These are varying degrees of nice, …

How to solve the “undefined method `deep_symbolize_keys’ for nil:NilClass” error in Rails

I was trying to migrate a table in my Rails app and got this error: undefined method `deep_symbolize_keys’ for nil:NilClass It’s a strange error, and there weren’t very many hits on Google. A lighthouse ticket provided a clue. The problem wasn’t one of my plugins or gems — it was i18n itself. Upgrading from 0.4.1 …

Fixing the mysterious “Element script is missing required attribute src” error

Suppose you're using the W3C validator to validate HTML5. Here's a sample document: <!doctype html> <html lang="en" xml:lang="en"> <head> <meta charset="utf-8" /> <title>Hello</title> <script type="text/javascript" charset="utf-8"> //<![CDATA[ var foo = 1; //]]> </script> </head> <body> </body> </html> Everything looks right, but you get this mysterious error: Line 6, Column 48: Element script is missing required …