4. Signup I

I need help!!!
I didn’t understand how to use a form_for


Hi Diogo,

I’m not in the exercise right now, so I don’t know for sure what it should look like, but roughly like this:

<%= form_for(@signup) do |f| %>
  <%= text_field :first_name %>
  <!-- more -->
<% end %>
1 Like

Thank you very much!! :grinning:

1 Like

that this error is because I’m doing the same thing you put in theuser example is indicating to me but I get this error:
wrong number of arguments (1 for 2…3)

Hey @yesimarsaa,

Would you mind posting your code for the form?

You need to “pipe” the block argument to the block. That worked for me.

2 posts were split to a new topic: What is Wrong? It is Not Accepted!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.