-
Notifications
You must be signed in to change notification settings - Fork 463
Don't crash when no database connection is present #612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
arthurWD
wants to merge
53
commits into
influitive:development
Choose a base branch
from
arthurWD:development
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- N/a # Describe the changes made. What does this PR changes that might be critical. If any critical decisions have been made, make sure you explain the rationale for these decisions. - Updated JRuby minor version to fix some tests - Updated travis.yml to latest syntax - Fixed Rakefile to run in rails 6 - Updated gemspec to have URLs matching # How does the implementation addresses the problem After merging this all test suite for apartment gem is passing using rails 6.
…sage - Fixes CI runs: - One of the rails versions [had a bug](rails/rails#38137) and causes the CI to fail. I've moved it to the allowed failures. - I think we should deprecate these versions as they are EOL. => New ticket to be created - Fixes rubocop installation - I had not realized when I merged rubocop installation that I was breaking all CI (I'm sorry for the rushed decision). This fixes the dependencies and all CI should be passing. - Adds rubocop to github actions. All the rubocop failures will be fixed with influitive#8
[Resolves influitive#9] Cleanup rubocop todo
…-config-to-only-run-pr-s-in-12 [Resolves influitive#12] Update travis config to only run PRs instead of all commits - Updated travis.yml to run only for branches: `master` and `development`. - Due to the nature of PRs, nothing needs to be done to ensure tests run against an open PR
victorhazbun
reviewed
Apr 8, 2025
| end | ||
| rescue ::ActiveRecord::NoDatabaseError | ||
| # rubocop:disable Lint/SuppressedException | ||
| rescue ::ActiveRecord::NoDatabaseError, PG::ConnectionBad |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is supposed to be the fix, correct?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #607 and seems to be related to #589 and #608.