what the difference between static scaffolding and Dynamic
scaffolding?
Answer Posted / vikrant chaudhari
Hi,
Static scaffolding is present in rails 1.0 version with the
comand
"ruby script/server geterate scaffold Product Admin".
Here, Product is model and Admin is controller.So it (Rails
1.0)automatically generates the table column defined in
products table
CONCLUSION:SCAFFOLDING IN RAILS 1.0 TAKES TWO PARAMETERS
1.MODEL
2.CONTROLLER
While in dynamic scaffolding u need to create model and
controller one by one
| Is This Answer Correct ? | 15 Yes | 7 No |
Post New Answer View All Answers
What is Dynamic finders ?
what is the command to create a migration?
What is the difference between save and save?
what is the function of garbage collection in Ruby on Rails?
Explain model in rails?
Where does the start_tabnav gets informations for tabs rendering in ruby rail?
What is the purpose of require_relative in ruby?
Is ruby on rails popular?
What is the difference between delete and destroy ?
Tell me what is the function of garbage collection in ruby on rails?
If you want to set up a one-to-one relationship between two models, you'll need to add belongs_to to one, and has_one to the other. How do you know which is which?
What role does garbage collection play?
What are the steps involved in writing and setting up an application in ruby on rails?
write a program to show the usage of sql in the database file?
What I have to do to view my project always on browser?