Explain the role of sub directory app/controllers and app/helpers.



Explain the role of sub directory app/controllers and app/helpers...

Answer / Shilpi Agarwal

The 'app/controllers' directory contains all the application's controllers, which handle user requests. The 'app/helpers' directory contains modules that contain helper methods, which can be included in views to make them more reusable and less repetitive.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby on Rails Interview Questions

What are gemsets in rails?

1 Answers  


Write a program to generate and run the application without the use of database

1 Answers  


what is the use of super function in ruby on rails?

1 Answers  


What are the functions performed by rails migration?

1 Answers  


what are the positive aspects of Rails?

1 Answers  


how you can run Rails application without creating databases?

1 Answers  


what are helpers and how to use helpers in ror?

1 Answers  


Explain me what is the naming convention in rails?

1 Answers  


what is different between activerecord::relation's count, length and size methods?

1 Answers  


what the difference between static scaffolding and Dynamic scaffolding?

3 Answers  


How you run your Rails Application without creating database ?

1 Answers  


How will be the future for ruby on rails?

1 Answers  


Categories