search for: verificationscontrollertest

Displaying 1 result from an estimated 1 matches for "verificationscontrollertest".

2007 Jul 12
1
form_tag doesn't accept a string anymore in edge rails?
...verifications_path(@user) returns a string like "/users/3/ verifications". That eventually gets sent to url_for, which expects a hash. And then it blows up. It''s especially disconcerting since the documentation shows form_tag as accepting a string. Joe 1) Error: test_new(VerificationsControllerTest): ActionView::TemplateError: can''t convert String into Hash On line #8 of app/views/verifications/new.rhtml 8: <% form_tag verifications_path(@user), :method => :post do %> vendor/rails/actionpack/lib/action_controller/url_rewriter.rb: 38:in `merge'' ven...