Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jorditamargo opened this issue Jul 20, 2012 · 0 comments

Comments

@jorditamargo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant