Dogfood time again 5
So, I just pushed the first step of what I’m thinking of as the Great Typo Controller Reorganization to the typo repository and updated things here. It’s always scary when I do that – local testing’s all very well, but running on a live site is a different matter.
I’ll be talking about the changes in a later post, there’s a couple of things in the recent change that I’m rather pleased with, as well as a Rails plugin that I hope will be widely useful, but which I need to document.

Just making sure that commenting works.
surely it’s not dogfood, but fine caviar? ;-)
Hello Piers, I just came upon a bug with your big changeset 1465 and since the ticket system at the trac isn’t working right now, I’m reporting it here. I count 6 instances where you use a method called article_path, although I don’t see it defined anywhere. Maybe you meant to use article_url? It’s causing the MANAGE tab in the admin to fail for me.
Also, it’s annoying that the comment live preview at this blog is above the form because the form keeps moving down the page as I type, as the preview above it fills up. The comment form should probably go above the live preview and it wouldn’t hurt to make the form a bit longer.
The first issue is fixed in r1468.
article_pathis a standard Rails named route. When you domap.article ...you getarticle_pathandarticle_urlhelper methods. I don’t create the named route directly though, it gets made by the resource declaration.The trouble with having the preview below the form is that you simply don’t see it. The form could definitely stand to be larger though. I shall see if there’s anything I can do in the way of javascript to keep the form’s textarea completely in view (and maybe make it autoexpand as it fills with text).
Dogfood is a Bonzo Dog Doodah Band-ish (but funnier) n-piece outfit from Birmingham. You’d like them, I think.
(I have an erratic feed reader that sometimes bounces up unread posts from history. All good!)