Hi,
I’m working through the ONLamp Rails tutorial (revisited one) here:
I’m using InstantRails which seems to be working fine. I’m to the
point on page two where you simplify the recipe listing and add the
category link. The category link will not work. Here is the line of
code that controls it:
<% link_to %Q{#{recipe.category.name}}, :action =>
‘list’, :category_id => recipe.category.id %>
I do not get any errors, but the category doesn’t show. I added the
links in rails to the recipe and category models. Have I made a syntax
error here?