Skip to content

Rails 5: Fix the check whether the database is in read-only mode

What does this MR do?

Rails 5 returns true or false instead of a string t or f, this MR changes the check to use Gitlab::Utils.to_boolean to cover all cases.

What are the relevant issue numbers?

Closes #8581 (closed)

Does this MR meet the acceptance criteria?

Edited by Douglas Barbosa Alexandre

Merge request reports