Altering collection

5 views
Skip to first unread message

Radovan

unread,
Aug 3, 2011, 8:12:52 AM8/3/11
to mongoid-geo
Hi,

is there option to turn off altering all entries in collection with
helper params (fromHash, fromPoint, distance) after using geo_near
method?
Or is it really necessary for geo_near to calculate results from that?

thanks

Kristian Mandrup

unread,
Aug 3, 2011, 8:52:25 AM8/3/11
to mongoid-geo
Yeah, I guess it would make sense to have this as an option. Not
required in every use case for sure!
In any case, this gem needs a loving hand to get it up to speed and
working.
I suggest that you look at 'mongoid_spatial' (@ryanong) and either use
that gem instead, or port some of the nice solutions from there into
this gem ;)

Cheers!

Kris
Reply all
Reply to author
Forward
0 new messages