[Ruby] refactoring/drying help

Laurel Fan laurel.fan at gmail.com
Thu Oct 11 16:31:41 PDT 2007


If this is a one time migration I wouldn't go crazy trying to refactor
it (unless your data set is big enough that doing it the slow hacky
way would take "too long").

I agree with the straight SQL though.  Which also gives you the
advantage of being able to do it in a transaction and rolling it back
if it does something you didn't expect.

-- 
Laurel Fan
http://blog.gorgorg.org


More information about the Ruby mailing list