You must use Moped, the Mongoid Driver (docs here: http://mongoid.org/en/moped/docs/driver.html).
something like this should do the trick:
my_query = {
'$addToSet' => { "hashtags" => {'$each' => ["#test1", "#test5"]}, "new_hash" => {'$each' => ["test9"]} },
'$set' => {"ts" => Time.now}
}
MyClass.collection.find('_id' => my_object.id).update(my_query)