difference between member routes and collection routes ?



difference between member routes and collection routes ?..

Answer / Sanket Kumar

In Ruby on Rails, Member Routes are used for managing resources individually, while Collection Routes are used for managing all records of a resource collectively. Member Routes use the :id parameter in the URL to access a specific record, whereas Collection Routes do not have an id parameter.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby on Rails Interview Questions

Tell me what is rails migration?

1 Answers  


what is session and cookies

4 Answers  


What is the difference between symbol and string?

1 Answers  


What is the rail console?

1 Answers  


Do you know what is sweeper in rails?

1 Answers  


What do you mean by render and redirect_to?

1 Answers  


What is agile development? What are the strengths?

1 Answers  


what is the command to create a migration?

1 Answers  


What is object-relationship-model (orm)?

1 Answers  


what is Rails Migration?

1 Answers  


What is the difference between concern and application_controller.rb in ruby on rails?

1 Answers  


How does router work in rails?

1 Answers  


Categories