replacing this <td><%= link_to 'Show', book %></td> <td><%= link_to 'Edit', edit_book_path(book) %></td> <td><%= link_to 'Destroy', book, :confirm => 'Are you sure?', :method => :delete %></td>
with this <td><a href="/books/<%= book.id %>">Show</a></td> <td><a href="/books/<%= book.id %>/edit">Editar</a></td> <td><a href="/books/<%= book.id %>" data-confirm="Are your sure?" data-method="delete" rel="nofollow">Deletar</a></td> raises the requests/sec from 4 to 70, wow just wow, those link_to helpers are really slow another option would be using a fragment cache, but that's not always possible -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

