Linoor is a premium Template for Digital Agencies, Start Ups, Small Business and a wide range of other agencies.

needhelp@linoor.com
888 999 0000

Creating Scaffolds

You are here:
Estimated reading time: < 1 min

create a scaffold with the following command

$ rails generate scaffold pins description:string

 

push migration to database after every scaffold creation

$ rake db:migrate

 

push migration to Heroku

$ heroku run rake db:migrate

 

THAT’S CRUD!
Before we move on, we need to discuss something that’s very fundamental to web development, and that’s CRUD. Create
Read
Update
Destroy

Was this article helpful?
Dislike 0
Views: 6