# encoding: utf-8
require 'mongo'
db = Mongo::Connection.new("localhost", 27017).db(ARGV[0])
p db["tags"].remove(:_type => {:$ne => 'Tag'})