📜  ruby on rails 脚手架生成器示例与属于关系 - Ruby 代码示例
📅  最后修改于: 2022-03-11 15:04:46.304000             🧑  作者: Mango
代码示例1
$ rails generate scaffold account name:string
$ rails g scaffold campaign name:string account:belongs_to