3,765
回編集
差分
→generate
$ rails generate scaffold Post content:text user:references picture:string
$ rails generate scaffold Memo Post user:references title:string content:text notification_time:datetime reminder_type:integer memo_typepost_type:integer picture:string
$ rails generate model Relationship follower_id:integer followed_id:integer