復習 link_toのメソッドと、ページャーの全件数
link_toのメソッド
<%= link_to('削除', { :action => 'destroy', :id => list.id }, :confirm => '削除しますか?', :method => :delete ) %>
:method => :post
ならpostになる
:post => true
は廃止されたっぽい?
will_paginatorでの検索した全件
<%=h @lists.total_entries %>