rails_helper.rb's only logic was to require spec_helper.rb.
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
When the database is in a read-only state, display a banner on each page informing the user they cannot write to that GitLab instance. Closes gitlab-org/gitlab-ce#43937.