form_for

<% form_for :post, :url => { :action => :save_requirement } do

form>

          Requirement Title:<%= form.text_field :title, :value => params[:title]           <%= form.submit "Add requirement" %>

This is just a part of my form...when I hit submit, it works great with IE7, but Firefox 3.0 doesn't do anything. What solution is there to get it to work with both of them?

Thanks!

Justin To wrote:

          <% form_for :post, :url => { :action => :save_requirement } do >form>

Could you inspect the source that generates?

Rails is funny regarding symbols on the right side of a =>

Sometimes it treats them as a shortcut for a string; sometimes not...

Also, is your action a member of the current controller?

After you fix it, be sure to use routes.rb to name your route, and use that.

What do your functional tests say about your ability to :post to that action?

Hi --