Closed kidlab closed 3 years ago
I couldn't see an issue, so your investigation will be interesting. You probably could override activerecord and work out where that variable is being set if it's changing.
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.
Brief backtrace:
I'm not sure why this error happens, but sometimes
connection.adapter_name
returnspostgresql
instead ofPostgreSQL
, and so it causesconnection.adapter_name.camelcase
to returnPostgresql
. I will inspect more to find the root cause.For now, we can monkey patch this problem by this:
Or dirtier ;)