changes to ruby class post