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):
*<%=select(“author”,“id”,@authors.collect {|a| [,]})%>

Part of the trace:
value' C:/INSTAN~2/ruby/lib/ruby/gems/1.8/gems/actionpack-’

Seems to be a problem with line 300:
value = value(object)
in form_options_helper.rb

This works fine under 1.1.6

I’ve tried upgrading to form_for with the same result.

Any ideas??

Guest wrote:

I’m getting the following error message under rc1:

Please ignore - I had extended ActionView, which caused the foul-up.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs