Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Semi-hotfix for Rails configuration bug
At the time Bundler loads NullDB, Rails.root will return nil. We need to defer calling Rails.root until after Rails loads; would be nice to not redefine Configuration#project_root, but that does work. Would not be an issue if people were required to put `require 'nulldb/rails'` in their projects, perhaps the solution is moving towards that. Closes nulldb#16
- Loading branch information