Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-12 | [db] remove DatabaseMethod import from TemporaryUser | Azul | |
It was causing 404s on initializing the database with db:migrate. DatabaseMethods rewrite of #database does not call prepare_database and thus does not create the database when needed. DatabaseMethod is also quite a bit too much for a model that has two databases that can be memoized easily. There's no way to have a separate database instance per record. | |||
2016-08-12 | move temporary_user into lib - fix load issue | Azul | |
We already did the same for other concerns. The way we load models for couchrest migrations does not work well with concerns in the model directory as they will be loaded twice. |