microposts_helper.rb: created; added content from Hartl listing 10.47