Ruby on Rails Developer Question:
Download Questions PDF

Do you know the role of the subdirectories app/controllers and app/helpers in Rails?

Ruby on Rails Developer Interview Question
Ruby on Rails Developer Interview Question

Answer:

The app/controllers subdirectory holds all the controller classes for the app. Controllers handle web requests from the user. The app/helpers subdirectory holds helper classes, which are used to assist the model, view, and controller classes. By keeping helper classes in a separate subdirectory, the model, view, and controller classes can remain lean and uncluttered.

Download Ruby on Rails Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know what is Rails Caching?Explain me what is Testing in Rails?