* fixing bug when referencing name instead of first/last for feed

This commit is contained in:
Seth Call 2015-10-16 14:56:54 -05:00
parent 7d5edc298d
commit 801504be2b
2 changed files with 5 additions and 1 deletions

View File

@ -21,6 +21,10 @@ module JamRuby
.first
end
def name
user.name
end
def music_session
@msh ||= JamRuby::MusicSession.find_by_music_session_id(self.music_session_id)
end

View File

@ -656,7 +656,7 @@ mixins.push(Reflux.listenTo(JamTrackPlayerStore, 'onJamTrackPlayerStoreChanged')
@fetchUserInfo()
)
.fail((jqXHR) =>
alert("unable to fetch JamTrack information")
alert("Unable to fetch JamTrack information. Try logging in.")
)
fetchUserInfo: () ->