Update the Active Model deprecation warning
This message more clearly communicates how to access the attribute and message keys that you would expect to get when using the previous API. before you might iterate over errors like, errors.each do |attribute, message| # My error code here end This message helps the user find the methods on error that match the previous API.
Showing
想要评论请 注册 或 登录