Ruby on Rails tutorial realization