Problem showing data - syntax error perhaps?

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?

maybe just <%= … %> instead of <% … %> ?

Nov 30, 9:56 am, Thorsten M. [email protected]
wrote:

maybe just <%= … %> instead of <% … %> ?

Posted viahttp://www.ruby-forum.com/.

That was it, thanks!