3,765
回編集
差分
Tep3-onk
,→new
app/views/layouts/application.html.erb
<html data-theme="light"> // テーマを選ぶ
== generate ==
$ 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 Note content:string user:references kind:integer meeting_time:integer role:integer line:integer
% rails generate scaffold Client user:references note:references content:string list:integer line:integer memo:text
$ rails generate scaffold Post content:text user:references picture:string