mongoid_spacial icon indicating copy to clipboard operation
mongoid_spacial copied to clipboard

spacial_index :location don't throw exception or error if latitude or longitude are out of range

Open jorditamargo opened this issue 12 years ago • 0 comments

when trying to save location (an spacial_index field) with latitude or longitude parameters out of range, the mongoid save seems to work correct (no error, no exception), if you print object after save it seems that all is correct, including lat,lon and location, but when you get the object from database there wasn't changed fields, like if mongoid revert all these changes.

Thanks

jorditamargo avatar Jul 20 '12 10:07 jorditamargo