VRFS-541 track config bug fixes found during testing

This commit is contained in:
Brian Smith 2013-08-18 20:36:36 -04:00
parent 39fa5bf098
commit 2428de8e86
2 changed files with 3 additions and 1 deletions

View File

@ -278,7 +278,7 @@ SQL
# if a blk is passed in, upon success, it will be called and you can issue notifications
# within the connection table lock
def join_music_session(user, client_id, music_session, as_musician, tracks, &blk)
def join_music_session(user, client_id, music_session, as_musician, tracks, &blk)
connection = nil
user_id = user.id
music_session_id = music_session.id

View File

@ -5,6 +5,8 @@ module JamRuby
self.primary_key = 'id'
default_scope order('created_at ASC')
SOUND = %w(mono stereo)
belongs_to :connection, :class_name => "JamRuby::Connection", :inverse_of => :tracks