adspace


What role do sub-directory app/helpers and app/controllers play?

Answer Posted / Amit Kumar

In Ruby on Rails, `app/helpers` contains classes used to share helper methods between views. These helpers encapsulate application-specific logic and make it easier to reuse code across multiple views. On the other hand, `app/controllers` stores controller classes that handle requests from users, manage data flow within the application, and determine how the response should be rendered.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the current version of ruby on rails?

948