Skip to content

Rescue ActiveRecord::ConnectionNotEstablished#52

Open
petercip wants to merge 1 commit into
diogob:masterfrom
petercip:catch-activerecord-connectionnotestablished
Open

Rescue ActiveRecord::ConnectionNotEstablished#52
petercip wants to merge 1 commit into
diogob:masterfrom
petercip:catch-activerecord-connectionnotestablished

Conversation

@petercip
Copy link
Copy Markdown

In container builds, there may not be a database present at all, raising ActiveRecord::ConnectionNotEstablished. This catches the error, allowing activities like asset precompilation in container builds without access to a database instance.

In container builds, there may not be a database present at all, raising `ActiveRecord::ConnectionNotEstablished`. This catches the error, allowing activities like asset precompilation in container builds without access to a database instance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant