Issue #211 has been reported by Tobi Reif.

----------------------------------------
Bug #211: "wrong argument type" "expected Proc"
http://redmine.ruby-lang.org/issues/show/211

Author: Tobi Reif
Status: Open
Priority: High
Assigned to: 
Category: 
Target version: 


I have

$ ruby -v
ruby 1.8.6 (2008-06-20 patchlevel 230) [i686-linux]

When I do this

$ ./script/server

and then browse to http://localhost:3000/ I get this:

ActionView::TemplateError (wrong argument type String (expected Proc)) on line #21 of list/index.html.erb:
18: <div>
19: <h3>Add list</h3>
20: <%= error_messages_for :list %>
21: <% form_for :list, @list, :url => {:action => "create"} do |f| %>
22:   <div>
23:     <%= label(:list, :name) %>
24:     <%= f.text_field :name, :size => 22 %>

    (eval):2:in `protect_against_forgery?'
    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/form_tag_helper.rb:404:in `extra_tags_for_form'
    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/form_tag_helper.rb:412:in `form_tag_html'
    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/form_tag_helper.rb:41:in `form_tag'
[...]


----------------------------------------
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://redmine.ruby-lang.org/my/account