Use MySQL-style partial dates in Rails (and elsewhere).