• Rémy Coutable's avatar
    Fix ApplicationSetting development seed · 22c1c980
    Rémy Coutable authored
    It could happen that there's a cached (in Redis) ApplicationSetting
    record, and calling
    `Gitlab::CurrentSettings.current_application_settings` only returns it
    instead of creating a new DB record, which makes the
    `ApplicationSetting.current_without_cache.update!` call fail.
    Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
    22c1c980
02_application_settings.rb 361 Bytes