Hi @all, i'm having a no route matches error after a render :partial
<% unless @user.uploads.empty? %>
<% @user.uploads.each do |u| %>
<tr>
<td><%= link_to u.filename, u.filename %></td>
it gives me the right filename like http://localhost:3000/DSC00082.JPG. i haven't added anything to my routes. for being new to rails, please excuse my (hopefully) easy question.
to add a question: is it right for the corresponding database entry to be just the filename?
after changing above code to
<% unless @user.uploads.empty? %>
<% @user.uploads.each do |uploads| %>
<tr>
<td><%= link_to (uploads.filename, uploads) %></td>
and adding map.rescources :upload, a "No action responded to show" message was generated. in the adress bar, my browser shows the id of the regarding dataset.
Greetings, devyn