Hi,
I'm trying to implement a new inflection like field.gte, field.lte.
I couldn't find in the code how that is implemented.
What I want to do is this:
where(:location.near(:sphere) => { point: [ 41.23, 2.9 ], max: 20 })
to become:
:location => { "$nearSphere"=>[41.23, 2.9], "$maxDistance"=>20.0 }
Can anybody help me here?
Thanks