Yay, I have finished, minus the appendix afterthoughts, but I don’t much like his tickybox and save idea, and I’m perfectly happy with the categories ordering by ID rather than title. At least it groups them together.
I worked out my own version of the tickybox thing, doing an onClick and routing to a toggle_completion definition, which swaps a 0 for 1 and vice-versa, then it re-loads the list. I made done items jump to the bottom. I’d love to do it with a neat AJAX control and no refresh – really gotta learn AJAX soon!!
There’s a little bug in views/items/_form.rhtml – on page 27 it sets @item.priority = 3 which is supposedly to set a default priority value. Unfortunately since the form is also used for updating, it’ll re-set the priority to 3 whenever you update a task. I overcame this using @item.priority = 3 if @item.priority.nil? – so if it’s already set it doesn’t modify it. I wrote to John McCreesh to tell him that, I wonder if he will write back! :)
All in all, very well worth doing. I’d love to see the tutorial updated to 1.0 standards and notation, but it’s still worth it for someone who wants to make a real effort to learn Ruby on Rails, and not just copy and paste dummy examples.
