Skip to content
Snippets Groups Projects
Commit ae1e1295 authored by Alex Reisner's avatar Alex Reisner
Browse files

Merge branch 'fix_mongoid_nearbys'

parents 3723b7fa d657ee16
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,16 @@ module Geocoder::Store
def self.included(base)
MongoBase.included_by_model(base)
base.class_eval do
##
# Name of the attribute to use when determining whether two
# records are the same record.
#
def self.primary_key
"_id"
end
end
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment