The following line is the problem:
  %td= link_to article.name, '/mindapp/init?s=new_articles:new_show_comments&(:id=#{article.id})

 The :id is not pickup article.id in link_to