search for: item_path

Displaying 3 results from an estimated 3 matches for "item_path".

Did you mean: items_path
2009 Mar 08
0
undefined variable or method in form_tag url
Hello list, In ref. to my previous post: http://www.ruby-forum.com/topic/180765 I am getting "undefined local variable or method `item_path'' for #<ActionView::Base:0xb7065650>", when I try to create a new item. Following is the code in my new.rhtml <h1>New <%= @is_subitem ? ''Subitem'' : ''Item'' %></h1> <% form_tag :item, :url => item_path do %> <%= r...
2008 Nov 14
1
GenericDirCtrl#re_create_tree behaviour
Hi When GenericDirCtrl#re_create_tree is called in order to refresh the tree with any possible changes made to the file system since it was loaded, it doesn''t re-expand all the tree items that were expanded prior to calling re_create_tree. I''m working on a solution to note all open tree items and after re_create_tree manually expand the items that are still present in the tree.
2006 Aug 05
5
RESTful Nesting issue
I?m having a strange issue with nested routes though, and was wondering if anyone could shed some light on this? If I have: map.resources :users do |users| users.resources :items end When I try to call <%= link_to_remote ''Delete'', :url => item_url(@item), :with => "''_method=delete''", :confirm => ''Are you sure?''