Superbolt (India) interview question

Describe the MVC structure in ROR. WHat are the rest api?