Re:Shopify's path to Rails 3
by xal on Tuesday November 16, 2010 @07:09PM
(#1912318)
Man that's a nice idea. I wish we would have had it ourselves during the process.
[ Parent
| on HN ]
In case it helps anyone, this is the helper I used:
https://gist.github.com/703175
The tidy lib is installed by default on the Mac. It's very fast (written in C) so it only adds a few seconds to my tests. (I'm leaving it in after the conversion.)
Another tip: it helps to put a lot of <&bad"> tags in your fixtures, that will trigger a bunch of errors in the above test if you are not doing your escaping properly.