Doing things the hard way to go around a problem in purge (ActiveRecord 4)