Ask A Question

Notifications

You’re not receiving notifications from this thread.

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

Mark Hapke asked in 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

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 88,096+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.