Prematurely loading frameworks in gems

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:

1 Like