My God! it works! Thank you Fred, you're my new superhero.
Em quinta-feira, 19 de fevereiro de 2015 08:35:37 UTC-2, Frederick Cheung escreveu: > > > > On Thursday, February 19, 2015 at 10:25:43 AM UTC, Bruno Oliveira wrote: > > <td><%= link_to article.title, articles_path(article) %></td> >> >> > That should be article_path(article) (note the singular). articles_path > returns the path for the collection as a whole. It's not expecting an > article so ends up interpreting as the format it should link to, which is > why it links to articles.2 > > Fred > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/86b9ac32-5c03-4c46-8585-2a7ca12afa59%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.