Answers

Question and Answer:

  Home  Ruby on Rails Developer

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

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.

 185 views

More Questions for you: