Closed ksss closed 2 years ago
has_secure_password macro will define method named by argument attribute (default :password). https://github.com/rails/rails/blob/c7a6ec51bf097eb3f307001c1142a8565e7a1450/activemodel/lib/active_model/secure_password.rb#L93
has_secure_password
:password
has_secure_password
macro will define method named by argument attribute (default:password
). https://github.com/rails/rails/blob/c7a6ec51bf097eb3f307001c1142a8565e7a1450/activemodel/lib/active_model/secure_password.rb#L93