私はfriendly_idを使用してURLをよりユーザーフレンドリーにしますが、gemを実装しているので、私のdestroyアクションはアクションに移動しshowます。私は現在使用しています:
= link_to 'Delete', entry_path(e), :method => :delete, :confirm => 'Really really?'
そしてまた試した:
= link_to 'Delete', entry_path(e.id), :method => :delete, :confirm => 'Really really?'
show1つ目はのアクションにルーティングされentries_controller、2つ目はこのエラーのみを表示します。
Routing Error
No route matches {:action=>"edit", :controller=>"entries", :id=>nil}
他の誰かが使用している場合friendly_id、どのようにDestroyアクションを処理しましたか?