followed tutorial until http://guides.rubyonrails.org/getting_started.html#saving-data-in-the-controller