Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: axelson
Does anyone have a copy of this gist? It is now deleted. I am running into the exact problem that Matthijs is talking about where a failed validation is changing the url.