Ruby on Rails Question:

What is the functionality of Model views and controllers?

Ruby on Rails Interview Question
Ruby on Rails Interview Question

Answer:

Model: Model is responsible for maintaining the database.

views: View is responsible for generating user interface.

controllers: Getting input request from browser and generate
outgoing response.


Previous QuestionNext Question
How are Model views and controllers related?What is the difference between sessions and flash?