views:

192

answers:

0

Hi there

I'm trying to run the following code:

<% form_for :user, :url => {:action => :welcome}  do |f| %>
<table>
  <tr>
   <td align="right"><%= f.label :name %></td>
   <td><%= f.text_field :name %></td>

But I'm getting "undefined method" when I try to run it using cucumber/webrat, while rendering the page. Running on the web browser is fine.