Rails spring helpers inspired by @parndt.