fixes error when creating ride; moves new ride oject after validation