search for: artisthelpers

Displaying 1 result from an estimated 1 matches for "artisthelpers".

2006 Jan 21
9
Where to put method
...#39;, :action => ''show'', :id => album.id "<li>#{link}</li>"} list.to_s end and this piece of code resides in ArtistHelpers.rb def album_list(artist) albums = artist.albums.sort list = albums.collect { |album| link = link_to album.title, :controller => ''albums'', :action => ''s...