# Link\_to problem with wrong quotation mark

**URL:** <https://www.ruby-forum.com/t/link-to-problem-with-wrong-quotation-mark/113199>\
**Category:** Rails\
**Created:** [August 28, 2007, 5:27pm UTC](https://www.ruby-forum.com/t/link-to-problem-with-wrong-quotation-mark/113199 "2007-08-28T17:27:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmundS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9f8e36/32.png) [@AmundS](https://www.ruby-forum.com/u/AmundS)\
**Post date:** [August 28, 2007, 5:27pm UTC](https://www.ruby-forum.com/t/link-to-problem-with-wrong-quotation-mark/113199/1 "2007-08-28T17:27:39Z")

</div>

Hi,

There is a problem with my link\_to and I can’t figure out what is  
wrong.

I have this in my view.rhtml file:  
…  
\<% @games.each do |g| %\>

- \<%= link\_to g.name, {:action =\> 'show', :id =\> g.id } -%\>
 \<% end %\> ...

And my output is:

- [Test](https://www.ruby-forum.com/game/show/4)
- [Bioshock](https://www.ruby-forum.com/game/show/3)

You can’t see it here, but the latest entry in the DB gets a wrong  
quotation mark just after show/4,  
now if I create a new entry in the DB the previous two would be ok,  
but the new one would have the same error.

By wrong qoutation mark, I mean different from the standard that it  
posts on the other links.

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![AmundS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9f8e36/32.png) [@AmundS](https://www.ruby-forum.com/u/AmundS)\
**Post date:** [August 28, 2007, 6:16pm UTC](https://www.ruby-forum.com/t/link-to-problem-with-wrong-quotation-mark/113199/2 "2007-08-28T18:16:47Z")

</div>

After 4 hours of debugging I found that there were a typo in another  
file, and that solved it.
