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 id="edit_fund_18" class="fund" method="post"
enctype="multipart/form-data"
action="http://domain.com:3000/funds/18/edit";>.

Many thanks in advance.

RSL
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to