what is the role of Rails Controller?



what is the role of Rails Controller?..

Answer / Abhishek Pathak

Controllers in Ruby on Rails handle all incoming requests to your application and determine what action should be taken based on the request type, URL path, and HTTP method. They coordinate between models, views, and other components to deliver the desired response.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby on Rails Interview Questions

What is the purpose of require_relative in ruby?

1 Answers  


Explain coc in rails?

1 Answers  


Do you know what is sweeper in rails?

1 Answers  


What is rails script? Name some of them?

1 Answers  


Explain view in rails?

1 Answers  


What are the hashes?

1 Answers  


Explain me the log that has to be seen to report errors in ruby rails?

1 Answers  


The string can be represented in single as well as double quotes. What is the difference between the two?

1 Answers  


What is action cable?

1 Answers  


what are benefits of using active record as opposed to raw sql queries?

1 Answers  


who developed rails?

1 Answers  


What is active record in rails?

1 Answers  


Categories