* clear tracks out and reassert the list

This commit is contained in:
Seth Call 2013-02-16 09:01:06 -06:00
parent 997d0e3563
commit c229405069
1 changed files with 2 additions and 0 deletions

View File

@ -325,6 +325,8 @@ SQL
def associate_tracks(connection, tracks)
@log.debug "Tracks:"
@log.debug tracks
connection.tracks.clear()
unless tracks.nil?
tracks.each do |track|
instrument = Instrument.find(track["instrument_id"])