basic todo app in rails