In this video we'll build out our Friend List App Database C.R.U.D. using a Rails Generator Scaffold command!
Building out at CRUD site with Rails is insanely fast. We just issue these two commands:
rails g scaffold friends first_name:string last_name:string email:string phone:string twitter:string
rails db:migrate
That's it! Rails will create all the database stuff, create pages that allow us to show, edit, and delete friends from our database, create routes to those pages, and more.
✅ Watch The Ruby on Rails Playlist
https://bit.ly/3hvlr7P
▶️ Get The Code
https://bit.ly/3iLOq97
✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR
▶️ See More At:
https://Codemy.com
✅ Join My Facebook Group:
http://bit.ly/2GFmOBz
▶️ Learn to Code at https://Codemy.com
Take $22 off with coupon code: youtube
✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN