How To Generate Views After Model And Controller Already Created In Rails

Posted by Weston Ganger on October 04, 2016

Most of the time I just create models from scratch or copy another controller but I may not want to do so for the views. Here is how to generate only the views.

rails g scaffold Post --migration=false --skip

Related External Links:

Posted in Rails and Tagged with rails generators 

Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts