Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent getting table info if not connected to db
Fixes lynndylanhurley#327 When precompiling assets while building a docker image, the database is not available and the DeviseTokenAuth::Concerns::User concern tries to load user table information from database and fails. It now checks if the database connection is available before gathering information about user table.
- Loading branch information