Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap gem loading to prevent prematurely loading ActiveRecord::Base
Without this, loading the gem can trigger loading of ActiveRecord::Base prior to configuration occurs in Rails loading. This can result in certain ActiveRecord configurations to be ignored. Wrapping with `on_load` defers loading until it is appropriate.
- Loading branch information