Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix init after reload on development
On 26fc746, init is not forced to be executed on `to_prepare`. This helps us avoid a connection at startup. However, things break down after a reload because things like `ExcludedModel.count` don't go through the `connection` method that we overrode, at least until after we queried the table name. Let's make sure that we initialize before using arel too.
- Loading branch information