Displaying 1 result from an estimated 1 matches for "sales_by_author".
2006 Nov 23
1
Select Tag not working in 1.2rc1
I''m getting the following error message under rc1:
ActionView::TemplateError (wrong number of arguments (1 for 0)) on line
#54 of app/views/admin/admin_index.rhtml:
In my view (* = Line 54):
<%=start_form_tag(:action=>"sales_by_author")%>
*<%=select("author","id",@authors.collect {|a| [a.name,a.id]})%>
<%=submit_tag("Go")%>
<%=end_form_tag()%>
Part of the trace:
C:/INSTAN~2/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5.5618/lib/action_view/helpers/form_options_helper.rb:3...