Resource routing isn't working

Hello,

ActionController::Routing::Routes.draw do |map|
map.resources :fs_store_entries
end

uri = make_uri
uri.path = “/fs_store_entries/#{id}”
response = Net::HTTP.post_form(uri, :_method => ‘delete’)

Does not get routed to FsStoreEntriesController#destroy. Why not?
Thanks for the help.

Hrm, it seems to be working now that I changed :_method to ‘_method’.

On Sep 21, 12:02 pm, “Christopher J. Bottaro” [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs