Closed IgorMiller closed 8 years ago
Mysql2 was present in Adapters.constants as a Module, and require was never called, resulting in Undefined method exception. Make sure the require is called if the const_get returns a Module and not a Class.
Fix to the issue: https://github.com/geokit/geokit-rails/issues/89
Do you think this is a good fix? Thanks.
@IgorMiller Sorry for not getting back to your PR, now merged
Mysql2 was present in Adapters.constants as a Module, and require was never called, resulting in Undefined method exception. Make sure the require is called if the const_get returns a Module and not a Class.
Fix to the issue: https://github.com/geokit/geokit-rails/issues/89
Do you think this is a good fix? Thanks.