Ruby on Rails Developer Question: Download Ruby on Rails Developer PDF

Tell me how does Ruby on Rails use the Model View Controller (MVC) framework?

Tweet Share WhatsApp

Answer:

Web development can often be divided into three separate but closely integrated subsystems:

☛ Model (Active Record): The model handles all the data logic of the application. In Rails, this is handled by the Active Record library, which forms the bridge between the Ruby program code and the relational database.
☛ View (Action View): The view is the part of the application that the end user sees. In Rails, this is implemented by the Action View library, which is based on Embedded Ruby (ERB) and determines how data will be presented.
☛ Controller (Action Controller): The controller is like the data broker of an application, handling the logic that allows the model and view to communicate with one another. This is called the Action Controller in Rails.

Download Ruby on Rails Developer PDF Read All 30 Ruby on Rails Developer Questions
Previous QuestionNext Question
Tell us what Is The Log That Has To Seen To Check For An Error In Ruby Rails?Tell me the difference between ActiveSupport’s “HashWithIndifferentAccess” and Ruby’s “Hash”?