This project is archived and is in readonly mode.
link_to_remote fails with :method => :put
-
James Wilding
Don't think this is a bug. I think the proper usage is:
link_to_remote("Update", :url => {:action => "update", :id => @query.id}, :method => :put)From the Rails API:
link_to_remote(name, options = {}, html_options = nil)The :method parameter goes in html_options - not with the :url params.
-
Pratik
- State changed from new to invalid