Rails port of the Scala staff app (grumble grumble)