Skip to content
代码片段 群组 项目
提交 20db57dc 编辑于 作者: david hamp-gonsalves's avatar david hamp-gonsalves
浏览文件

Onboarding progress updates should not raise on failure

上级 95710d30
No related branches found
No related tags found
无相关合并请求
...@@ -76,7 +76,7 @@ def register(namespace, actions) ...@@ -76,7 +76,7 @@ def register(namespace, actions)
return if nil_actions.empty? return if nil_actions.empty?
updates = nil_actions.inject({}) { |sum, action| sum.merge!({ column_name(action) => now }) } updates = nil_actions.inject({}) { |sum, action| sum.merge!({ column_name(action) => now }) }
onboarding_progress.update!(updates) onboarding_progress.update(updates)
end end
def completed?(namespace, action) def completed?(namespace, action)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册