search for: html_options_for_form

Displaying 2 results from an estimated 2 matches for "html_options_for_form".

2007 Jul 12
1
form_tag doesn't accept a string anymore in edge rails?
...user), :method => :post do %> vendor/rails/actionpack/lib/action_controller/url_rewriter.rb: 38:in `merge'' vendor/rails/actionpack/lib/action_controller/url_rewriter.rb: 38:in `url_for'' vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb: 371:in `html_options_for_form'' vendor/rails/activesupport/lib/active_support/core_ext/object/ misc.rb:23:in `returning'' vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb: 369:in `html_options_for_form'' vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb: 37:...
2008 Aug 19
5
RSpec raising routing errors where Rails doesn''t?
Hopefully someone here can help me figure out why the ERB: <% form_for(@fund, :url => {:host => PRIVATE_HOST}, :html => {:class => ''fund'', :multipart => true}) do |f| %> raises an error in my specs: No route matches {:action=>"index"} but works fine in my app and generates the following, desired HTML: <form