Todo app with rails (learning)