Permalink
Browse files

Fix issue #9

  • Loading branch information...
1 parent 1c3e1df commit ff3b20f23ecb25713628bd1ea6e22e155bd6a72a @ryanong committed Nov 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -65,7 +65,7 @@ hudson.source #=> {:lng => -73.935833, :lat => 44.106667}
hudson.mouth #=> [-74.026667, 40.703056] # notice how this returned as a lng,lat array because return_array was true
# notice how the order of lng and lat were switched. it will always come out like this when using spacial.
# Also adds a handy distance function
-hudson.distance_from(:source, [-74,40], :mi)
+hudson.distance_from(:source, [-74,40], {:unit=>:mi})
```
Mongoid Geo has extended all built in spacial symbol extentions

0 comments on commit ff3b20f

Please sign in to comment.