4. Signup I


#1

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

SOLVED


#2

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 %>

#3

Thank you very much!! :grinning:


#4

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)


#5

Hey @yesimarsaa,

Would you mind posting your code for the form?
Thanks


#6

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


#8

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


#9

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