> ************************************************************** > <h1>Listing artists</h1> > > <table> > <tr> > </tr> > > <% @artists.each do |artist| %> > <tr> > <td><%= link_to 'Show', artist %></td> > <td><%= link_to 'Edit', edit_artist_path(artist) %></td> > <td><%= link_to 'Destroy', artist, :confirm => 'Are you sure?', > :method => :delete %></td> > </tr> > <% end %> > </table> > > <br /> > > <%= link_to 'New artist', new_artist_path %> > **************************************************************
Sorry, I pasted in the incorrect view. You get the idea. Just replace "artists" with albums. The scaffolding issue has to do with both albums and artists. Hope I didnt make it more confusing. Thanks! -- 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.

