Ruby on Rails Developer Question:

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

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 PDF Read All 30 Ruby on Rails Developer Questions
Previous QuestionNext Question
Do you know what is Rails Caching?Explain me what is Testing in Rails?