Answer the question
In order to leave comments, you need to log in
How to set another parameter in routing?
Hello Toaster!
How to use another unique column instead of :id in resources? And so that it would automatically get up in the path, etc.
for example, do something like "/projects/:name". And this code link_to "Проект", @project
will give a link to/projects/#{project.name}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question