Skip to content

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

@jorditamargo

Description

@jorditamargo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions