Rails

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 


Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts