Rails update, fixes #473