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

fetch_address should return address, not coords.

parent fc41f4ae
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ module Geocoder::Orm::ActiveRecord
method = ((args.size > 0 && args.first) ? "update" : "write" ) + "_attribute"
o.send method, self.class.geocoder_options[:fetched_address], r.address
end
r.coordinates
r.address
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