Displaying 1 result from an estimated 1 matches for "playlistcr".
Did you mean:
playlist
2007 Feb 05
6
Viewing object associated via "has_many :through"?
...= playlist.track_one.title %></td>
</tr>
<% end %>
gets me this:
undefined method `tracks'' for #<Playlist:0xeb4a380>
I think the problem revolves around the "class_name" and "source"
options, as I have no problem displaying the name of the Playlistcreator
(who is also associated with Playlist through a "has many :through"
association, but without the class_name and source options) via the
playlists/show view.
Where am I going wrong? What do I need to do to fix this?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~...