How are Model views and controllers related?

Answer Posted / lubna

models ,views and controllers are related side by side.data
if sent to models is first worked upon its database
operations (CRUD) ,then the data is sent to view where its
templates are designed then finally data is sent to
controllers where data is processed and organised...

Is This Answer Correct ?    3 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how does ruby on rails use the model view controller (mvc) framework?

445


How are blocks created?

552


The string can be represented in single as well as double quotes. What is the difference between the two?

450


what is the purpose of RJs in Rails?

561


how you can list all routes for an application?

494






What is the difference between Render vs. Redirect_to in ruby on rails ?

500


How to find second max element from database ?

511


What is ruby on rails & why it is used for?

426


Name some rails ide or editor.

484


Mention the role of rails controller.

489


Explain what is the role of the subdirectories app/controllers and app/helpers in rails?

494


What is the difference between render and redirect?

497


How to use two databases into a single application?

506


What is the main difference between procs and blocks?

467


Explain about Dig, Float and Max?

524