There he just wanted to custom the attribute's name. I tried I18n, also read out the whole railsguide about I18n searching for help that I need, seems nothing.....
It seems when having has_secure_password in user.rb, 3 validates automatedly required.
- password can't be blank, raise "[attributes] can't be blank" message
- password_confirmation can't be blank, raise above
- password and password_confirmation doesn't match, raise "[attribute A] Doesn't Match [attribute B]"
Customize above three, how? I’ve tried to find through all project text for "can't be blank" or "doens't match" key words. Nothing work out.
All the possibilities online Been there done that,desperately need your help