search for: _categorylist

Displaying 1 result from an estimated 1 matches for "_categorylist".

Did you mean: categorylist
2006 Apr 03
8
Layout problem
...; The content in the middle td displaying the posts is working fine. In the right td i want to display all the categories. I can get the template to render to the right column with just html but i cant display any of the categories when i add the ruby code to display them. The code for the _categorylist.rhtml is below. <b>right template</b> <% for category in @categories %> <%= category.name %> <% end %> I keep getting the following error below: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occu...