So I have a user model and a nested model "Entries" like that: 

user.rb

```
class User < ActiveRecord::Base

  has_many :entries
  ...

end

```

entry.rb

```
class Entry < ActiveRecord::Base

  belongs_to :user
  ...

end

```

user/show.html.erb

```
<p><%= link_to 'Destroy', remove_entry_path, method: :delete, data: { confirm: 'Are you sure?' } %></p>

```

routes.rb

```
resources :users do
    resources :entries
end
...
delete "remove_entry" => "entries#destroy", :as => "remove_entry"

```

entries\_controller.rb

```
def destroy

    @user = current_user
    @user.entries.find(params[:id]).destroy

    respond_to do |format|
      format.html { redirect_to user_path(current_user), notice: 'Entry was successfully destroyed.' }
      format.json { head :no_content }
    end

  end

```

And I get this error: 

Couldn't find Entry without an ID

on this line

```
@user.entries.find(params[:id]).destroy

```

What am I doing wrong?