Rails Scaffold Generator

Utilizing Rails Scaffold Generator

Rails Scaffold is (Kinda) Scary

via https://rubygems.org/gems/rails/versions/5.0.0
  • Models
  • Controllers
  • Resources
  • Scaffold

How to Use Rails Generators Properly

Being a self proclaimed shortcut aficionado, I dived right in…but things did not go as planned, it looked a little something like this:

The price of overconfidence T-T

Scaffold Generator

My thoughts on the scaffold generator are essentially this:

First, Second and third thoughts on ‘rails g scaffold’
via https://guides.rubyonrails.org/command_line.html#rails-generate


Learn from my mistakes, take it slow. Don’t abuse Rails generators (especially scaffold), find the one most appropriate for what you need to accomplish and if it’s not what you need don’t be afraid to:

Software Engineer👩🏾‍💻. Flatiron School Alum👩🏾‍🎓.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store