Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

Activerecord adapter for sqlserver is loaded AFTER connection attempt is being made (?)

0
Databases

Hi!

I am deploying a rails 7 app (7.2.2) on ruby 3.3.5 with an AR adapter for sqlserver (activerecord-sqlserver-adapter). As of version 7.2 the adapters have to to register themselves with AR in order to work. It does that but after a connection attempt is being made, i.e. when starting the rails console. The packaged adapters (mysql…) are there in time, the sqlserver one is loaded to late.

It works in developemt mode and on the staging system, not in production.

What am I missing?

Disclaimer: i posted this question on discuss.rubyonrails.org

Join the discussion
Create an account Log in