What are the different components of Rails? - Ruby on Rails

What are the different components of Rails?



The components used in Rails are as follows:

-Action Controller: it is the component that manages all other controllers and process the incoming request to the Rails application.
- It extracts the parameters and dispatches the response when an action is performed on the application.
- It provides services like session management, template rendering and redirect management.

-Action View: it manages the views of the Rails application and it creates the output in both HTML and XML format.
- It also provides the management of the templates and gives the AJAX support that is being used with the application.

-Active Record: It provides the base platform for the models and gets used in the Rails application. It provides the database independence, CRUID functionality, search capability and setting the relationship between different models.

-Action Mailer: It is a framework that provides email services to build the platform on which flexible templates can be implemented.
Post your comment