Follow tutorial of Rails Girls Guide http://guides.railsgirls.com/app/