Change ObjectID to ObjectId
This commit is contained in:
parent
fbee957892
commit
12b28b4f48
1 changed files with 2 additions and 2 deletions
|
|
@ -1,9 +1,9 @@
|
|||
class String
|
||||
def to_id
|
||||
BSON::ObjectID self
|
||||
BSON::ObjectId self
|
||||
end
|
||||
end
|
||||
class BSON::ObjectID
|
||||
class BSON::ObjectId
|
||||
def to_id
|
||||
self
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue