lib/mongo_mapper/plugins/modifiers.rb in mongo_mapper-0.7.1 vs lib/mongo_mapper/plugins/modifiers.rb in mongo_mapper-0.7.2
- old
+ new
@@ -79,9 +79,13 @@
end
def push_uniq(hash)
self.class.push_uniq({:_id => id}, hash)
end
+
+ def pop(hash)
+ self.class.pop({:_id => id}, hash)
+ end
end
end
end
end
\ No newline at end of file