Home>

When I pressed the product edit button on the flea market apps, I got an error like this. I'm still in trouble because I still don't understand the error statement


<header>
  <% = link_to image_tag ('furima-logo-color.png', size: '185x50'), "/"%>
</header>
  
     Enter product information 
  <% = form_with model: @item, local: true do | f |%>
  <% = render partial:'shared/error_messages', model: f.object%>
  • Answer # 1

    The meaning of English is the same. "Model is used undefined"

    The name from edit is wrong. Please put the view

    model: f.objectTolocals: {model: f.object}Please try
    Orpartial:Take.