Learning ruby creating an sample app