Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

form_tag code broken

#2424

ArgumentError in Start#index

Showing app/views/start/index.html.erb where line #10 Immediate flash values not accessible in tests raised:

wrong number of arguments (1 for 2)

Extracted source (around line #10 Immediate flash values not accessible in tests):

8: <% form_tag :action =>"show_flows" do %> 9:

10: Name: <%=text_field :user %> 11:

actionmailer (2.3.2, 2.2.2) actionpack (2.3.2, 2.2.2) activerecord (2.3.2, 2.2.2) activeresource (2.3.2, 2.2.2) activesupport (2.3.2, 2.2.2) cgi_multipart_eof_fix (2.5.0) columnize (0.2) daemons (1.0.10) fastthread (1.0.1) gem_plugin (0.2.3) linecache (0.43) mongrel (1.1.5) mysql (2.7) rails (2.3.2, 2.2.2) rake (0.8.3) ruby-debug (0.10.3) ruby-debug-base (0.10.3) ruby-debug-ide (0.4.5, 0.4.2) rubygems-update (1.3.1) sqlite3-ruby (1.2.4)

Reported by Helder · April 5th, 2009 @ 07:42 PM

State: invalid
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Jeffrey Hardy
    Jeffrey Hardy

    The error is in your code. You should be using <%= text_field :user, :attribute %>.

    April 6th, 2009 @ 05:05 PM

  2. Frederick Cheung
    Frederick Cheung
    • State changed from new to invalid

    May 7th, 2009 @ 11:53 PM