1.

What is Rake?

Answer»

It is a Ruby Make or a utility that is used for ADMINISTRATIVE tasks such as migrating the database through scripts and loading schema into the database. In Rails, it substitutes the Unix utility ‘make’ and uses ‘Rakefile’ and ‘.rake files’ to build up task lists.

20. How is Dynamic Scaffolding different from Static Scaffolding?

Dynamic Scaffolding

  • Automatically creates content and UI at runtime.
  • Facilitates the generation of NEW, delete, and edit methods in the application.
  • Does not require the database to be synchronized.

Static Scaffolding

  • Requires manual entry to create data WITHIN fields.
  • Does not require a generation to take place.
  • Requires database to be migrated.


Discussion

No Comment Found