This project is archived and is in readonly mode.
"ActionView::TemplateError" "wrong argument type" "expected Proc"
Reported by Tobi Reif | June 30th, 2008 @ 11:28 AM | in 2.x
I updated Ruby 1.8.6 (the version recommended on http://www.rubyonrails.org/down ) to the patch level recommended on
http://www.ruby-lang.org/en/news...
$ ruby -v
ruby 1.8.6 (2008-06-20 patchlevel 230) [i686-linux]
Updating Rails to 2.1.0 brought this:
$ ./script/server -e test -p 2000
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails 2.1.0 application starting on http://0.0.0.0:2000
[...]
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.1.0/lib/action_view/helpers/form_tag_helper.rb:431:in `extra_tags_for_for
Comments and changes to this ticket
-
Tobi Reif June 30th, 2008 @ 11:42 AM
- no changes were found...
-
Tobi Reif June 30th, 2008 @ 02:58 PM
- Tag set to 2.1
It might be purely a Ruby bug, see http://rubyforge.org/tracker/?fu...
-
Tobi Reif July 2nd, 2008 @ 04:07 PM
It's a Ruby issue, and it seems to be resolved:
http://redmine.ruby-lang.org/iss...
(I'd delete this ticket if I could find a way to do that.)
-
josh July 13th, 2008 @ 08:29 PM
- State changed from new to invalid
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
Attachments
Tags
Referenced by
- 513 "Segmentation fault ruby 1.8.6" "i686-linux" "patchlevel 230" When I reported #512, I tried to reproduce the issue in ...