Learning Ruby on Rails via tutorial