Ruby on Rails sample application learning