geokit / geokit-rails

Official Geokit plugin for Rails/ActiveRecord. Provides location-based goodness for your Rails app. Requires the Geokit gem.
MIT License
1.57k stars 245 forks source link

connection.adapter_name for Postgresql #10

Closed mflorisson closed 3 years ago

mflorisson commented 14 years ago

There may be a bogg in Geokit::ActsAsMappable::SingletonMethods in adapter method:

klass = Adapters.const_get(connection.adapter_name.camelcase) should be (I think) klass = Adapters.const_get(connection.adapter_name)

Otherwise I receive an exception: uninitialized constant Geokit::Adapters::Postgresql

ryankopf commented 3 years ago

I am closing all issues that are more than 6 years old now, as the gem has had significant updates and is likely people with these old issues are no longer having the issues. If you are currently still experiencing this issue or need help feel free to submit a new issue, thank you.