DHH is a smart man.
When I saw his keynote about crud/rest a while ago, I was sceptical. After all, writing controllers in Rails is not exactly a pain, anyway. Why change the current m.o. to use methods like put and delete, when they’re not even supported by browsers?
But restful development didn’t go away and I read more and more about it in the Rails community.
So after upgrading to 1.2.1 I decided to give it a go. And what do you know. It’s actually easier than regular development in Rails! I am telling you one day web applications will simply write themselves. Of course, this kind of sweetness would not be possible without convention over configuration, but still the Rails folks are definitely onto something.
I literally added one line to config/routes.rb and three–count ‘em–three–methods to the new controller. That’s all it took! I am amazed.
I’m still not refactoring my old controllers though. Well, not yet.