Skip to content

Rails5: env is deprecated and will be removed from Rails 5.1

Jasper Maes requested to merge jlemaes/gitlab-ce:rails5-env-deprecated into master

What does this MR do?

Replace deprecated env with request.env for Rails 5. See https://github.com/rails/rails/commit/05934d24aff62d66fc62621aa38dae6456e276be#diff-4150e8175b9a99c0e92bfdcaabf8455d and https://github.com/rails/rails/issues/23294#issuecomment-175914159

What are the relevant issue numbers?

Fix #54384 (closed)

Does this MR meet the acceptance criteria?

Edited by George Tsiolis

Merge request reports

Loading