Create Ruby on Rails views (only) after controllers and models are already created

后端 未结 6 1063
庸人自扰
庸人自扰 2020-12-23 02:21

I\'ve obtained a project that have controllers (minimal code only) and models, but the views are missing. Is there a way to generate the views only using scaffold or another

6条回答
  •  自闭症患者
    2020-12-23 02:54

    One small tip is to add "--no-test-framework" if using Rspec and don't want test files generated for each view in spec/views

提交回复
热议问题