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| %>

  • <%= link_to g.name, {:action => 'show', :id => g.id } -%>
  • <% end %> ...

    And my output is:

  • Test
  • Bioshock
  • 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.