Destroy action in a Rails 3.0 app with jquery mobile is producing a routing error
I'm using jquery mobile in a rails 3.0 app. I am getting a routing error when attempting to delete an item from a users list. The code and error message are as follows. 

index.mobile.erb:

    <% @items.each do |i| %>
       ...
       <div data-role="button">
          <%= link_to 'Delete', i, :confirm => 'Are you sure?', :method => :delete %>
       </div>
    <% end %>

routes file:

    resources :items, :except => [:show]

rake routes:

    DELETE /items/:id(.:format)            {:action=>"destroy", :controller=>"items"}

error message:

    Started GET "/items/2" for 127.0.0.1 at 2012-02-26 13:31:37 -0500
    ActionController::RoutingError (No route matches "/items/2"):

What am I missing?

Thanks!
Destroy action in a Rails 3.0 app with jquery mobile is producing a routing error
===

I'm using jquery mobile in a rails 3.0 app. I am getting a routing error when attempting to delete an item from a users list. The code and error message are as follows. 

index.mobile.erb:

    <% @items.each do |i| %>
       ...
       <div data-role="button">
          <%= link_to 'Delete', i, :confirm => 'Are you sure?', :method => :delete %>
       </div>
    <% end %>

routes file:

    resources :items, :except => [:show]

rake routes:

    DELETE /items/:id(.:format)            {:action=>"destroy", :controller=>"items"}

error message:

    Started GET "/items/2" for 127.0.0.1 at 2012-02-26 13:31:37 -0500
    ActionController::RoutingError (No route matches "/items/2"):

What am I missing?

Thanks!