views:

14

answers:

1

I have this:

<% form_tag :controller => :proposals, :method => :bulk_action do %>

but it errors in the create method... which is weird because I'm trying to tell stuff to delete.

+1  A: 

The :method parameter specifies the HTTP request method. You're probably looking for :action instead:

<% form_tag :controller => :proposals, :action => :bulk_action do %>

This will create a form that points to bulk_action in ProposalsController.

Pär Wieslander
lol... i had this before... the reason it wasn't working was because I had = instead of == when i checked for different commits
DerNalia