Answer the question
In order to leave comments, you need to log in
What is scope and why does url lead to the path of the created object in form_with?
There is a piece of code from form_with:
<%= form_with scope: :article, url: articles_path, local: true do |form| %>
Какие-то формы...
<% end %>
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