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

Merge pull request #63 from digitalscientists/master

Prevent an exception when geocoding is initialized for
a child STI model when the parent is also geocoded.
parents 5ed37db2 d7bbddb3
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ module Geocoder
private # ----------------------------------------------------------------
def geocoder_init(options)
unless geocoder_initialized?
unless @geocoder_options
@geocoder_options = {}
require "geocoder/stores/#{geocoder_file_name}"
include eval("Geocoder::Store::" + geocoder_module_name)
......
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