session#fetch doesn't behave exactly like Hash#fetch.
Mention it in the changelog and add a test checking for regressions. Hash#fetch isn't adding the defaultly returned value. However, in the session, saving it is the behavior we should expect. See discussion in #12692
Showing
想要评论请 注册 或 登录