Is it possible that in _category.html.erb you are assigning a value to
category that is overwriting the passed in value with nil? Try
accessing displaying category.name in the first line of the partial.
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks