Ruby on Rails Tutorial
Ruby on Rails is a framework that makes it easier to develop, deploy, and maintain web applications. Rails applications are implemented using the Model-View-Controller (MVC) architecture.
The Architecture of Rails Applications1. Models - is responsible for maintaining the state of the application. It is more than just data, it enforces all the business rules that apply to that data.
2. Views - is responsible for generating a user interface, normally based on data in the model.Although the view may present the user with various ways of inputting data, the view itself never handles incoming data. The view’s work is done once the data is displayed
3. Controllers - receive events from the outside world (normally user input), interact with the model, and display an appropriate view to the user.
