Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow models to load when the database is offline
It used to be necessary to stop ActiveRecord loading because it would immediately try and connect the database but with the introduction of switchable database connections it now only connects when a model is used for the first time. Fixes openstreetmap#3858
- Loading branch information