Ruby Developer Question:

Download Job Interview Questions and Answers PDF

Explain me what is the role of Rails Controller?

Ruby Developer Interview Question
Ruby Developer Interview Question

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 Interview Questions And Answers PDF

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?