I think this is wrong and misleading in the wiki. IMHO you should write a helper-function for that.
otherwise, since we can have multiple errors per attribute (=key) you just have to loop through the {error}. a double for-each, you know.
I think this is kludgy as you said. so move_to => helper
BTW you've seen
<%= error_messages_for 'Post' %>
? maybe you have an idea to improve/factor/patternize this method? (its in the active_record_helper.php)
1 to 2 of 2