Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require ActiveRecord in DescendantLoader
By requiring ActiveRecord in the DescendantLoader, it allows the .setup method to be run by just requiring lib/extensions/descendant_loader.rb. Without it, a "uninitialized constant DescendantLoader::ActiveRecord" error is raised.
- Loading branch information