Added write_seed method to dump ActiveRecord collections.