# Problem showing data - syntax error perhaps?

**URL:** <https://www.ruby-forum.com/t/problem-showing-data-syntax-error-perhaps/121751>\
**Category:** Rails\
**Created:** [November 30, 2007, 3:14pm UTC](https://www.ruby-forum.com/t/problem-showing-data-syntax-error-perhaps/121751 "2007-11-30T15:14:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [November 30, 2007, 3:14pm UTC](https://www.ruby-forum.com/t/problem-showing-data-syntax-error-perhaps/121751/1 "2007-11-30T15:14:44Z")

</div>

Hi,

I’m working through the ONLamp Rails tutorial (revisited one) here:

> **[Radar - O’Reilly](https://www.oreilly.com/radar/?page=2)**
>
> Now, next, and beyond: Tracking need-to-know trends at the intersection of business and technology

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?

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [November 30, 2007, 4:56pm UTC](https://www.ruby-forum.com/t/problem-showing-data-syntax-error-perhaps/121751/2 "2007-11-30T16:56:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [November 30, 2007, 7:56pm UTC](https://www.ruby-forum.com/t/problem-showing-data-syntax-error-perhaps/121751/3 "2007-11-30T19:56:42Z")

</div>

Nov 30, 9:56 am, Thorsten M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> ## maybe just \<%= … %\> instead of \<% … %\> ?
> 
> Posted viahttp://www.ruby-forum.com/.

That was it, thanks!
