If use Ruby on Rails you're not hiding under a rock you've probably heard by now that 1.1 RC1 is available. It only took me about 2 minutes to move from Edge to RC1, so I'm all happy with it now. If you haven't seen the announcement, voila:
I've been blogging some of the new 1.1 features, and I'll keep doing that. I'll start now with a minor gotcha.
1.1 improves the basic scaffold code to protect against destructive GETs, a la Google Web Accelerator. If you generate a new scaffold controler, it will verify that destructive actions are coming via a POST request. The list.rhtml view adds a
:post => true option to the delete link to satisfy that requirement.
Here's the gotcha. If you mix an old scaffold view with the new controller, the delete link won't work anymore. Very minor issue, but it bit me. Also, using the old controller code means you aren't protected like with the new code, so you may want to mod your code to be consistent and safe. It only took me a couple minutes to batch mod my controllers and views using a multi-file find/replace in BBEdit (which still spanks TextMate for find/replace).