Answer the question
In order to leave comments, you need to log in
What does scope: hash do?
help people newbie) what does scope: do in the form_with argument? here is an example from the documentation <%= form_with scope: :article, local: true do |form| %>
Answer the question
In order to leave comments, you need to log in
Run it in the terminal
. There you will see in the app/views/articles/_form.html.erb partial
how it should actually be
Local: true I think it will not be needed, because it eliminates remote:true. Kill it short.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question