Todo app in rails