差分

Tep3-onk

159 バイト追加, 2022年9月5日 (月) 10:59
new
$ rails generate scaffold User name:string email:string password_digest:string remember_digest:string admin:boolean activation_digest:string activated:boolean activated_at:datetime reset_digest:string reset_sent_at:datetime
 
$ rails generate scaffold Post content:text user:references picture:string
 
$ rails generate scaffold Micropost content:text user:references picture:string
$ bin/dev