Making a todo list using active record