search for: playlists_tracks

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

2007 Feb 05
6
Viewing object associated via "has_many :through"?
This is my first question to the Forum. I’ve set up these associations: class Playlist < ActiveRecord::Base … has_many :playlists_tracks, :dependent => :destroy has_many :track_ones, :through => :playlists_tracks, :source => :track has_many :track_twos, :through => :playlists_tracks, :source => :track end class Track < ActiveRecord::Base … has_many :playlists_tracks, :dependent => :destroy has_many :p...