Displaying 1 result from an estimated 1 matches for "edit_item_url".
2006 Aug 05
5
RESTful Nesting issue
...es :items
end
When I try to call
<%= link_to_remote ''Delete'', :url => item_url(@item), :with =>
"''_method=delete''", :confirm => ''Are you sure?'' %>
>From inside the user url
http://localhost:3001/users/1/items
Or edit_item_url(@item.id) it doesn?t always render the correct URL, and
sometimes I get a nil error trying to render the url.
Not sure what I?m missing here, but any help is greatly appreciated.
Thanks.
I''ve freezed Edge Rails btw.
--
Posted via http://www.ruby-forum.com/.