summaryrefslogtreecommitdiff
path: root/scripts/utils.sh
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2018-06-14 11:20:11 +1100
committerblackst0ne <blackst0ne.ru@gmail.com>2018-06-14 11:20:11 +1100
commit53ea0f221ee37e8be7365fac98e936c0df2da85d (patch)
tree67ab82c335458cffcea791d956ff38ac71681e6d /scripts/utils.sh
parentadb069881ae0253c5bf3718aded02976f13fc859 (diff)
downloadgitlab-ce-53ea0f221ee37e8be7365fac98e936c0df2da85d.tar.gz
[Rails5] Fix snippets_finder arel queriesblackst0ne-rails5-fix-snippets-finder
There is a bug https://github.com/rails/arel/issues/531 in Rails 5.0 and 5.1 in Arel/ActiveRecord. This commit converts arel based queries to their raw counterparts to make the finder work in Rails 5.0. These changes should be reverted when on Rails 5.2 as since that version such queries work well again. See the bug link.
Diffstat (limited to 'scripts/utils.sh')
0 files changed, 0 insertions, 0 deletions