Displaying 1 result from an estimated 1 matches for "subcategory_nam".
Did you mean:
subcategory_name
2008 Dec 25
5
One question about Dynamic Select Menus
...The error occurred while evaluating nil.each
Extracted source (around line #3):
1: // javascripts/dynamic_categories.js.erb
2: var subcategories = new Array();
3: <% for subcategory in @subcategories -%>
4: categories.push(new Array(<%= category.id %>, ''<%=h
subcategory.subcategory_name %>'', <%= subcategory.id %>));
5: <% end -%>
Anyone got an idea, how does it happen?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this grou...