rails sample app 3rd part of tutorial