link_to problem with wrong quotation mark

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| %>   <li><%= link_to g.name, {:action => 'show', :id => g.id } -%></li>   <% end %> ...

And my output is:

  <li><a href="/game/show/4">Test</a></li>

  <li><a href="/game/show/3">Bioshock</a></li>

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.

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