访问被拒绝,你可能没有权限或未登录。

新手问题 如何自定义 has_secure_password 错误信息?

zbtong · May 04, 2014 · Last by zbtong replied at May 04, 2014 · 1354 hits

如题目所述,has_secure_password 的错误信息默认是英文,如何才能让其变为中文?比如将'password can't be blank'改为'密码不能为空'?

You need to Sign in before reply, if you don't have an account, please Sign up first.