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 Ruby on Rails?
Mention the log that has to be seen to report errors in Ruby Rails?
What are the functions performed by rails migration?
Choosing between belongs_to and has_one?
Do you know what is cross-site request forgery (csrf) and how rails is protected against it?
Explain model in rails?
What are rails validation used for?
What is the current version of ruby on rails?
How would you create a controller for the subject?
What is the difference between save and save?
What are the three methods to install ruby on rails?
How does router work in rails?
Tell me what is polymorphic association in ruby on rails?
What is rails scaffolding?
how you can list all routes for an application?