3,765
回編集
差分
Tep8
,→company
関連付け
% bin/rails generate migration add_company_reference_to_users company:references
% bin/rails generate migration add_note_reference_to_name_list note:references
% rails generate controller Companies new create
== note ==
% rails generate scaffold Note name:string kind:integer line:integer
関連付け
% bin/rails generate migration add_company_reference_to_notes company:references
== 見出しタイトル ==