Closed mices closed 4 years ago
Using the view helper where
@category=Category.new
I get an empty set from this code taken from your page
<%= f.select :parent_id, nested_set_options(Category, @category) {|i| "#{'-' * i.level} #{i.name}" } %>
How is the helper supposed to be constructed for a select list of all categories
Using the view helper where
I get an empty set from this code taken from your page
How is the helper supposed to be constructed for a select list of all categories