Calling ActiveRecord::Base in a gem outside an on_load
initializer can cause all sorts of weird errors. There is a pull request to improve this:
https://github.com/rails/rails/pull/38024
1 Like
Calling ActiveRecord::Base in a gem outside an on_load
initializer can cause all sorts of weird errors. There is a pull request to improve this:
https://github.com/rails/rails/pull/38024