Closed GuskiS closed 7 years ago
I'm seeing this as well. Even doing a .connect query on the SecondBase::Base class runs on the first db and not the second. Rollback to Rails 5.0.2 works fine again.
I'll find some time to play with this soon. One thing I noticed today. First PR never made it into Rails core:
not sure, but maybe it fix it https://github.com/customink/secondbase/pull/48
Published v2.1.4 with Rails v5.1 fixes. Thanks!
Not sure why, but doesn't work with Rails 5.1.
I tries to use
PG
but it should be mysql.