提交 91e77846 编写于 作者: R Roberto Miranda

Update Molde Generator Usage

Including has_secure_token generator
上级 0d019afc
......@@ -82,6 +82,11 @@ Available field types:
has_secure_password, you should specify `password:digest`:
`rails generate model user password:digest`
If you require a `token` string column for use with
has_secure_token, you should specify `token:token`:
`rails generate model user token:token`
Examples:
`rails generate model account`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册