VRFS-2462 fixed session count on musician hover bubble

This commit is contained in:
Brian Smith 2014-11-07 13:05:07 -05:00
parent 7071177f3f
commit c6bfd59999
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ module JamRuby
end
def session_count
self.music_sessions.size
MusicSession.where("user_id = ? AND started_at IS NOT NULL", self.id).size
end
# count up any session you are RSVP'ed to