some typo in ch5&6

according to the online version from http://ruby.railstutorial.org, fixed some typo.