Fix typo in railties changelog

Also improve the example to show as shell command [ci skip]