* clear tracks out and reassert the list
This commit is contained in:
parent
997d0e3563
commit
c229405069
|
|
@ -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"])
|
||||
|
|
|
|||
Loading…
Reference in New Issue