Support :if and :unless in has_secure_token
Pass through :if and :unless options from has_secure_token to the generated before_create callback
Showing
想要评论请 注册 或 登录
Pass through :if and :unless options from has_secure_token to the generated before_create callback