Skip to content

Commit

Permalink
Fixes mongoid#46
Browse files Browse the repository at this point in the history
  • Loading branch information
cschell authored Jul 11, 2017
1 parent 4093de0 commit bf70442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongoid/geospatial/geometry_field.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class << self
#
# @return [Object]
def demongoize(obj)
obj && new(obj)
obj && Array(obj)
end
end
end
Expand Down

0 comments on commit bf70442

Please sign in to comment.