Ruby Developer Question:

Explain me what is the role of Rails Controller?

Tweet Share WhatsApp

Answer:

The Rails controller is the logical center of the application. It faciliates the interaction between the users, views, and the model. It also performs other activities like

☛ It is capable of routing external requests to internal actions. It handles URL extremely well
☛ It regulates helper modules, which extend the capabilities of the view templates without bulking of their code
☛ It regulates sessions; that gives users the impression of an ongoing interaction with our applications

Download Ruby Developer PDF Read All 74 Ruby Developer Questions
Previous QuestionNext Question
Tell me what is Polymorphic Association in Ruby on Rails?Can you please explain what is the difference between String and Symbol?