Ruby on Rails - rails tutorial - Ruby on Rails MVC - ruby on rails tutorial - rails guides - rails tutorial - ruby rails
What is Ruby on Rails MVC?
- The Model View Controller principle divides the work of an application into three separate but closely cooperative subsystems.
It basically works as following:
- Requests first come to the controller, controller finds an appropriate view and interacts with model which in turn interacts with database and send response to controller.
- Then controller gives the output to the view based on the response.