first attempt at rails app