【文件属性】:
文件名称:403-dynamic-forms
文件大小:81KB
文件格式:ZIP
更新时间:2021-06-14 08:47:18
Ruby
RailsCasts 第 403 集:动态表单(专业版)
需要 Ruby 1.9.2 或更高版本。
本集中使用的命令
rails g scaffold ProductType name --skip-stylesheets
rails g model ProductField name field_type required:boolean product_type:belongs_to
rails g migration add_type_to_products product_type_id:integer properties:text
rake db:migrate