Move to_param undef closer to the deprecations.
Makes it clearer why we're doing this Add a comment to elaborate on what the undef means and move it closer to the deprecations so it's less likely for whoever pulls the deprecations that it should go too.
Showing
想要评论请 注册 或 登录