Commit d79e1ee0 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Add exception when Rails is upgraded

Raises an exception so that we don't forget to remove this patch when
Rails is upgraded
parent 7761f170
# frozen_string_literal: true # frozen_string_literal: true
# This patch will be included in the next Rails release: https://github.com/rails/rails/pull/42368
raise 'This patch can be removed' if Rails::VERSION::MAJOR > 6
# rubocop:disable Gitlab/ModuleWithInstanceVariables # rubocop:disable Gitlab/ModuleWithInstanceVariables
module Gitlab module Gitlab
module Database module Database
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment