search for: playlist_id

Displaying 2 results from an estimated 2 matches for "playlist_id".

2011 Jul 24
1
Histogram of a dataframe subset failing
Like most help forum users, I'm very new to R. I've been having this problem: I started with a dataframe called fullData. With the subset command, I split it into two separate dataframes, soloData and teamData. The hist() function works when I use... hist( subset(fullData, fullData$playlist_id==4 )$deaths) ...the exact call to subset() that I used to create each dataframe. However, when I input, hist(soloData$deaths) I get the error, " invalid number of 'breaks' ". I tried manually setting the breaks to 20: hist(soloData$deaths, breaks=20) The error I got was comp...
2007 Feb 05
6
Viewing object associated via "has_many :through"?
...to :playlist belongs_to :track_one, :class_name => :track, :foreign_key => ''track_one_id'' belongs_to :track_two, :class_name => :track, :foreign_key => ''track_two_id'' end With them I’m able to save to the playlists_tracks table the following: id, playlist_id, track_one_id, track_two_id. That all seems to work fine. But no matter what I put in my playlists/show view file, I get an error message when I attempt to view the tracks associated with a playlist. For example: <% for track in @playlist.tracks %> <tr> <td><%= playlist.trac...